Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DAMDGPUEmitPrintf.cpp43 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 DVNCoercion.cpp99 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 DInstSimplifyFolder.h147 Value *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
148 return ConstFolder.CreatePtrToInt(C, DestTy); in CreatePtrToInt()
H A DTargetFolder.h216 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIRBuilderFolder.h87 virtual Value *CreatePtrToInt(Constant *C, Type *DestTy) const = 0;
H A DNoFolder.h145 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
H A DConstantFolder.h208 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const override { in CreatePtrToInt() function
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DSpeculation.cpp120 Mutator.CreatePtrToInt(&Fn, Type::getInt64Ty(MContext)); in emit()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86WinEHState.cpp324 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 DMVEGatherScatterLowering.cpp248 Offsets = Builder.CreatePtrToInt( in decomposePtr()
790 Builder.CreatePtrToInt( in tryCreateIncrementingGatScat()
847 Builder.CreatePtrToInt( in tryCreateIncrementingWBGatScat()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStack.cpp555 IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
672 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
H A DAtomicExpandPass.cpp404 ? 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 DAMDGPUReplaceLDSUseWithPointer.cpp242 Builder.CreateStore(Builder.CreatePtrToInt(GV, Type::getInt16Ty(Ctx)), in initializeLDSPointer()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2453 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 DAddressSanitizer.cpp998 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 DHWAddressSanitizer.cpp1152 return IRB.CreatePtrToInt(IRB.GetInsertBlock()->getParent(), IntptrTy); in getPC()
1164 CachedSP = IRB.CreatePtrToInt( in getSP()
H A DInstrProfiling.cpp701 auto *Add = Builder.CreateAdd(Builder.CreatePtrToInt(Addr, Int64Ty), BiasLI); in getCounterAddress()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp1773 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 DSeparateConstOffsetFromGEP.cpp926 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprScalar.cpp1401 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 DCodeGenPGO.cpp1003 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
H A DCGExpr.cpp775 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 DMergeFunctions.cpp508 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DIRBuilder.cpp1149 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 DHexagonLoopIdiomRecognition.cpp2212 Value *LA = Builder.CreatePtrToInt(LoadBasePtr, IntPtrTy); in processCopyingStore()
2213 Value *SA = Builder.CreatePtrToInt(StoreBasePtr, IntPtrTy); in processCopyingStore()

123