Home
last modified time | relevance | path

Searched refs:CreatePtrToInt (Results 1 – 25 of 50) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp56 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 DVNCoercion.cpp90 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 DSpeculation.cpp120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIRBuilderFolder.h108 virtual Value *CreatePtrToInt(Constant *C, Type *DestTy) const = 0;
H A DConstantFolder.h219 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
H A DNoFolder.h253 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86WinEHState.cpp324 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 DSafeStack.cpp561 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
671 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp664 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 DTargetFolder.h204 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2238 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 DHWAddressSanitizer.cpp1072 PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue()
1077 Value *SP = IRB.CreatePtrToInt( in emitPrologue()
H A DAddressSanitizer.cpp1024 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 DInstrProfiling.cpp700 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), LI); in lowerIncrement()
H A DSanitizerCoverage.cpp955 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp713 Builder.CreatePtrToInt( in tryCreateIncrementingGatScat()
772 Builder.CreatePtrToInt( in tryCreateIncrementingWBGatScat()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprScalar.cpp1357 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 DCodeGenPGO.cpp992 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
H A DCGExpr.cpp775 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 DIRBuilder.cpp957 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 DMergeFunctions.cpp504 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp459 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 DSeparateConstOffsetFromGEP.cpp923 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
H A DLowerMatrixIntrinsics.cpp1141 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 DWebAssemblyLowerEmscriptenEHSjLj.cpp665 IRB.CreatePtrToInt(CI->getArgOperand(0), getAddrIntType(M), "jmpbuf"); in replaceLongjmpWithEmscriptenLongjmp()

12