Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Object/
H A DCOFFObjectFile.cpp498 uintptr_t IntPtr = 0; in getHintName() local
554 uintptr_t IntPtr = 0; in initImportTablePtr() local
576 uintptr_t IntPtr = 0; in initDelayImportTablePtr() local
597 uintptr_t IntPtr = 0; in initExportTablePtr() local
612 uintptr_t IntPtr = 0; in initBaseRelocPtr() local
616 IntPtr); in initBaseRelocPtr()
638 uintptr_t IntPtr = 0; in initDebugDirectoryPtr() local
658 uintptr_t IntPtr = 0; in initLoadConfigPtr() local
1346 uintptr_t IntPtr = 0; in importedSymbolBegin() local
1353 uintptr_t IntPtr = 0; in importedSymbolEnd() local
[all …]
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp243 uintptr_t IntPtr = 0; in printSEHTable() local
244 error(Obj->getVaPtr(TableVA, IntPtr)); in printSEHTable()
245 const support::ulittle32_t *P = (const support::ulittle32_t *)IntPtr; in printSEHTable()
286 uintptr_t IntPtr = 0; in printTLSDirectory() local
289 error(Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)); in printTLSDirectory()
292 auto *TLSDir = reinterpret_cast<const coff_tls_directory32 *>(IntPtr); in printTLSDirectory()
295 auto *TLSDir = reinterpret_cast<const coff_tls_directory64 *>(IntPtr); in printTLSDirectory()
315 uintptr_t IntPtr = 0; in printLoadConfiguration() local
318 error(Obj->getRvaPtr(DataDir->RelativeVirtualAddress, IntPtr)); in printLoadConfiguration()
320 auto *LoadConf = reinterpret_cast<const coff_load_configuration32 *>(IntPtr); in printLoadConfiguration()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64SelectionDAGInfo.cpp35 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
48 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp812 Type *IntPtr, unsigned StoreSize, in getStartForNegStride() argument
814 const SCEV *Index = SE->getTruncateOrZeroExtend(BECount, IntPtr); in getStartForNegStride()
816 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
825 static const SCEV *getNumBytes(const SCEV *BECount, Type *IntPtr, in getNumBytes() argument
836 DL->getTypeSizeInBits(IntPtr) && in getNumBytes()
842 IntPtr); in getNumBytes()
845 SE->getOne(IntPtr), SCEV::FlagNUW); in getNumBytes()
881 Type *IntPtr = Builder.getIntPtrTy(*DL, DestAS); in processLoopStridedStore() local
886 Start = getStartForNegStride(Start, BECount, IntPtr, StoreSize, SE); in processLoopStridedStore()
914 getNumBytes(BECount, IntPtr, StoreSize, CurLoop, DL, SE); in processLoopStridedStore()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp478 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
479 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
489 Type *IntPtr = DL.getIntPtrType(Context); in LowerIntrinsicCall() local
490 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
501 Type *IntPtr = DL.getIntPtrType(Op0->getType()); in LowerIntrinsicCall() local
502 Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr, in LowerIntrinsicCall()
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h46 uintptr_t IntPtr = static_cast<uintptr_t>(Addr); in jitTargetAddressToPointer() local
47 assert(IntPtr == Addr && "JITTargetAddress value out of range for uintptr_t"); in jitTargetAddressToPointer()
48 return reinterpret_cast<T>(IntPtr); in jitTargetAddressToPointer()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp96 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout()); in EmitTargetCodeForMemset() local
110 DAG.getExternalSymbol(bzeroName, IntPtr), in EmitTargetCodeForMemset()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp4495 auto *IntPtr = Builder.CreatePtrToInt(GEP->getPointerOperand(), IntPtrTy); in EmitCheckedInBoundsGEP() local
4496 auto *ComputedGEP = Builder.CreateAdd(IntPtr, TotalOffset); in EmitCheckedInBoundsGEP()
4505 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
4507 llvm::Value *NegValid = Builder.CreateICmpULT(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
4512 auto *PosOrZeroValid = Builder.CreateICmpUGE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
4515 auto *NegOrZeroValid = Builder.CreateICmpULE(ComputedGEP, IntPtr); in EmitCheckedInBoundsGEP()
4521 llvm::Value *DynamicArgs[] = {IntPtr, ComputedGEP}; in EmitCheckedInBoundsGEP()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp66 SDValue IntPtr; member
1451 SDValue IntPtr; in getSignAsIntValue() local
1455 IntPtr = StackPtr; in getSignAsIntValue()
1460 IntPtr = DAG.getNode(ISD::ADD, DL, StackPtr.getValueType(), StackPtr, in getSignAsIntValue()
1466 State.IntPtr = IntPtr; in getSignAsIntValue()
1467 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1482 SDValue Chain = DAG.getTruncStore(State.Chain, DL, NewIntValue, State.IntPtr, in modifySignAsInt()
H A DSelectionDAGBuilder.cpp3613 EVT IntPtr = TLI.getPointerTy(DAG.getDataLayout(), DL.getAllocaAddrSpace()); in visitAlloca() local
3614 if (AllocSize.getValueType() != IntPtr) in visitAlloca()
3615 AllocSize = DAG.getZExtOrTrunc(AllocSize, dl, IntPtr); in visitAlloca()
3617 AllocSize = DAG.getNode(ISD::MUL, dl, IntPtr, in visitAlloca()
3619 DAG.getConstant(TySize, dl, IntPtr)); in visitAlloca()
3635 DAG.getConstant(StackAlign - 1, dl, IntPtr), Flags); in visitAlloca()
3640 DAG.getConstant(~(uint64_t)(StackAlign - 1), dl, IntPtr)); in visitAlloca()
3642 SDValue Ops[] = {getRoot(), AllocSize, DAG.getConstant(Align, dl, IntPtr)}; in visitAlloca()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp223 bool SelectGlobalValueConstantOffset(SDValue Addr, SDValue& IntPtr);
2168 SDValue& IntPtr) { in SelectGlobalValueConstantOffset() argument
2170 IntPtr = CurDAG->getIntPtrConstant(Cst->getZExtValue() / 4, SDLoc(Addr), in SelectGlobalValueConstantOffset()