Home
last modified time | relevance | path

Searched refs:IntPtr (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp536 uintptr_t IntPtr = 0; in getHintName() local
537 if (Error E = getRvaPtr(Rva, IntPtr)) in getHintName()
539 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
591 uintptr_t IntPtr = 0; in initImportTablePtr() local
592 if (Error E = getRvaPtr(ImportTableRva, IntPtr, "import table")) in initImportTablePtr()
594 if (Error E = checkOffset(Data, IntPtr, DataEntry->Size)) in initImportTablePtr()
597 const coff_import_directory_table_entry *>(IntPtr); in initImportTablePtr()
614 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
615 if (Error E = getRvaPtr(RVA, IntPtr, "delay import table")) in initDelayImportTablePtr()
617 if (Error E = checkOffset(Data, IntPtr, DataEntry->Size)) in initDelayImportTablePtr()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_address.h85 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
86 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
87 return Wrap(reinterpret_cast<T>(IntPtr));
94 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
95 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
96 return Wrap(reinterpret_cast<T *>(IntPtr));
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorAddress.h90 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
91 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
92 return Wrap(reinterpret_cast<T>(IntPtr));
100 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
101 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
102 return Wrap(reinterpret_cast<T *>(IntPtr));
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp26 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue &IntPtr);
80 SDValue &IntPtr) { in SelectGlobalValueConstantOffset() argument
82 IntPtr = in SelectGlobalValueConstantOffset()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp348 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
349 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
359 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
360 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
371 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
372 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h52 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in jitTargetAddressToPointer() local
53 assert(IntPtr == Addr && "JITTargetAddress value out of range for uintptr_t"); in jitTargetAddressToPointer()
54 return reinterpret_cast<T>(IntPtr); in jitTargetAddressToPointer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp404 uintptr_t IntPtr = 0; in printSEHTable() local
405 if (Error E = Obj->getVaPtr(TableVA, IntPtr)) in printSEHTable()
408 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp976 Type *IntPtr, const SCEV *StoreSizeSCEV, in getStartForNegStride() argument
978 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
982 SE->getTruncateOrZeroExtend(StoreSizeSCEV, IntPtr), in getStartForNegStride()
993 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
997 SE->getTripCountFromExitCount(BECount, IntPtr, CurLoop); in getNumBytes()
999 SE->getTruncateOrZeroExtend(StoreSizeSCEV, IntPtr), in getNumBytes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp5764 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP() local
5765 auto *ComputedGEP = Builder.CreateAdd(IntPtr, EvaluatedGEP.TotalOffset); in EmitCheckedInBoundsGEP()
5803 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5806 llvm::Value *NegValid = Builder.CreateICmpULT(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5814 ValidGEP = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5820 ValidGEP = Builder.CreateICmpULE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5830 llvm::Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in EmitCheckedInBoundsGEP()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp68 SDValue IntPtr; member
1594 SDValue IntPtr; in getSignAsIntValue() local
1598 IntPtr = StackPtr; in getSignAsIntValue()
1603 IntPtr = in getSignAsIntValue()
1609 State.IntPtr = IntPtr; in getSignAsIntValue()
1610 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1625 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
H A DSelectionDAGBuilder.cpp4443 EVT IntPtr = TLI.getPointerTy(DL, I.getAddressSpace()); in visitAlloca() local
4444 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
4445 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
4448 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4449 DAG.getVScale(dl, IntPtr, in visitAlloca()
4450 APInt(IntPtr.getScalarSizeInBits(), in visitAlloca()
4455 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4456 DAG.getZExtOrTrunc(TySizeValue, dl, IntPtr)); in visitAlloca()
4473 DAG.getConstant(StackAlignMask, dl, IntPtr), Flags); in visitAlloca()
4477 DAG.getConstant(~StackAlignMask, dl, IntPtr)); in visitAlloca()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td374 def IntPtr : Type<"intptr_t", QualType<"Context.getIntPtrType()">>;