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

References

include/llvm/CodeGen/BasicTTIImpl.h
  420     case Instruction::ZExt:
  708     if (Opcode == Instruction::ZExt &&
  719     if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
  724           ((Opcode == Instruction::ZExt) ? ISD::ZEXTLOAD : ISD::SEXTLOAD);
  756         if (Opcode == Instruction::ZExt)
 1367           IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
 1431           IID == Intrinsic::smul_fix ? Instruction::SExt : Instruction::ZExt;
include/llvm/CodeGen/TargetLowering.h
 2356     case Instruction::ZExt:
include/llvm/IR/IRBuilder.h
 1894     return CreateCast(Instruction::ZExt, V, DestTy, Name);
include/llvm/IR/Instructions.h
 4778     return I->getOpcode() == ZExt;
include/llvm/IR/Operator.h
  447 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
include/llvm/IR/PatternMatch.h
 1318 inline CastClass_match<OpTy, Instruction::ZExt> m_ZExt(const OpTy &Op) {
 1319   return CastClass_match<OpTy, Instruction::ZExt>(Op);
 1323 inline match_combine_or<CastClass_match<OpTy, Instruction::ZExt>, OpTy>
 1335 inline match_combine_or<CastClass_match<OpTy, Instruction::ZExt>,
 1343     match_combine_or<CastClass_match<OpTy, Instruction::ZExt>,
lib/Analysis/CFLGraph.h
  530       case Instruction::ZExt:
lib/Analysis/ConstantFolding.cpp
 1353   case Instruction::ZExt:
lib/Analysis/DemandedBits.cpp
  266   case Instruction::ZExt:
lib/Analysis/InstructionSimplify.cpp
 3286         Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy);
lib/Analysis/LazyValueInfo.cpp
 1031   case Instruction::ZExt:
lib/Analysis/ObjCARCInstKind.cpp
  271     case Instruction::ZExt:
lib/Analysis/ScalarEvolution.cpp
 6450   case Instruction::ZExt:
lib/Analysis/TargetTransformInfo.cpp
 1213   case Instruction::ZExt:
lib/Analysis/ValueTracking.cpp
 1129   case Instruction::ZExt:
 2709   case Instruction::ZExt:
 4979   case Instruction::ZExt:
lib/AsmParser/LLLexer.cpp
  853   INSTKEYWORD(zext,        ZExt);
lib/Bitcode/Reader/BitcodeReader.cpp
 1042   case bitc::CAST_ZEXT    : return Instruction::ZExt;
lib/Bitcode/Writer/BitcodeWriter.cpp
  505   case Instruction::ZExt    : return bitc::CAST_ZEXT;
lib/CodeGen/AtomicExpandPass.cpp
  956   Instruction::CastOps CastOp = Instruction::ZExt;
lib/CodeGen/CodeGenPrepare.cpp
 4243   case Instruction::ZExt: {
 6249   Instruction::CastOps ExtType = Instruction::ZExt;
 6260     APInt WideConst = (ExtType == Instruction::ZExt) ?
lib/CodeGen/SelectionDAG/FastISel.cpp
 1885   case Instruction::ZExt:
lib/CodeGen/TargetLoweringBase.cpp
 1618   case ZExt:           return ISD::ZERO_EXTEND;
lib/ExecutionEngine/ExecutionEngine.cpp
  662     case Instruction::ZExt: {
lib/ExecutionEngine/Interpreter/Execution.cpp
 2026   case Instruction::ZExt:
lib/IR/ConstantFold.cpp
  313   case Instruction::ZExt: {
  527     if (opc == Instruction::ZExt || opc == Instruction::SExt ||
  692   case Instruction::ZExt:
 1134         if (CE1->getOpcode() == Instruction::ZExt) {
 1209         if (CE1->getOpcode() == Instruction::ZExt)  // Top bits known zero.
 1640     case Instruction::ZExt:
 1649         if (CE1->getOpcode() == Instruction::ZExt) isSigned = false;
 2094           (CE1->getOpcode() == Instruction::ZExt &&
lib/IR/ConstantRange.cpp
  635   case Instruction::ZExt:
lib/IR/Constants.cpp
 1248   case Instruction::ZExt:
 1573   case Instruction::ZExt:
 1652       (isSigned ? Instruction::SExt : Instruction::ZExt)));
 1707   return getFoldedCast(Instruction::ZExt, C, Ty, OnlyIfReduced);
 2991   case Instruction::ZExt:
lib/IR/Instruction.cpp
  341   case ZExt:          return "zext";
lib/IR/Instructions.cpp
 2454     case Instruction::ZExt:
 2496     case Instruction::ZExt:
 2673       return Instruction::ZExt;
 2753   case ZExt:          return new ZExtInst          (S, Ty, Name, InsertBefore);
 2775   case ZExt:          return new ZExtInst          (S, Ty, Name, InsertAtEnd);
 2796   return Create(Instruction::ZExt, S, Ty, Name, InsertBefore);
 2804   return Create(Instruction::ZExt, S, Ty, Name, InsertAtEnd);
 2921       (isSigned ? Instruction::SExt : Instruction::ZExt)));
 2935       (isSigned ? Instruction::SExt : Instruction::ZExt)));
 3118           return ZExt;                              // unsigned -> ZEXT
 3214   case Instruction::ZExt:
 3316 )  : CastInst(Ty, ZExt, S, Name, InsertBefore) {
 3322 )  : CastInst(Ty, ZExt, S, Name, InsertAtEnd) {
lib/Target/AArch64/AArch64FastISel.cpp
  879   case Instruction::ZExt: {
 5190   case Instruction::ZExt:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  126   case Instruction::ZExt:
  403   assert((Opcode == Instruction::SExt || Opcode == Instruction::ZExt) &&
  444   case Instruction::ZExt:
lib/Target/ARM/ARMCodeGenPrepare.cpp
  822     case Instruction::ZExt:
lib/Target/ARM/ARMFastISel.cpp
 2874     case Instruction::ZExt:
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  982     case Instruction::ZExt:
 1277       case Instruction::ZExt:
 1589       if (I->getOpcode() != Instruction::ZExt)
lib/Target/Mips/MipsFastISel.cpp
 2075   case Instruction::ZExt:
lib/Target/PowerPC/PPCFastISel.cpp
 1979     case Instruction::ZExt:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  167   case Instruction::ZExt:
  665   if (Opcode == Instruction::ZExt || Opcode == Instruction::UIToFP)
  689     if (Opcode == Instruction::ZExt || Opcode == Instruction::SExt) {
  773     if ((Opcode == Instruction::ZExt || Opcode == Instruction::SExt) &&
  783       if (Opcode == Instruction::ZExt)
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
 1370   case Instruction::ZExt:
lib/Target/X86/X86FastISel.cpp
 3614   case Instruction::ZExt:
lib/Target/X86/X86TargetTransformInfo.cpp
 3033   case Instruction::ZExt:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  108     case Instruction::ZExt:
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
   45   case Instruction::ZExt:
  105     case Instruction::ZExt:
  312     case Instruction::ZExt:
lib/Transforms/InstCombine/InstCombineCasts.cpp
  193   case Instruction::ZExt:
  422   case Instruction::ZExt:
  993   case Instruction::ZExt:  // zext(zext(x)) -> zext(x).
 1323   case Instruction::ZExt:  // sext(zext(x)) -> zext(x)
 1376     return CastInst::Create(Instruction::ZExt, Src, DestTy);
 1966   case Instruction::ZExt:
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4543   assert(LHS->getOpcode() == Instruction::ZExt);
 4544   assert(RHS->getOpcode() == Instruction::ZExt);
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1747   if (ExtOpcode != Instruction::ZExt && ExtOpcode != Instruction::SExt)
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  360   case Instruction::ZExt:
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1170     case Instruction::ZExt:
 1260     case Instruction::ZExt:
 1336     case Instruction::ZExt:
lib/Transforms/InstCombine/InstructionCombining.cpp
  262   if (CastOpcode != Instruction::ZExt)
 1581   CastInst::CastOps CastOpc = IsSext ? Instruction::SExt : Instruction::ZExt;
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  764           C = ConstantExpr::getCast(CastInst::ZExt, It.getCaseValue(), Int64Ty);
lib/Transforms/Scalar/GVN.cpp
  518     case Instruction::ZExt:
lib/Transforms/Scalar/GVNSink.cpp
  466     case Instruction::ZExt:
lib/Transforms/Scalar/IndVarSimplify.cpp
  897   if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
lib/Transforms/Scalar/LoopRerollPass.cpp
  754     case Instruction::ZExt:
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  151       case Instruction::ZExt:
lib/Transforms/Scalar/NewGVN.cpp
 2019     case Instruction::ZExt:
lib/Transforms/Scalar/SCCP.cpp
 1532       case Instruction::ZExt:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  225     case Instruction::ZExt:
lib/Transforms/Utils/BypassSlowDivision.cpp
  302       Builder.CreateCast(Instruction::ZExt, ShortQV, getSlowType());
  304       Builder.CreateCast(Instruction::ZExt, ShortRV, getSlowType());
lib/Transforms/Utils/Local.cpp
 2776     if (I->getOpcode() == Instruction::ZExt) {
 2876     auto *ExtInst = CastInst::Create(Instruction::ZExt, CI, ITy, "zext", I);
lib/Transforms/Utils/LoopRotationUtils.cpp
  578     case Instruction::ZExt:
lib/Transforms/Vectorize/LoopVectorize.cpp
 3351         case Instruction::ZExt:
 4229   case Instruction::ZExt:
 6258   case Instruction::ZExt:
 6293       } else if (I->getOpcode() == Instruction::ZExt ||
 6882     case Instruction::ZExt:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2479     case Instruction::ZExt:
 3035     case Instruction::ZExt:
 3480           MinBWs[ScalarRoot].second ? Instruction::SExt : Instruction::ZExt;
 3860     case Instruction::ZExt:
 5007   case Instruction::ZExt:
tools/lldb/source/Expression/IRInterpreter.cpp
  593       case Instruction::ZExt:
  877     case Instruction::ZExt: {