Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp511 uintptr_t IntPtr = 0; in getHintName() local
565 uintptr_t IntPtr = 0; in initImportTablePtr() local
588 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
609 uintptr_t IntPtr = 0; in initExportTablePtr() local
625 uintptr_t IntPtr = 0; in initBaseRelocPtr() local
629 IntPtr); in initBaseRelocPtr()
651 uintptr_t IntPtr = 0; in initDebugDirectoryPtr() local
682 uintptr_t IntPtr = 0; in initTLSDirectoryPtr() local
703 uintptr_t IntPtr = 0; in initLoadConfigPtr() local
1358 uintptr_t IntPtr = 0; in importedSymbolBegin() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp240 uintptr_t IntPtr = 0; in printSEHTable() local
241 if (Error E = Obj->getVaPtr(TableVA, IntPtr)) in printSEHTable()
244 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
287 uintptr_t IntPtr = 0; in printTLSDirectory() local
289 Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)) in printTLSDirectory()
293 auto *TLSDir = reinterpret_cast<const coff_tls_directory32 *>(IntPtr); in printTLSDirectory()
296 auto *TLSDir = reinterpret_cast<const coff_tls_directory64 *>(IntPtr); in printTLSDirectory()
316 uintptr_t IntPtr = 0; in printLoadConfiguration() local
321 Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)) in printLoadConfiguration()
324 auto *LoadConf = reinterpret_cast<const coff_load_configuration32 *>(IntPtr); in printLoadConfiguration()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dexecutor_address.h56 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in toPtr() local
57 assert(IntPtr == Addr && in toPtr()
59 return reinterpret_cast<T>(IntPtr); in toPtr()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DExecutorAddress.h53 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in toPtr() local
54 assert(IntPtr == Addr && in toPtr()
56 return reinterpret_cast<T>(IntPtr); in toPtr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp337 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
338 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
348 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
349 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
360 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
361 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp34 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
47 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp984 Type *IntPtr, unsigned StoreSize, in getStartForNegStride() argument
986 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
988 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
997 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
1008 DL->getTypeSizeInBits(IntPtr).getFixedSize() && in getNumBytes()
1014 IntPtr); in getNumBytes()
1016 NumBytesS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getNumBytes()
1017 SE->getOne(IntPtr), SCEV::FlagNUW); in getNumBytes()
1022 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in getNumBytes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp78 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
92 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp66 SDValue IntPtr; member
1519 SDValue IntPtr; in getSignAsIntValue() local
1523 IntPtr = StackPtr; in getSignAsIntValue()
1528 IntPtr = in getSignAsIntValue()
1534 State.IntPtr = IntPtr; in getSignAsIntValue()
1535 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1550 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
H A DSelectionDAGBuilder.cpp3996 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout(), DL.getAllocaAddrSpace()); in visitAlloca() local
3997 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
3998 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
4000 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, in visitAlloca()
4002 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca()
4018 DAG.getConstant(StackAlignMask, dl, IntPtr), Flags); in visitAlloca()
4022 DAG.getConstant(~StackAlignMask, dl, IntPtr)); in visitAlloca()
4026 DAG.getConstant(Alignment ? Alignment->value() : 0, dl, IntPtr)}; in visitAlloca()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp5062 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP() local
5063 auto *ComputedGEP = Builder.CreateAdd(IntPtr, EvaluatedGEP.TotalOffset); in EmitCheckedInBoundsGEP()
5101 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5104 llvm::Value *NegValid = Builder.CreateICmpULT(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5112 ValidGEP = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5118 ValidGEP = Builder.CreateICmpULE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5128 llvm::Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in EmitCheckedInBoundsGEP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp293 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue& IntPtr);
3131 SDValue& IntPtr) { in SelectGlobalValueConstantOffset() argument
3133 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td311 def IntPtr : Type<"intptr_t", QualType<"Context.getIntPtrType()">>;