Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDSafeStack.cpp393 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
463 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
HDAddressSanitizer.cpp601 IRB.CreatePtrToInt(SavedStack, IntptrTy)}); in unpoisonDynamicAllocasBeforeInst()
2002 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
2010 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
HDMemorySanitizer.cpp1541 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
2857 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
2868 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
2972 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
HDDataFlowSanitizer.cpp933 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), ShadowPtrMask), in getShadowAddress()
/NextBSD/contrib/llvm/include/llvm/IR/
HDConstantFolder.h183 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
HDNoFolder.h236 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
HDIRBuilder.h1245 Value *CreatePtrToInt(Value *V, Type *DestTy,
1330 return CreatePtrToInt(V, DestTy, Name);
1589 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context));
1590 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context));
1651 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint");
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDTargetFolder.h196 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDTargetInfo.cpp1284 llvm::Value *AsInt = CGF.Builder.CreatePtrToInt(Addr, in EmitVAArg()
2854 llvm::Value *AsInt = CGF.Builder.CreatePtrToInt(overflow_arg_area, in EmitVAArgFromMemory()
3210 llvm::Value *GPRPtrAsInt = Builder.CreatePtrToInt(GPRPtr, CGF.Int32Ty); in EmitVAArg()
3234 Builder.CreatePtrToInt(OverflowArea, CGF.Int32Ty); in EmitVAArg()
3238 Builder.CreatePtrToInt(RegsaveArea, CGF.Int32Ty); in EmitVAArg()
3804 llvm::Value *AddrAsInt = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
3840 llvm::Value *RealAddr = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
3870 llvm::Value *AddrAsInt = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
4319 BaseAddr = CGF.Builder.CreatePtrToInt(BaseAddr, CGF.Int64Ty); in EmitAAPCSVAArg()
4346 OnStackAddr = CGF.Builder.CreatePtrToInt(OnStackAddr, CGF.Int64Ty); in EmitAAPCSVAArg()
[all …]
HDCGExpr.cpp553 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy), in EmitTypeCheck()
1541 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue()
1543 Builder.CreatePtrToInt(LvalueDst, ResultType, "sub.ptr.lhs.cast"); in EmitStoreThroughLValue()
1723 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue()
2201 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
HDCGStmt.cpp2002 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt()
2136 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
HDCGExprScalar.cpp805 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion()
1558 return Builder.CreatePtrToInt(Visit(E), ConvertType(DestTy)); in VisitCastExpr()
2671 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub()
2673 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
HDCGStmtOpenMP.cpp255 Builder.CreatePtrToInt(MasterAddr, CGM.IntPtrTy), in EmitOMPCopyinClause()
256 Builder.CreatePtrToInt(PrivateAddr, CGM.IntPtrTy)), in EmitOMPCopyinClause()
HDCGBuiltin.cpp66 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
941 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast"); in EmitBuiltinExpr()
1637 Exchange = Builder.CreatePtrToInt(Exchange, IntType); in EmitBuiltinExpr()
1640 Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType); in EmitBuiltinExpr()
3337 ArgValue = Builder.CreatePtrToInt(ArgValue, RegisterType); in EmitSpecialRegisterBuiltin()
3531 StoreVal = Builder.CreatePtrToInt(StoreVal, Int32Ty); in EmitARMBuiltinExpr()
4327 StoreVal = Builder.CreatePtrToInt(StoreVal, Int64Ty); in EmitAArch64BuiltinExpr()
HDCGException.cpp1756 Builder.CreatePtrToInt(getExceptionFromSlot(), IntPtrTy); in ExitSEHTryStmt()
HDCGAtomic.cpp1396 return CGF.Builder.CreatePtrToInt(Value, InputIntTy); in convertRValueToInt()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86WinEHState.cpp288 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDSeparateConstOffsetFromGEP.cpp787 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
HDGVN.cpp884 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
909 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
1131 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
HDSROA.cpp1921 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1926 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1929 return IRB.CreatePtrToInt(V, NewTy); in convertValue()
/NextBSD/contrib/llvm/lib/Transforms/IPO/
HDLowerBitSets.cpp440 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall()
HDMergeFunctions.cpp1327 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/NextBSD/contrib/llvm/lib/CodeGen/
HDCodeGenPrepare.cpp3466 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
3478 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
3504 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp1482 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), PtrTy); in visitPtrToInt()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDSimplifyCFG.cpp979 CV = Builder.CreatePtrToInt(CV, DL.getIntPtrType(CV->getType()), in FoldValueComparisonIntoPredecessors()
2874 CompVal = Builder.CreatePtrToInt( in SimplifyBranchOnICmpChain()

12