/external/llvm/lib/Transforms/Instrumentation/ |
D | SafeStack.cpp | 515 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack() 614 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
|
D | AddressSanitizer.cpp | 633 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()
|
D | MemorySanitizer.cpp | 1572 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()
|
D | DataFlowSanitizer.cpp | 947 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), in getShadowAddress() 948 IRB.CreatePtrToInt(ShadowPtrMaskValue, IntptrTy)), in getShadowAddress()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 183 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
D | NoFolder.h | 236 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
D | IRBuilder.h | 1304 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/ |
D | TargetFolder.h | 196 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
/external/llvm/lib/Target/X86/ |
D | X86WinEHState.cpp | 295 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 897 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType() 922 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType() 1144 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
|
D | SeparateConstOffsetFromGEP.cpp | 845 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
|
D | SROA.cpp | 1706 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/ |
D | CGExpr.cpp | 570 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()
|
D | CGStmt.cpp | 1928 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt() 2071 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
|
D | CGOpenMPRuntime.cpp | 2529 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()
|
D | CGExprScalar.cpp | 809 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()
|
D | CGBuiltin.cpp | 66 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()
|
D | CGStmtOpenMP.cpp | 501 Builder.CreatePtrToInt(MasterAddr.getPointer(), CGM.IntPtrTy), in EmitOMPCopyinClause() 502 Builder.CreatePtrToInt(PrivateAddr.getPointer(), CGM.IntPtrTy)), in EmitOMPCopyinClause()
|
D | CGAtomic.cpp | 1418 return CGF.Builder.CreatePtrToInt(Value, InputIntTy); in convertRValueToInt()
|
D | CGClass.cpp | 897 ThisPtr = Builder.CreatePtrToInt(ThisPtr, IntPtrTy); in EmitAsanPrologueOrEpilogue()
|
/external/llvm/lib/Transforms/IPO/ |
D | LowerBitSets.cpp | 476 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall()
|
D | MergeFunctions.cpp | 1668 return Builder.CreatePtrToInt(V, DestTy); in createCast()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 3880 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/ |
D | InstCombineCasts.cpp | 1551 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), PtrTy); in visitPtrToInt()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 1007 CV = Builder.CreatePtrToInt(CV, DL.getIntPtrType(CV->getType()), in FoldValueComparisonIntoPredecessors() 3211 CompVal = Builder.CreatePtrToInt( in SimplifyBranchOnICmpChain()
|