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

References

include/llvm/CodeGen/BasicTTIImpl.h
  425     case Instruction::AddrSpaceCast:
  712     if (Opcode == Instruction::AddrSpaceCast &&
include/llvm/IR/IRBuilder.h
 1986     return CreateCast(Instruction::AddrSpaceCast, V, DestTy, Name);
include/llvm/IR/Instructions.h
 5224     return I->getOpcode() == AddrSpaceCast;
lib/Analysis/BasicAliasAnalysis.cpp
  487         Op->getOpcode() == Instruction::AddrSpaceCast) {
lib/Analysis/CFLGraph.h
  528       case Instruction::AddrSpaceCast:
lib/Analysis/CaptureTracking.cpp
  345     case Instruction::AddrSpaceCast:
lib/Analysis/ConstantFolding.cpp
 1361   case Instruction::AddrSpaceCast:
lib/Analysis/TargetTransformInfo.cpp
 1225   case Instruction::AddrSpaceCast: {
lib/Analysis/ValueTracking.cpp
 3722                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
 4328   case Instruction::AddrSpaceCast:
lib/AsmParser/LLLexer.cpp
  864   INSTKEYWORD(addrspacecast, AddrSpaceCast);
lib/Bitcode/Reader/BitcodeReader.cpp
 1053   case bitc::CAST_ADDRSPACECAST: return Instruction::AddrSpaceCast;
lib/Bitcode/Writer/BitcodeWriter.cpp
  516   case Instruction::AddrSpaceCast: return bitc::CAST_ADDRSPACECAST;
lib/CodeGen/CodeGenPrepare.cpp
 3540   case Instruction::AddrSpaceCast:
 4070   case Instruction::AddrSpaceCast: {
lib/CodeGen/StackProtector.cpp
  190     case Instruction::AddrSpaceCast:
lib/CodeGen/TargetLoweringBase.cpp
 1629   case AddrSpaceCast:  return ISD::ADDRSPACECAST;
lib/IR/ConstantFold.cpp
  534       opc != Instruction::AddrSpaceCast)
  547                opc != Instruction::AddrSpaceCast &&
  728   case Instruction::AddrSpaceCast:
lib/IR/ConstantRange.cpp
  663   case Instruction::AddrSpaceCast:
lib/IR/Constants.cpp
 1259   case Instruction::AddrSpaceCast:
 1595   case Instruction::AddrSpaceCast:
 1818   assert(CastInst::castIsValid(Instruction::AddrSpaceCast, C, DstTy) &&
 1834   return getFoldedCast(Instruction::AddrSpaceCast, C, DstTy, OnlyIfReduced);
 3002   case Instruction::AddrSpaceCast:
lib/IR/Instruction.cpp
  352   case AddrSpaceCast: return "addrspacecast";
lib/IR/Instructions.cpp
 2504     case Instruction::AddrSpaceCast:
 2689         return Instruction::AddrSpaceCast;
 2709         return Instruction::AddrSpaceCast;
 2764   case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertBefore);
 2786   case AddrSpaceCast: return new AddrSpaceCastInst (S, Ty, Name, InsertAtEnd);
 2882     return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertAtEnd);
 2895     return Create(Instruction::AddrSpaceCast, S, Ty, Name, InsertBefore);
 3163         return AddrSpaceCast;
 3278   case Instruction::AddrSpaceCast: {
 3447 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertBefore) {
 3453 ) : CastInst(Ty, AddrSpaceCast, S, Name, InsertAtEnd) {
lib/IR/Value.cpp
  498                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
  589                Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
   97   if (CE->getOpcode() == Instruction::AddrSpaceCast) {
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  239   if (CE && CE->getOpcode() == Instruction::AddrSpaceCast) {
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  457     case Instruction::AddrSpaceCast:
  574     if (UseInst->getOpcode() == Instruction::AddrSpaceCast) {
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2014   case Instruction::AddrSpaceCast: {
lib/Transforms/IPO/FunctionAttrs.cpp
  471     case Instruction::AddrSpaceCast:
  885       case Instruction::AddrSpaceCast:
  998     case Instruction::AddrSpaceCast:
lib/Transforms/IPO/GlobalOpt.cpp
  310                  CE->getOpcode() == Instruction::AddrSpaceCast) {
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
   44         CE->getOpcode() == Instruction::AddrSpaceCast ||
lib/Transforms/InstCombine/InstructionCombining.cpp
 2287       case Instruction::AddrSpaceCast:
lib/Transforms/Scalar/GVN.cpp
  528     case Instruction::AddrSpaceCast:
lib/Transforms/Scalar/InferAddressSpaces.cpp
  230   case Instruction::AddrSpaceCast:
  252   case Instruction::AddrSpaceCast:
  448   if (I->getOpcode() == Instruction::AddrSpaceCast) {
  509   if (CE->getOpcode() == Instruction::AddrSpaceCast) {
  850     if (Op->getOpcode() == Instruction::AddrSpaceCast)
lib/Transforms/Scalar/NewGVN.cpp
 1992     case Instruction::AddrSpaceCast:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  231     case Instruction::AddrSpaceCast:
lib/Transforms/Scalar/TailRecursionElimination.cpp
  159       case Instruction::AddrSpaceCast:
unittests/IR/InstructionsTest.cpp
  242   EXPECT_EQ(CastInst::AddrSpaceCast, CastInst::getCastOpcode(v2ptr32, true,
  282   EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast,
  285   EXPECT_FALSE(CastInst::castIsValid(Instruction::AddrSpaceCast,
  482                                            CastInst::AddrSpaceCast,
  488   EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::AddrSpaceCast,