Home
last modified time | relevance | path

Searched refs:getPtrToInt (Results 1 – 24 of 24) sorted by relevance

/external/llvm/unittests/IR/
DConstantsTest.cpp207 Constant *P0 = ConstantExpr::getPtrToInt(Global, Int32Ty); in TEST()
211 Constant *P4 = ConstantExpr::getPtrToInt(Global2, Int32Ty); in TEST()
336 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
360 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST()
361 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp323 BAI->Mask = ConstantExpr::getPtrToInt(MaskGlobal, Int8Ty); in createByteArray()
562 ConstantExpr::getPtrToInt(CombinedGlobalAddr, IntPtrTy); in lowerTypeTestCalls()
638 Constant *DestInt = ConstantExpr::getPtrToInt(Dest, IntPtrTy); in createJumpTableEntry()
639 Constant *SrcInt = ConstantExpr::getPtrToInt(Src, IntPtrTy); in createJumpTableEntry()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp1277 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
1278 ConstantExpr::getPtrToInt(Descriptor, Int64Ty)), in instrumentGlobal()
1293 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
1361 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in instrumentGlobals()
1362 ConstantExpr::getPtrToInt(Note, Int64Ty)), in instrumentGlobals()
/external/llvm/lib/IR/
DConstants.cpp1486 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1520 return getPtrToInt(S, Ty); in getPointerCast()
1674 Constant *ConstantExpr::getPtrToInt(Constant *C, Type *DstTy, in getPtrToInt() function in ConstantExpr
1819 return getPtrToInt(GEP, in getSizeOf()
1833 return getPtrToInt(GEP, in getAlignOf()
1851 return getPtrToInt(GEP, in getOffsetOf()
DAutoUpgrade.cpp1431 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
DCore.cpp1318 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp1658 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1692 return getPtrToInt(S, Ty); in getPointerCast()
1846 Constant *ConstantExpr::getPtrToInt(Constant *C, Type *DstTy, in getPtrToInt() function in ConstantExpr
2001 return getPtrToInt(GEP, in getSizeOf()
2014 return getPtrToInt(GEP, in getAlignOf()
2032 return getPtrToInt(GEP, in getOffsetOf()
DCore.cpp1707 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
DAutoUpgrade.cpp3822 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1317 return llvm::ConstantExpr::getPtrToInt(C, DestTy); in EmitConstantValue()
1401 LHS = llvm::ConstantExpr::getPtrToInt(LHS, IntPtrTy); in EmitConstantValue()
1402 RHS = llvm::ConstantExpr::getPtrToInt(RHS, IntPtrTy); in EmitConstantValue()
DItaniumCXXABI.cpp834 MemPtr[0] = llvm::ConstantExpr::getPtrToInt(addr, CGM.PtrDiffTy); in BuildMemberPointer()
2938 TypeNameField = llvm::ConstantExpr::getPtrToInt(TypeName, CGM.Int64Ty); in BuildTypeInfo()
DMicrosoftCXXABI.cpp532 llvm::ConstantExpr::getPtrToInt(getImageBase(), CGM.IntPtrTy); in getImageRelativeConstant()
534 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy); in getImageRelativeConstant()
DCGObjCGNU.cpp2036 llvm::Constant *ptr = llvm::ConstantExpr::getPtrToInt(GS, IntPtrTy); in MakeBitField()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp683 B.CreateAnd(Byte, ConstantExpr::getPtrToInt(TIL.BitMask, Int8Ty)); in createBitSetTest()
746 ConstantExpr::getPtrToInt(TIL.OffsetedGlobal, IntPtrTy); in lowerTypeTestCall()
986 C = ConstantExpr::getPtrToInt(C, Ty); in importTypeId()
DWholeProgramDevirt.cpp1291 C = ConstantExpr::getPtrToInt(C, IntTy); in importConstant()
/external/llvm/include/llvm/IR/
DConstants.h911 static Constant *getPtrToInt(Constant *C, Type *Ty,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h965 static Constant *getPtrToInt(Constant *C, Type *Ty,
/external/llvm/lib/Analysis/
DInlineCost.cpp464 if (Constant *C = ConstantExpr::getPtrToInt(COp, I.getType())) { in visitPtrToInt()
DConstantFolding.cpp775 Constant *Res = ConstantExpr::getPtrToInt(Ptr, CE->getType()); in SymbolicallyEvaluateGEP()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp366 auto *NullInt = ConstantExpr::getPtrToInt( in combineLoadToNewType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInlineCost.cpp937 return ConstantExpr::getPtrToInt(COps[0], I.getType()); in visitPtrToInt()
DConstantFolding.cpp857 Constant *Res = ConstantExpr::getPtrToInt(Ptr, CE->getType()); in SymbolicallyEvaluateGEP()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLocal.cpp2576 auto *NullInt = ConstantExpr::getPtrToInt( in copyNonnullMetadata()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1180 See the method [llvm::ConstantExpr::getPtrToInt]. *)