Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DCOFFObjectFile.cpp537 uintptr_t IntPtr = 0; in getHintName() local
538 if (Error E = getRvaPtr(Rva, IntPtr)) in getHintName()
540 const uint8_t *Ptr = reinterpret_cast<const uint8_t *>(IntPtr); in getHintName()
592 uintptr_t IntPtr = 0; in initImportTablePtr() local
593 if (Error E = getRvaPtr(ImportTableRva, IntPtr, "import table")) in initImportTablePtr()
595 if (Error E = checkOffset(Data, IntPtr, DataEntry->Size)) in initImportTablePtr()
598 const coff_import_directory_table_entry *>(IntPtr); in initImportTablePtr()
615 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
616 if (Error E = getRvaPtr(RVA, IntPtr, "delay import table")) in initDelayImportTablePtr()
618 if (Error E = checkOffset(Data, IntPtr, DataEntry->Size)) in initDelayImportTablePtr()
[all …]
/openbsd-src/gnu/llvm/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));
/openbsd-src/gnu/llvm/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));
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp26 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue &IntPtr);
69 SDValue &IntPtr) { in SelectGlobalValueConstantOffset() argument
71 IntPtr = in SelectGlobalValueConstantOffset()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp1042 Type *IntPtr, const SCEV *StoreSizeSCEV, in getStartForNegStride() argument
1044 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
1048 SE->getTruncateOrZeroExtend(StoreSizeSCEV, IntPtr), in getStartForNegStride()
1056 static const SCEV *getTripCount(const SCEV *BECount, Type *IntPtr, in getTripCount() argument
1067 DL->getTypeSizeInBits(IntPtr) && in getTripCount()
1073 IntPtr); in getTripCount()
1075 TripCountS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getTripCount()
1076 SE->getOne(IntPtr), SCEV::FlagNUW); in getTripCount()
1086 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
1089 const SCEV *TripCountSCEV = getTripCount(BECount, IntPtr, CurLoop, DL, SE); in getNumBytes()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp397 uintptr_t IntPtr = 0; in printSEHTable() local
398 if (Error E = Obj->getVaPtr(TableVA, IntPtr)) in printSEHTable()
401 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp5307 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP() local
5308 auto *ComputedGEP = Builder.CreateAdd(IntPtr, EvaluatedGEP.TotalOffset); in EmitCheckedInBoundsGEP()
5346 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5349 llvm::Value *NegValid = Builder.CreateICmpULT(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5357 ValidGEP = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5363 ValidGEP = Builder.CreateICmpULE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
5373 llvm::Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in EmitCheckedInBoundsGEP()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp66 SDValue IntPtr; member
1560 SDValue IntPtr; in getSignAsIntValue() local
1564 IntPtr = StackPtr; in getSignAsIntValue()
1569 IntPtr = in getSignAsIntValue()
1575 State.IntPtr = IntPtr; in getSignAsIntValue()
1576 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1591 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
H A DSelectionDAGBuilder.cpp4056 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout(), I.getAddressSpace()); in visitAlloca() local
4057 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
4058 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
4061 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4062 DAG.getVScale(dl, IntPtr, in visitAlloca()
4063 APInt(IntPtr.getScalarSizeInBits(), in visitAlloca()
4067 DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4068 DAG.getConstant(TySize.getFixedValue(), dl, IntPtr)); in visitAlloca()
4084 DAG.getConstant(StackAlignMask, dl, IntPtr), Flags); in visitAlloca()
4088 DAG.getConstant(~StackAlignMask, dl, IntPtr)); in visitAlloca()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DOpenCLBuiltins.td374 def IntPtr : Type<"intptr_t", QualType<"Context.getIntPtrType()">>;