reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
  966   static Constant *getIntToPtr(Constant *C, Type *Ty,

References

lib/Analysis/ConstantFolding.cpp
  272         Result.push_back(ConstantExpr::getIntToPtr(CE, DstEltTy));
  857             Res = ConstantExpr::getIntToPtr(Res, ResTy);
  911     return ConstantExpr::getIntToPtr(C, ResTy);
lib/Analysis/InlineCost.cpp
  691         return ConstantExpr::getIntToPtr(COps[0], I.getType());
lib/Analysis/InstructionSimplify.cpp
 3257                                         ConstantExpr::getIntToPtr(RHSC, SrcTy),
 4078         return ConstantExpr::getIntToPtr(CI, GEPTy);
 4084         return ConstantExpr::getIntToPtr(CI, GEPTy);
lib/CodeGen/IndirectBrExpandPass.cpp
  154     BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(BBIndexC, BA->getType()));
lib/IR/AutoUpgrade.cpp
 3800     return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy),
lib/IR/BasicBlock.cpp
   76       BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
lib/IR/Constants.cpp
  334     C = ConstantExpr::getIntToPtr(C, PTy);
 1592     return getIntToPtr(C, Ty, OnlyIfReduced);
lib/IR/Core.cpp
 1712   return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal),
lib/Target/X86/X86ISelLowering.cpp
 2293   return ConstantExpr::getIntToPtr(
lib/Transforms/IPO/LowerTypeTests.cpp
  624         ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy));
  916       ExportGlobal(Name, ConstantExpr::getIntToPtr(C, Int8PtrTy));
  978         C = ConstantExpr::getIntToPtr(C, Ty);
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1253         ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy));
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4424       NewOp1 = ConstantExpr::getIntToPtr(RHSC, SrcTy);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2348       ODRIndicator = ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, -1),
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  587     GetArgTLS = ConstantExpr::getIntToPtr(
  594     GetRetvalTLS = ConstantExpr::getIntToPtr(
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  597   return ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, Mapping.Offset),
 1310   Constant *Aliasee = ConstantExpr::getIntToPtr(
lib/Transforms/Utils/Local.cpp
  709     BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement,
lib/Transforms/Utils/SanitizerStats.cpp
   52        ConstantExpr::getIntToPtr(
tools/clang/lib/CodeGen/CGExprConstant.cpp
 1859   C = llvm::ConstantExpr::getIntToPtr(C, destPtrTy);
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  994       auto *ObjCStr = llvm::ConstantExpr::getIntToPtr(
 1389     ProtocolBuilder.add(llvm::ConstantExpr::getIntToPtr(
 3053   Elements.add(llvm::ConstantExpr::getIntToPtr(
 3122       llvm::ConstantExpr::getIntToPtr(
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2978       Result = llvm::ConstantExpr::getIntToPtr(Result, CGM.Int8PtrTy);
tools/clang/lib/CodeGen/CGVTables.cpp
  624     builder.add(llvm::ConstantExpr::getIntToPtr(
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 3400         llvm::ConstantExpr::getIntToPtr(TypeNameField, CGM.Int8PtrTy);
tools/clang/lib/CodeGen/PatternInit.cpp
   53     return llvm::ConstantExpr::getIntToPtr(Int, PtrTy);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  252     return {fun_ty, ConstantExpr::getIntToPtr(fun_addr_int, fun_ptr_ty)};
  276     return {fun_ty, ConstantExpr::getIntToPtr(fun_addr_int, fun_ptr_ty)};
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  484         CFSCWB_ty, ConstantExpr::getIntToPtr(CFSCWB_addr_int, CFSCWB_ptr_ty)};
  868                           ConstantExpr::getIntToPtr(srN_addr_int, srN_ptr_ty)};
 1019                        ConstantExpr::getIntToPtr(ogC_addr_int, ogC_ptr_ty)};
 1301       ConstantExpr::getIntToPtr(symbol_addr_int, symbol_type);
 1376         ConstantExpr::getIntToPtr(class_addr, load_instruction->getType());
unittests/IR/ConstantsTest.cpp
  164               ConstantExpr::getIntToPtr(K, Int32PtrTy), Int32Ptr1Ty));
  167               ConstantExpr::getIntToPtr(K, Int32Ptr1Ty), Int32PtrTy));