| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | AMDGPUEmitPrintf.cpp | 43 return Builder.CreatePtrToInt(Arg, Int64Ty); in fitArgInto64Bits() 134 auto Begin = Builder.CreatePtrToInt(Str, Int64Ty); in getStrlenWithNull() 135 auto End = Builder.CreatePtrToInt(PtrPhi, Int64Ty); in getStrlenWithNull()
|
| H A D | VNCoercion.cpp | 96 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType() 125 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType() 417 Builder.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | InstSimplifyFolder.h | 147 Value *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function 148 return ConstFolder.CreatePtrToInt(C, DestTy); in CreatePtrToInt()
|
| H A D | TargetFolder.h | 216 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | RuntimeDebugBuilder.cpp | 138 Val = Builder.CreatePtrToInt(Val, Builder.getInt64Ty()); in prepareValuesForPrinting() 216 Val = Builder.CreatePtrToInt(Val, Builder.getInt64Ty()); in createGPUPrinterT()
|
| H A D | IslExprBuilder.cpp | 511 LHS = Builder.CreatePtrToInt(LHS, PtrAsIntTy); in createOpICmp() 513 RHS = Builder.CreatePtrToInt(RHS, PtrAsIntTy); in createOpICmp() 733 V = Builder.CreatePtrToInt(V, Builder.getIntNTy(DL.getPointerSizeInBits())); in createId()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IRBuilderFolder.h | 87 virtual Value *CreatePtrToInt(Constant *C, Type *DestTy) const = 0;
|
| H A D | NoFolder.h | 145 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
| H A D | ConstantFolder.h | 208 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Speculation.cpp | 120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 248 Offsets = Builder.CreatePtrToInt( in decomposePtr() 790 Builder.CreatePtrToInt( in tryCreateIncrementingGatScat() 847 Builder.CreatePtrToInt( in tryCreateIncrementingWBGatScat()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 554 IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack() 671 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
|
| H A D | AtomicExpandPass.cpp | 391 ? Builder.CreatePtrToInt(Val, NewTy) in convertAtomicXchgToIntegerType() 710 Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx)); in createMaskInstrs() 1143 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() 1144 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUReplaceLDSUseWithPointer.cpp | 242 Builder.CreateStore(Builder.CreatePtrToInt(GV, Type::getInt16Ty(Ctx)), in initializeLDSPointer()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 2225 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast() 4408 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4425 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4550 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4700 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64() 4710 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32() 4988 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 5238 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea() 5259 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
|
| H A D | AddressSanitizer.cpp | 979 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 991 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 3411 IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall() 3419 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
|
| H A D | HWAddressSanitizer.cpp | 1140 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), IntptrTy); in getPC() 1152 CachedSP = IRB.CreatePtrToInt( in getSP()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 1719 Value *Base_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl() 1721 Value *Derived_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl() 2539 Builder.CreatePtrToInt(Base, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset() 2542 Builder.CreatePtrToInt(Derived, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 922 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/OpenACC/ |
| H A D | OpenACCToLLVMIRTranslation.cpp | 119 builder.CreatePtrToInt(sizeGep, llvm::Type::getInt64Ty(ctx)); in getSizeInBytes()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1372 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion() 2324 return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy)); in VisitCastExpr() 3846 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 3848 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub() 4800 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize() 5001 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes() 5003 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes() 5127 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 509 return Builder.CreatePtrToInt(V, DestTy); in createCast()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 1043 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context)); in CreatePtrDiff() 1044 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context)); in CreatePtrDiff()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 467 Value *AsInt = Builder.CreatePtrToInt(Ptr, HVC.getIntTy()); in createAlignedPointer() 766 AlignVal = Builder.CreatePtrToInt(WithMinOffset.Addr, HVC.getIntTy()); in realignGroup()
|