Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp114 Constant *Base = llvm::ConstantExpr::getPtrToInt(RelLookupTable, IntPtrTy); in createRelLookupTable()
115 Constant *Target = llvm::ConstantExpr::getPtrToInt(Element, IntPtrTy); in createRelLookupTable()
H A DEvaluator.cpp192 MV->Val = ConstantExpr::getPtrToInt(V, MVType); in write()
H A DLocal.cpp2909 auto *NullInt = ConstantExpr::getPtrToInt( in copyNonnullMetadata()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp141 base = llvm::ConstantExpr::getPtrToInt(base, Builder.CGM.IntPtrTy); in getRelativeOffsetToPosition()
142 target = llvm::ConstantExpr::getPtrToInt(target, Builder.CGM.IntPtrTy); in getRelativeOffsetToPosition()
H A DCGExprConstant.cpp1882 return llvm::ConstantExpr::getPtrToInt(value, destTy); in tryEmit()
2144 LHS = llvm::ConstantExpr::getPtrToInt(LHS, CGM.IntPtrTy); in tryEmitPrivate()
2145 RHS = llvm::ConstantExpr::getPtrToInt(RHS, CGM.IntPtrTy); in tryEmitPrivate()
H A DItaniumCXXABI.cpp1042 MemPtr[0] = llvm::ConstantExpr::getPtrToInt(addr, CGM.PtrDiffTy); in BuildMemberPointer()
3746 TypeNameField = llvm::ConstantExpr::getPtrToInt(TypeName, CGM.Int64Ty); in BuildTypeInfo()
H A DMicrosoftCXXABI.cpp575 llvm::ConstantExpr::getPtrToInt(getImageBase(), CGM.IntPtrTy); in getImageRelativeConstant()
577 llvm::ConstantExpr::getPtrToInt(PtrVal, CGM.IntPtrTy); in getImageRelativeConstant()
H A DCGObjCGNU.cpp3324 llvm::Constant *ptr = llvm::ConstantExpr::getPtrToInt(GS, IntPtrTy); in MakeBitField()
H A DCodeGenModule.cpp5690 IsSwiftABI ? llvm::ConstantExpr::getPtrToInt(C, Ty) in GetAddrOfConstantCFString()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp523 ConstantExpr::getSub(ConstantExpr::getPtrToInt(Ptr, Int64Ty), in createHwasanCtorComdat()
524 ConstantExpr::getPtrToInt(Note, Int64Ty)), in createHwasanCtorComdat()
1552 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
1553 ConstantExpr::getPtrToInt(Descriptor, Int64Ty)), in instrumentGlobal()
1568 ConstantExpr::getPtrToInt(NewGV, Int64Ty), in instrumentGlobal()
H A DInstrProfiling.cpp1047 ConstantExpr::getSub(ConstantExpr::getPtrToInt(CounterPtr, IntPtrTy), in getOrCreateRegionCounters()
1048 ConstantExpr::getPtrToInt(Data, IntPtrTy)); in getOrCreateRegionCounters()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp2002 return getPtrToInt(C, Ty, OnlyIfReduced); in getCast()
2047 return getPtrToInt(S, Ty); in getPointerCast()
2201 Constant *ConstantExpr::getPtrToInt(Constant *C, Type *DstTy, in getPtrToInt() function in ConstantExpr
2384 return getPtrToInt(GEP, in getSizeOf()
2397 return getPtrToInt(GEP, in getAlignOf()
2415 return getPtrToInt(GEP, in getOffsetOf()
H A DValue.cpp972 if (auto *CstInt = dyn_cast_or_null<ConstantInt>(ConstantExpr::getPtrToInt( in getPointerAlignment()
H A DCore.cpp1725 return wrap(ConstantExpr::getPtrToInt(unwrap<Constant>(ConstantVal), in LLVMConstPtrToInt()
H A DAutoUpgrade.cpp4478 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp665 B.CreateAnd(Byte, ConstantExpr::getPtrToInt(TIL.BitMask, Int8Ty)); in createBitSetTest()
731 ConstantExpr::getPtrToInt(TIL.OffsetedGlobal, IntPtrTy); in lowerTypeTestCall()
970 C = ConstantExpr::getPtrToInt(C, Ty); in importTypeId()
H A DWholeProgramDevirt.cpp1568 C = ConstantExpr::getPtrToInt(C, IntTy); in importConstant()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp471 auto elt = ConstantExpr::getPtrToInt(LDSVarsToConstantGEP[GV], I32); in getAddressesOfVariablesInKernel()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DConstants.h1068 static Constant *getPtrToInt(Constant *C, Type *Ty,
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DConstantFolding.cpp1447 ConstantExpr::getPtrToInt(Ptr, IntIdxTy), Sub->getOperand(1)); in ConstantFoldCastOperand()
H A DScalarEvolution.cpp4359 return getUnknown(ConstantExpr::getPtrToInt(GEP, IntTy)); in getSizeOfScalableVectorExpr()
9785 return ConstantExpr::getPtrToInt(CastOp, P2I->getType()); in BuildConstantFromSCEV()
/openbsd/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1226 See the method [llvm::ConstantExpr::getPtrToInt]. *)
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2363 replaceAllUsesWith(II, ConstantExpr::getPtrToInt(CGep, II->getType()), in optimizeCallInst()