Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp515 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
614 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
DAddressSanitizer.cpp633 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
645 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
2129 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
2137 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
DMemorySanitizer.cpp1572 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
2913 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
2924 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3028 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3157 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64()
3167 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32()
DDataFlowSanitizer.cpp947 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), in getShadowAddress()
948 IRB.CreatePtrToInt(ShadowPtrMaskValue, IntptrTy)), in getShadowAddress()
/external/llvm/include/llvm/IR/
DConstantFolder.h183 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DNoFolder.h236 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DIRBuilder.h1304 Value *CreatePtrToInt(Value *V, Type *DestTy,
1390 return CreatePtrToInt(V, DestTy, Name);
1664 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context));
1665 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context));
1752 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint");
/external/llvm/include/llvm/Analysis/
DTargetFolder.h196 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp295 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp897 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
922 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
1144 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
DSeparateConstOffsetFromGEP.cpp845 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
DSROA.cpp1706 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1711 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue()
1714 return IRB.CreatePtrToInt(V, NewTy); in convertValue()
/external/clang/lib/CodeGen/
DCGExpr.cpp570 Builder.CreateAnd(Builder.CreatePtrToInt(Ptr, IntPtrTy), in EmitTypeCheck()
1637 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue()
1639 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType, in EmitStoreThroughLValue()
1813 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue()
2337 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
DCGStmt.cpp1928 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt()
2071 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
DCGOpenMPRuntime.cpp2529 CGF.Builder.CreatePtrToInt(Addr.getPointer(), CGM.SizeTy); in emitTaskCall()
2530 llvm::Value *UpIntPtr = CGF.Builder.CreatePtrToInt(UpAddr, CGM.SizeTy); in emitTaskCall()
2541 CGF.Builder.CreatePtrToInt(Addr.getPointer(), CGF.IntPtrTy), in emitTaskCall()
2791 RValue::get(CGF.Builder.CreatePtrToInt(Ptr, CGF.SizeTy))); in emitReductionFunction()
DCGExprScalar.cpp809 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion()
1536 return Builder.CreatePtrToInt(Visit(E), ConvertType(DestTy)); in VisitCastExpr()
2656 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub()
2658 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub()
DCGBuiltin.cpp66 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt()
1062 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast"); in EmitBuiltinExpr()
1837 Exchange = Builder.CreatePtrToInt(Exchange, IntType); in EmitBuiltinExpr()
1840 Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType); in EmitBuiltinExpr()
3502 ArgValue = Builder.CreatePtrToInt(ArgValue, RegisterType); in EmitSpecialRegisterBuiltin()
3696 StoreVal = Builder.CreatePtrToInt(StoreVal, Int32Ty); in EmitARMBuiltinExpr()
4463 StoreVal = Builder.CreatePtrToInt(StoreVal, Int64Ty); in EmitAArch64BuiltinExpr()
DCGStmtOpenMP.cpp501 Builder.CreatePtrToInt(MasterAddr.getPointer(), CGM.IntPtrTy), in EmitOMPCopyinClause()
502 Builder.CreatePtrToInt(PrivateAddr.getPointer(), CGM.IntPtrTy)), in EmitOMPCopyinClause()
DCGAtomic.cpp1418 return CGF.Builder.CreatePtrToInt(Value, InputIntTy); in convertRValueToInt()
DCGClass.cpp897 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy); in EmitAsanPrologueOrEpilogue()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp476 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall()
DMergeFunctions.cpp1668 return Builder.CreatePtrToInt(V, DestTy); in createCast()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3880 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in optimizeMemoryInst()
3892 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in optimizeMemoryInst()
3918 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in optimizeMemoryInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1551 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), PtrTy); in visitPtrToInt()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1007 CV = Builder.CreatePtrToInt(CV, DL.getIntPtrType(CV->getType()), in FoldValueComparisonIntoPredecessors()
3211 CompVal = Builder.CreatePtrToInt( in SimplifyBranchOnICmpChain()

12