| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 66 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadTypeHelper() 96 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadTypeHelper() 325 SrcVal = Helper.CreatePtrToInt(SrcVal, DL.getIntPtrType(SrcVal->getType())); in getStoreValueForLoadHelper()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 331 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord() 347 Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty); in emitExceptionRegistrationRecord()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ConstantFolder.h | 212 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
| H A D | NoFolder.h | 276 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
| H A D | IRBuilder.h | 1722 Value *CreatePtrToInt(Value *V, Type *DestTy, 1815 return CreatePtrToInt(V, DestTy, Name); 2131 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context)); 2132 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context)); 2243 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint"); in CreateAlignmentAssumptionHelper()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 195 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | SafeStack.cpp | 544 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack() 663 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
|
| H A D | AtomicExpandPass.cpp | 635 Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx)); in createMaskInstrs() 1040 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType() 1041 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
|
| H A D | CodeGenPrepare.cpp | 4774 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in optimizeMemoryInst() 4786 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in optimizeMemoryInst() 4812 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in optimizeMemoryInst()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 844 auto PC = IRB.CreatePtrToInt(F, IntptrTy); in emitPrologue() 847 Value *SP = IRB.CreatePtrToInt( in emitPrologue()
|
| H A D | MemorySanitizer.cpp | 2079 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast() 3860 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 3875 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 3998 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation() 4147 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64() 4157 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32() 4432 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
|
| H A D | AddressSanitizer.cpp | 937 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst() 949 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst() 3226 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall() 3234 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
|
| H A D | DataFlowSanitizer.cpp | 1055 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), in getShadowAddress() 1056 IRB.CreatePtrToInt(ShadowPtrMaskValue, IntptrTy)), in getShadowAddress()
|
| H A D | SanitizerCoverage.cpp | 814 auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy); in InjectCoverageAtBlock()
|
| H A D | PGOInstrumentation.cpp | 770 Builder.CreatePtrToInt(Callee, Builder.getInt64Ty()), in instrumentOneFunc()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 1296 return Builder.CreatePtrToInt(Src, DstTy, "conv"); in EmitScalarConversion() 2178 return Builder.CreatePtrToInt(PtrExpr, ConvertType(DestTy)); in VisitCastExpr() 3387 = Builder.CreatePtrToInt(op.LHS, CGF.PtrDiffTy, "sub.ptr.lhs.cast"); in EmitSub() 3389 = Builder.CreatePtrToInt(op.RHS, CGF.PtrDiffTy, "sub.ptr.rhs.cast"); in EmitSub() 4225 Src = Builder.CreatePtrToInt(Src, DL.getIntPtrType(SrcTy)); in createCastsForTypeOfSameSize() 4495 auto *IntPtr = Builder.CreatePtrToInt(GEP->getPointerOperand(), IntPtrTy); in EmitCheckedInBoundsGEP()
|
| H A D | CGStmt.cpp | 2081 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt() 2230 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
|
| H A D | CGExpr.cpp | 743 PtrAsInt = Builder.CreatePtrToInt(Ptr, IntPtrTy); in EmitTypeCheck() 1991 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue() 1993 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType, in EmitStoreThroughLValue() 2166 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue() 2779 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
|
| H A D | CodeGenPGO.cpp | 937 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
|
| H A D | CGBuiltin.cpp | 80 return CGF.Builder.CreatePtrToInt(V, IntType); in EmitToInt() 2476 Value *Result = Builder.CreatePtrToInt(Ptr, IntPtrTy, "extend.cast"); in EmitBuiltinExpr() 3241 Exchange = Builder.CreatePtrToInt(Exchange, IntType); in EmitBuiltinExpr() 3244 Builder.CreatePtrToInt(EmitScalarExpr(E->getArg(2)), IntType); in EmitBuiltinExpr() 5758 ArgValue = Builder.CreatePtrToInt(ArgValue, RegisterType); in EmitSpecialRegisterBuiltin() 6052 StoreVal = Builder.CreatePtrToInt(StoreVal, Int32Ty); in EmitARMBuiltinExpr() 6930 StoreVal = Builder.CreatePtrToInt(StoreVal, Int64Ty); in EmitAArch64BuiltinExpr()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/IPO/ |
| H A D | MergeFunctions.cpp | 506 return Builder.CreatePtrToInt(V, DestTy); in createCast()
|
| H A D | LowerTypeTests.cpp | 685 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerTypeTestCall()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 891 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
|
| H A D | SROA.cpp | 1757 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue() 1762 return IRB.CreateBitCast(IRB.CreatePtrToInt(V, DL.getIntPtrType(OldTy)), in convertValue() 1765 return IRB.CreatePtrToInt(V, NewTy); in convertValue()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2197 Value *LA = Builder.CreatePtrToInt(LoadBasePtr, IntPtrTy); in processCopyingStore() 2198 Value *SA = Builder.CreatePtrToInt(StoreBasePtr, IntPtrTy); in processCopyingStore()
|