/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | AMDGPUEmitPrintf.cpp | 56 return Builder.CreatePtrToInt(Arg, Int64Ty); in fitArgInto64Bits() 147 auto Begin = Builder.CreatePtrToInt(Str, Int64Ty); in getStrlenWithNull() 148 auto End = Builder.CreatePtrToInt(PtrPhi, Int64Ty); in getStrlenWithNull()
|
H A D | VNCoercion.cpp | 90 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadTypeHelper() 119 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadTypeHelper() 444 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
H A D | Speculation.cpp | 120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | IRBuilderFolder.h | 108 virtual Value *CreatePtrToInt(Constant *C, Type *DestTy) const = 0;
|
H A D | ConstantFolder.h | 219 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
H A D | NoFolder.h | 253 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 324 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord() 343 Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty); in emitExceptionRegistrationRecord()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | SafeStack.cpp | 561 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack() 671 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
|
H A D | AtomicExpandPass.cpp | 664 Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx)); in createMaskInstrs() 1098 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() 1099 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 204 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 2238 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast() 4364 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4381 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4506 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4656 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64() 4666 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32() 4944 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 5194 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea() 5215 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
|
H A D | HWAddressSanitizer.cpp | 1072 PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue() 1077 Value *SP = IRB.CreatePtrToInt( in emitPrologue()
|
H A D | AddressSanitizer.cpp | 1024 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 1036 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 3543 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall() 3551 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
|
H A D | InstrProfiling.cpp | 700 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), LI); in lowerIncrement()
|
H A D | SanitizerCoverage.cpp | 955 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | MVEGatherScatterLowering.cpp | 713 Builder.CreatePtrToInt( in tryCreateIncrementingGatScat() 772 Builder.CreatePtrToInt( in tryCreateIncrementingWBGatScat()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1357 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion() 2258 return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy)); in VisitCastExpr() 3770 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 3772 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub() 4723 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize() 4923 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes() 4925 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes() 5049 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP()
|
H A D | CodeGenPGO.cpp | 992 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
|
H A D | CGExpr.cpp | 775 PtrAsInt = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitTypeCheck() 2147 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue() 2149 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType, in EmitStoreThroughLValue() 2326 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue() 3053 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | IRBuilder.cpp | 957 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context)); in CreatePtrDiff() 958 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context)); in CreatePtrDiff()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 504 return Builder.CreatePtrToInt(V, DestTy); in createCast()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorCombine.cpp | 459 Value *AsInt = Builder.CreatePtrToInt(Ptr, HVC.getIntTy()); in createAlignedPointer() 759 AlignVal = Builder.CreatePtrToInt(WithMinOffset.Addr, HVC.getIntTy()); in realignGroup()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 923 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
|
H A D | LowerMatrixIntrinsics.cpp | 1141 Value *StoreBegin = Builder.CreatePtrToInt( in getNonAliasingPointer() 1146 Value *LoadBegin = Builder.CreatePtrToInt(const_cast<Value *>(LoadLoc.Ptr), in getNonAliasingPointer()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 665 IRB.CreatePtrToInt(CI->getArgOperand(0), getAddrIntType(M), "jmpbuf"); in replaceLongjmpWithEmscriptenLongjmp()
|