| /openbsd-src/gnu/llvm/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 | 99 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType() 128 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType() 420 Builder.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Speculation.cpp | 120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 555 IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack() 672 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
|
| H A D | AtomicExpandPass.cpp | 404 ? Builder.CreatePtrToInt(Val, NewTy) in convertAtomicXchgToIntegerType() 740 Value *AddrInt = Builder.CreatePtrToInt(Addr, IntTy); in createMaskInstrs() 1194 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() 1195 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUReplaceLDSUseWithPointer.cpp | 242 Builder.CreateStore(Builder.CreatePtrToInt(GV, Type::getInt16Ty(Ctx)), in initializeLDSPointer()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemorySanitizer.cpp | 2453 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast() 4817 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4834 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4958 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 5105 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64() 5114 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32() 5388 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 5635 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyRegSaveArea() 5656 IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in copyOverflowArea()
|
| H A D | AddressSanitizer.cpp | 998 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 1010 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 3465 IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall() 3473 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
|
| H A D | HWAddressSanitizer.cpp | 1152 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), IntptrTy); in getPC() 1164 CachedSP = IRB.CreatePtrToInt( in getSP()
|
| H A D | InstrProfiling.cpp | 701 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), BiasLI); in getCounterAddress()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | RewriteStatepointsForGC.cpp | 1773 Value *Base_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl() 1775 Value *Derived_int = Builder.CreatePtrToInt( in makeStatepointExplicitImpl() 2664 Builder.CreatePtrToInt(Base, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset() 2667 Builder.CreatePtrToInt(Derived, Type::getIntNTy(Context, IntPtrSize), in inlineGetBaseAndOffset()
|
| H A D | SeparateConstOffsetFromGEP.cpp | 926 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1401 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion() 2347 return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy)); in VisitCastExpr() 4017 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 4019 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub() 4970 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize() 5181 Builder.CreatePtrToInt(BasePtr, DL.getIntPtrType(BasePtr->getType())); in EmitGEPOffsetInBytes() 5183 Builder.CreatePtrToInt(GEPVal, DL.getIntPtrType(GEPVal->getType())); in EmitGEPOffsetInBytes() 5307 auto *IntPtr = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitCheckedInBoundsGEP()
|
| H A D | CodeGenPGO.cpp | 1003 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
|
| H A D | CGExpr.cpp | 775 PtrAsInt = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitTypeCheck() 2189 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue() 2191 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType, in EmitStoreThroughLValue() 2368 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue() 3113 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 508 return Builder.CreatePtrToInt(V, DestTy); in createCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 1149 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context)); in CreatePtrDiff() 1150 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context)); in CreatePtrDiff()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2212 Value *LA = Builder.CreatePtrToInt(LoadBasePtr, IntPtrTy); in processCopyingStore() 2213 Value *SA = Builder.CreatePtrToInt(StoreBasePtr, IntPtrTy); in processCopyingStore()
|