Home
last modified time | relevance | path

Searched refs:IntPtr (Results 1 – 14 of 14) 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.h121 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
122 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
123 return Wrap(reinterpret_cast<T>(IntPtr));
131 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); variable
132 assert(IntPtr == Addr && "ExecutorAddr value out of range for uintptr_t");
133 return Wrap(reinterpret_cast<T *>(IntPtr));
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelDAGToDAG.cpp27 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue &IntPtr);
81 SDValue &IntPtr) { in SelectGlobalValueConstantOffset() argument
83 IntPtr = in SelectGlobalValueConstantOffset()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp350 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
351 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
361 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
362 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
373 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
374 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h53 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in jitTargetAddressToPointer() local
54 assert(IntPtr == Addr && "JITTargetAddress value out of range for uintptr_t"); in jitTargetAddressToPointer()
55 return reinterpret_cast<T>(IntPtr); in jitTargetAddressToPointer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp422 uintptr_t IntPtr = 0; in printSEHTable() local
423 if (Error E = Obj->getVaPtr(TableVA, IntPtr)) in printSEHTable()
426 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DIntrinsicEmitter.cpp666 for (const auto [IntPtr, UniqueID] : UniqAttributes) { in EmitAttributes()
668 const CodeGenIntrinsic &Int = *IntPtr; in EmitAttributes()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DPointer.h99 Pointer(IntPointer &&IntPtr) : StorageKind(Storage::Int) { in Pointer() argument
100 PointeeStorage.Int = std::move(IntPtr); in Pointer()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp991 Type *IntPtr, const SCEV *StoreSizeSCEV, in getStartForNegStride() argument
993 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
997 SE->getTruncateOrZeroExtend(StoreSizeSCEV, IntPtr), in getStartForNegStride()
1008 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
1012 SE->getTripCountFromExitCount(BECount, IntPtr, CurLoop); in getNumBytes()
1014 SE->getTruncateOrZeroExtend(StoreSizeSCEV, IntPtr), in getNumBytes()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4245 Value *IntPtr = llvm::Constant::getNullValue(IntPtrTy); in emitPointerArithmetic() local
4247 Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in emitPointerArithmetic()
6104 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP() local
6105 auto *ComputedGEP = Builder.CreateAdd(IntPtr, EvaluatedGEP.TotalOffset); in EmitCheckedInBoundsGEP()
6138 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
6141 llvm::Value *NegValid = Builder.CreateICmpULT(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
6149 ValidGEP = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
6155 ValidGEP = Builder.CreateICmpULE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
6165 llvm::Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in EmitCheckedInBoundsGEP()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp68 SDValue IntPtr; member
1660 SDValue IntPtr; in getSignAsIntValue() local
1664 IntPtr = StackPtr; in getSignAsIntValue()
1669 IntPtr = in getSignAsIntValue()
1675 State.IntPtr = IntPtr; in getSignAsIntValue()
1676 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1691 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
H A DSelectionDAGBuilder.cpp4528 EVT IntPtr = TLI.getPointerTy(DL, I.getAddressSpace()); in visitAlloca() local
4529 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
4530 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
4533 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4534 DAG.getVScale(dl, IntPtr, in visitAlloca()
4535 APInt(IntPtr.getScalarSizeInBits(), in visitAlloca()
4540 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, AllocSize, in visitAlloca()
4541 DAG.getZExtOrTrunc(TySizeValue, dl, IntPtr)); in visitAlloca()
4556 DAG.getConstant(StackAlignMask, dl, IntPtr), in visitAlloca()
4561 DAG.getSignedConstant(~StackAlignMask, dl, IntPtr)); in visitAlloca()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DOpenCLBuiltins.td378 def IntPtr : Type<"intptr_t", QualType<"Context.getIntPtrType()">>;