Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DConstantsTest.cpp182 Constant *P0 = ConstantExpr::getPtrToInt(Global, Int32Ty); in TEST()
186 Constant *P4 = ConstantExpr::getPtrToInt(Global2, Int32Ty); in TEST()
311 Constant *GlobalInt = ConstantExpr::getPtrToInt(Global, IntTy); in TEST()
335 Constant *Int1 = ConstantExpr::getPtrToInt(G1, IntTy); in TEST()
336 Constant *Int2 = ConstantExpr::getPtrToInt(G2, IntTy); in TEST()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp359 BAI->Mask = ConstantExpr::getPtrToInt(MaskGlobal, Int8Ty); in createByteArray()
598 ConstantExpr::getPtrToInt(CombinedGlobalAddr, IntPtrTy); in lowerBitSetCalls()
680 Constant *DestInt = ConstantExpr::getPtrToInt(Dest, IntPtrTy); in createJumpTableEntry()
681 Constant *SrcInt = ConstantExpr::getPtrToInt(Src, IntPtrTy); in createJumpTableEntry()
/external/llvm/lib/IR/
DConstants.cpp1555 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
1589 return getPtrToInt(S, Ty); in getPointerCast()
1744 Constant *ConstantExpr::getPtrToInt(Constant *C, Type *DstTy, in getPtrToInt() function in ConstantExpr
1889 return getPtrToInt(GEP, in getSizeOf()
1903 return getPtrToInt(GEP, in getAlignOf()
1921 return getPtrToInt(GEP, in getOffsetOf()
DAutoUpgrade.cpp875 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
DCore.cpp1231 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1297 return llvm::ConstantExpr::getPtrToInt(C, DestTy); in EmitConstantValue()
1375 LHS = llvm::ConstantExpr::getPtrToInt(LHS, IntPtrTy); in EmitConstantValue()
1376 RHS = llvm::ConstantExpr::getPtrToInt(RHS, IntPtrTy); in EmitConstantValue()
DItaniumCXXABI.cpp841 MemPtr[0] = llvm::ConstantExpr::getPtrToInt(addr, CGM.PtrDiffTy); in BuildMemberPointer()
2905 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.cpp2026 llvm::Constant *ptr = llvm::ConstantExpr::getPtrToInt(GS, IntPtrTy); in MakeBitField()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp363 auto *NullInt = ConstantExpr::getPtrToInt( in combineLoadToNewType()
/external/llvm/include/llvm/IR/
DConstants.h953 static Constant *getPtrToInt(Constant *C, Type *Ty,
/external/llvm/lib/Analysis/
DInlineCost.cpp418 if (Constant *C = ConstantExpr::getPtrToInt(COp, I.getType())) { in visitPtrToInt()
DConstantFolding.cpp754 Constant *Res = ConstantExpr::getPtrToInt(Ptr, CE->getType()); in SymbolicallyEvaluateGEP()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli1150 See the method [llvm::ConstantExpr::getPtrToInt]. *)