Home
last modified time | relevance | path

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

12

/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DForwardControlFlowIntegrity.cpp266 Value *TI = TempBuilder.CreatePtrToInt(FunPtr, Int64Ty); in rewriteFunctionPointer()
267 Value *TStartInt = TempBuilder.CreatePtrToInt(JumpTableStart, Int64Ty); in rewriteFunctionPointer()
H A DCodeGenPrepare.cpp3127 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
3139 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
3165 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DConstantFolder.h182 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
H A DNoFolder.h235 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
H A DIRBuilder.h1205 Value *CreatePtrToInt(Value *V, Type *DestTy,
1290 return CreatePtrToInt(V, DestTy, Name);
1531 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context));
1532 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context));
1593 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint");
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h195 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DTargetInfo.cpp1264 llvm::Value *AsInt = CGF.Builder.CreatePtrToInt(Addr, in EmitVAArg()
2735 llvm::Value *AsInt = CGF.Builder.CreatePtrToInt(overflow_arg_area, in EmitVAArgFromMemory()
3131 llvm::Value *GPRPtrAsInt = Builder.CreatePtrToInt(GPRPtr, CGF.Int32Ty); in EmitVAArg()
3148 llvm::Value *OverflowAreaAsInt = Builder.CreatePtrToInt(OverflowArea, CGF.Int32Ty); in EmitVAArg()
3150 llvm::Value *RegsaveAreaAsInt = Builder.CreatePtrToInt(RegsaveArea, CGF.Int32Ty); in EmitVAArg()
3670 llvm::Value *AddrAsInt = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
3704 llvm::Value *RealAddr = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
3730 llvm::Value *AddrAsInt = Builder.CreatePtrToInt(Addr, CGF.Int64Ty); in EmitVAArg()
4166 BaseAddr = CGF.Builder.CreatePtrToInt(BaseAddr, CGF.Int64Ty); in EmitAAPCSVAArg()
4193 OnStackAddr = CGF.Builder.CreatePtrToInt(OnStackAddr, CGF.Int64Ty); in EmitAAPCSVAArg()
[all …]
H A DCGExpr.cpp531 Builder.CreateAnd(Builder.CreatePtrToInt(Address, IntPtrTy), in EmitTypeCheck()
1512 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue()
1514 Builder.CreatePtrToInt(LvalueDst, ResultType, "sub.ptr.lhs.cast"); in EmitStoreThroughLValue()
1694 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue()
2173 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
H A DCGStmt.cpp1980 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt()
2102 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
H A DCGExprScalar.cpp791 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion()
1504 return Builder.CreatePtrToInt(Visit(E), ConvertType(DestTy)); in VisitCastExpr()
2602 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub()
2604 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
H A DCGAtomic.cpp1070 return CGF.Builder.CreatePtrToInt(Value, InputIntTy); in convertRValueToInt()
H A DCGBuiltin.cpp63 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
843 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast"); in EmitBuiltinExpr()
1594 Exchange = Builder.CreatePtrToInt(Exchange, IntType); in EmitBuiltinExpr()
1597 Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType); in EmitBuiltinExpr()
3317 StoreVal = Builder.CreatePtrToInt(StoreVal, Int32Ty); in EmitARMBuiltinExpr()
4089 StoreVal = Builder.CreatePtrToInt(StoreVal, Int64Ty); in EmitAArch64BuiltinExpr()
H A DCGClass.cpp753 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy); in EmitAsanPrologueOrEpilogue()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp795 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
H A DSROA.cpp1909 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1914 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1917 return IRB.CreatePtrToInt(V, NewTy); in convertValue()
H A DGVN.cpp1131 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
H A DScalarReplAggregates.cpp975 SV = Builder.CreatePtrToInt(SV, DL.getIntPtrType(SV->getType())); in ConvertScalar_InsertValue()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp1430 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
2754 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
2765 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
H A DAddressSanitizer.cpp1981 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
H A DDataFlowSanitizer.cpp938 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), ShadowPtrMask), in getShadowAddress()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp1315 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1485 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), PtrTy); in visitPtrToInt()
H A DInstructionCombining.cpp1547 Value *PtrToInt = Builder->CreatePtrToInt(PtrOp, Index->getType()); in visitGetElementPtrInst()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp1011 CV = Builder.CreatePtrToInt(CV, DL->getIntPtrType(CV->getType()), in FoldValueComparisonIntoPredecessors()
2905 CompVal = Builder.CreatePtrToInt(CompVal, in SimplifyBranchOnICmpChain()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DCore.cpp2597 return wrap(unwrap(B)->CreatePtrToInt(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPtrToInt()

12