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

References

include/llvm/Analysis/TargetFolder.h
  196     return CreateCast(Instruction::IntToPtr, C, DestTy);
include/llvm/Analysis/TargetTransformInfoImpl.h
   73     case Instruction::IntToPtr: {
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  488           Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr,
include/llvm/IR/ConstantFolder.h
  212     return CreateCast(Instruction::IntToPtr, C, DestTy);
include/llvm/IR/IRBuilder.h
 1976     return CreateCast(Instruction::IntToPtr, V, DestTy, Name);
include/llvm/IR/Instructions.h
 5094     return I->getOpcode() == IntToPtr;
include/llvm/IR/NoFolder.h
  276     return CreateCast(Instruction::IntToPtr, C, DestTy);
lib/Analysis/CFLGraph.h
  522       case Instruction::IntToPtr: {
lib/Analysis/ConstantFolding.cpp
  338         Cast = Instruction::IntToPtr;
  489     if (CE->getOpcode() == Instruction::IntToPtr &&
  540         Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy);
  901     if (CE->getOpcode() == Instruction::IntToPtr) {
 1218       if (CE0->getOpcode() == Instruction::IntToPtr) {
 1242         if (CE0->getOpcode() == Instruction::IntToPtr) {
 1317       if (CE->getOpcode() == Instruction::IntToPtr) {
 1332   case Instruction::IntToPtr:
lib/Analysis/MemoryBuiltins.cpp
  604     if (CE->getOpcode() == Instruction::IntToPtr)
  899               cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) ||
lib/Analysis/ObjCARCInstKind.cpp
  273     case Instruction::IntToPtr:
lib/Analysis/ScalarEvolutionExpander.cpp
  113           Op == Instruction::IntToPtr) &&
  128   if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) &&
  132            CI->getOpcode() == Instruction::IntToPtr) &&
  138            CE->getOpcode() == Instruction::IntToPtr) &&
lib/Analysis/TargetTransformInfo.cpp
 1219   case Instruction::IntToPtr:
lib/Analysis/ValueTracking.cpp
 1126   case Instruction::IntToPtr:
 2010       if (CE->getOpcode() == Instruction::IntToPtr ||
 3244     if (CE->getOpcode() == Instruction::IntToPtr) {
 3850       if (Operator::getOpcode(V) == Instruction::IntToPtr) {
lib/AsmParser/LLLexer.cpp
  861   INSTKEYWORD(inttoptr,    IntToPtr);
lib/Bitcode/Reader/BitcodeReader.cpp
 1051   case bitc::CAST_INTTOPTR: return Instruction::IntToPtr;
lib/Bitcode/Writer/BitcodeWriter.cpp
  514   case Instruction::IntToPtr: return bitc::CAST_INTTOPTR;
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2226   case Instruction::IntToPtr: {
lib/CodeGen/CodeGenPrepare.cpp
 3548   case Instruction::IntToPtr:
 4052   case Instruction::IntToPtr: {
lib/CodeGen/SelectionDAG/FastISel.cpp
  358            I->getOpcode() == Instruction::IntToPtr) &&
  965     if (C->getOpcode() == Instruction::IntToPtr) {
 1894   case Instruction::IntToPtr: // Deliberate fall-through.
lib/CodeGen/TargetLoweringBase.cpp
 1627   case IntToPtr:       return ISD::BITCAST;
lib/ExecutionEngine/ExecutionEngine.cpp
  744     case Instruction::IntToPtr: {
lib/ExecutionEngine/Interpreter/Execution.cpp
 2044   case Instruction::IntToPtr:
lib/ExecutionEngine/Orc/IndirectionUtils.cpp
  223     ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal,
lib/IR/AutoUpgrade.cpp
 3781     return CastInst::Create(Instruction::IntToPtr, Temp, DestTy);
lib/IR/ConstantFold.cpp
  624   case Instruction::IntToPtr:   //always treated as unsigned
lib/IR/ConstantRange.cpp
  661   case Instruction::IntToPtr:
lib/IR/Constants.cpp
 1257   case Instruction::IntToPtr:
 1591   case Instruction::IntToPtr:
 1801   return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced);
 3000   case Instruction::IntToPtr:
lib/IR/Globals.cpp
  455     case Instruction::IntToPtr:
lib/IR/Instruction.cpp
  349   case IntToPtr:      return "inttoptr";
lib/IR/Instructions.cpp
 2512     case Instruction::IntToPtr:
 2762   case IntToPtr:      return new IntToPtrInst      (S, Ty, Name, InsertBefore);
 2784   case IntToPtr:      return new IntToPtrInst      (S, Ty, Name, InsertAtEnd);
 2906     return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore);
 3166       return IntToPtr;                              // int -> ptr
 3241   case Instruction::IntToPtr:
 3423 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
 3429 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) {
lib/IR/Verifier.cpp
 1917   if (CE->getOpcode() == Instruction::IntToPtr ||
 1919     auto *PtrTy = CE->getOpcode() == Instruction::IntToPtr
 1922     StringRef Msg = CE->getOpcode() == Instruction::IntToPtr
lib/Target/AArch64/AArch64FastISel.cpp
  609   case Instruction::IntToPtr:
  949   case Instruction::IntToPtr:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  128   case Instruction::IntToPtr:
lib/Target/ARM/ARMFastISel.cpp
  742     case Instruction::IntToPtr:
lib/Target/Mips/MipsFastISel.cpp
  569   case Instruction::IntToPtr:
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2054   case Instruction::IntToPtr: {
lib/Target/PowerPC/PPCFastISel.cpp
  332     case Instruction::IntToPtr:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  169   case Instruction::IntToPtr:
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  249   case Instruction::IntToPtr: {
lib/Target/X86/X86FastISel.cpp
  859   case Instruction::IntToPtr:
 1034   case Instruction::IntToPtr:
 3641   case Instruction::IntToPtr: // Deliberate fall-through.
lib/Target/X86/X86TargetTransformInfo.cpp
 3035   case Instruction::IntToPtr:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  117     case Instruction::IntToPtr:
lib/Transforms/IPO/PartialInlining.cpp
  856     case Instruction::IntToPtr:
lib/Transforms/InstCombine/InstCombineCasts.cpp
  252   if ((Res == Instruction::IntToPtr && SrcTy != DstIntPtrTy) ||
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3240   case Instruction::IntToPtr:
lib/Transforms/InstCombine/InstructionCombining.cpp
 1944           return CastInst::Create(Instruction::IntToPtr, NewSub, GEPType);
lib/Transforms/Scalar/GVN.cpp
  527     case Instruction::IntToPtr:
lib/Transforms/Scalar/GVNSink.cpp
  475     case Instruction::IntToPtr:
lib/Transforms/Scalar/InferAddressSpaces.cpp
  853     if (Op->getOpcode() == Instruction::IntToPtr &&
lib/Transforms/Scalar/NewGVN.cpp
 2028     case Instruction::IntToPtr:
lib/Transforms/Scalar/SCCP.cpp
 1538       case Instruction::IntToPtr:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  230     case Instruction::IntToPtr:
lib/Transforms/Utils/Evaluator.cpp
   90   case Instruction::IntToPtr:
lib/Transforms/Utils/SimplifyCFG.cpp
  425     if (CE->getOpcode() == Instruction::IntToPtr)
lib/Transforms/Vectorize/LoopVectorize.cpp
 4235   case Instruction::IntToPtr:
 6264   case Instruction::IntToPtr:
 6862     case Instruction::IntToPtr:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2485     case Instruction::IntToPtr:
 3041     case Instruction::IntToPtr:
 3866     case Instruction::IntToPtr:
tools/lldb/source/Expression/IRInterpreter.cpp
  262         case Instruction::IntToPtr:
  465       case Instruction::IntToPtr:
  576       case Instruction::IntToPtr:
 1174     case Instruction::IntToPtr: {
tools/polly/lib/Support/SCEVAffinator.cpp
  533     case Instruction::IntToPtr:
tools/polly/lib/Support/SCEVValidator.cpp
  445       case Instruction::IntToPtr:
unittests/IR/InstructionsTest.cpp
  433                                            CastInst::IntToPtr,
  441                                            CastInst::IntToPtr,
  449                                            CastInst::IntToPtr,
  455   EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
  462   EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
  481   EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
  495   EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
  499             CastInst::IntToPtr);
unittests/Linker/LinkModulesTest.cpp
   54     Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One,