Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
/freebsd-13.1/contrib/llvm-project/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
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUReplaceLDSUseWithPointer.cpp230 Builder.CreateStore(Builder.CreatePtrToInt(GV, Type::getInt16Ty(Ctx)), in initializeLDSPointer()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp324 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
343 Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty); in emitExceptionRegistrationRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp246 Offsets = Builder.CreatePtrToInt( in decomposePtr()
776 Builder.CreatePtrToInt( in tryCreateIncrementingGatScat()
833 Builder.CreatePtrToInt( in tryCreateIncrementingWBGatScat()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp564 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
674 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp703 Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx)); in createMaskInstrs()
1137 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType()
1138 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h204 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2238 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
4386 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4403 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4528 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
4678 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64()
4688 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32()
4966 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
5216 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea()
5237 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
H A DAddressSanitizer.cpp1032 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
1044 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
3554 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
3562 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
H A DHWAddressSanitizer.cpp1163 PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue()
1168 Value *SP = IRB.CreatePtrToInt( in emitPrologue()
H A DSanitizerCoverage.cpp958 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
H A DInstrProfiling.cpp714 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), LI); in lowerIncrement()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1644 Value *Base_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl()
1646 Value *Derived_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl()
2434 Builder.CreatePtrToInt(Base, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset()
2437 Builder.CreatePtrToInt(Derived, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset()
H A DSeparateConstOffsetFromGEP.cpp923 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp1359 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion()
2266 return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy)); in VisitCastExpr()
3783 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub()
3785 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
4736 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize()
4936 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes()
4938 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes()
5062 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DIRBuilder.cpp997 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context)); in CreatePtrDiff()
998 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context)); in CreatePtrDiff()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp504 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp464 Value *AsInt = Builder.CreatePtrToInt(Ptr, HVC.getIntTy()); in createAlignedPointer()
764 AlignVal = Builder.CreatePtrToInt(WithMinOffset.Addr, HVC.getIntTy()); in realignGroup()

12