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

References

include/llvm/CodeGen/BasicTTIImpl.h
 1143       Cost += ConcreteTTI->getArithmeticInstrCost(BinaryOperator::LShr, RetTy,
 1374       Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::LShr, RetTy,
 1438       Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::LShr, MulTy,
include/llvm/IR/InstrTypes.h
  372   DEFINE_HELPERS(LShr, Exact)  // CreateExactLShr
include/llvm/IR/Instruction.h
  166     return getOpcode() == Shl || getOpcode() == LShr;
include/llvm/IR/Operator.h
  143            OpC == Instruction::LShr;
  444   : public ConcreteOperator<PossiblyExactOperator, Instruction::LShr> {
include/llvm/IR/PatternMatch.h
  898 inline BinaryOp_match<LHS, RHS, Instruction::LShr> m_LShr(const LHS &L,
  900   return BinaryOp_match<LHS, RHS, Instruction::LShr>(L, R);
 1027     return Opcode == Instruction::LShr || Opcode == Instruction::AShr;
 1033     return Opcode == Instruction::LShr || Opcode == Instruction::Shl;
lib/Analysis/CFLGraph.h
  577       case Instruction::LShr:
lib/Analysis/DemandedBits.cpp
  199   case Instruction::LShr:
lib/Analysis/InstructionSimplify.cpp
 1306   if (Value *V = SimplifyRightShift(Instruction::LShr, Op0, Op1, isExact, Q,
 2936     case Instruction::LShr:
 4788   case Instruction::LShr:
 5303   case Instruction::LShr:
lib/Analysis/ObjCARCInstKind.cpp
  265     case Instruction::LShr:
lib/Analysis/ScalarEvolution.cpp
 4527   case Instruction::LShr:
 7589       OutOpCode = Instruction::LShr;
 7686   case Instruction::LShr:
lib/Analysis/ScalarEvolutionExpander.cpp
  862       return InsertBinop(Instruction::LShr, LHS,
lib/Analysis/TargetTransformInfo.cpp
 1167   case Instruction::LShr:
lib/Analysis/ValueTracking.cpp
 1192   case Instruction::LShr: {
 5476   case Instruction::LShr:
lib/AsmParser/LLLexer.cpp
  846   INSTKEYWORD(shl,   Shl);  INSTKEYWORD(lshr,  LShr); INSTKEYWORD(ashr,  AShr);
lib/AsmParser/LLParser.cpp
 3471                Opc == Instruction::LShr || Opc == Instruction::AShr) {
 3494     case Instruction::LShr:
lib/Bitcode/Reader/BitcodeReader.cpp
 1097     return IsFP ? -1 : Instruction::LShr;
 2552                      Opc == Instruction::LShr ||
 3910                    Opc == Instruction::LShr ||
lib/Bitcode/Writer/BitcodeWriter.cpp
  543   case Instruction::LShr: return bitc::BINOP_LSHR;
lib/CodeGen/CodeGenPrepare.cpp
 3762   if (Inst->getOpcode() == Instruction::LShr && !IsSExt)
 7018                 BinOp->getOpcode() == Instruction::LShr)) {
 7048   case Instruction::LShr:
lib/CodeGen/InterleavedLoadCombinePass.cpp
  923     case Instruction::LShr:
lib/CodeGen/SelectionDAG/FastISel.cpp
 1824   case Instruction::LShr:
lib/CodeGen/TargetLoweringBase.cpp
 1605   case LShr:           return ISD::SRL;
lib/ExecutionEngine/Interpreter/Execution.cpp
 2091   case Instruction::LShr:
lib/FuzzMutate/Operations.cpp
   27   Ops.push_back(binOpDescriptor(1, Instruction::LShr));
  105   case Instruction::LShr:
lib/IR/ConstantFold.cpp
  267   case Instruction::LShr: {
 1047     case Instruction::LShr:
 1258       case Instruction::LShr:
 1274     case Instruction::LShr:
 1354     case Instruction::LShr:
lib/IR/ConstantRange.cpp
  797   case Instruction::LShr:
lib/IR/Constants.cpp
 1904   case Instruction::LShr:
 2329   return get(Instruction::LShr, C1, C2,
 2370     case Instruction::LShr: // X >>u 0 = X
lib/IR/Instruction.cpp
  133   case Instruction::LShr:
  361   case LShr:           return "lshr";
lib/IR/Instructions.cpp
 2319   case LShr:
lib/IR/Verifier.cpp
 3206   case Instruction::LShr:
lib/Target/AArch64/AArch64FastISel.cpp
 1200             SI->getOpcode() == Instruction::LShr ||
 1283         case Instruction::LShr: ShiftType = AArch64_AM::LSR; break;
 4798     case Instruction::LShr:
 4828   case Instruction::LShr:
 5169   case Instruction::LShr:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  120   case Instruction::LShr:
lib/Target/ARM/ARMFastISel.cpp
 2879     case Instruction::LShr:
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  986     case Instruction::LShr: // Shift right is ok.
 1238     case Instruction::LShr:
 1273       case Instruction::LShr:
 1287   if (Opc == Instruction::Shl || Opc == Instruction::LShr)
 1570     case Instruction::LShr:
 1685       if (I->getOpcode() != Instruction::LShr)
lib/Target/Mips/MipsFastISel.cpp
 1979   if (Opcode == Instruction::AShr || Opcode == Instruction::LShr) {
 1985     bool IsZExt = Opcode == Instruction::LShr;
 2004     case Instruction::LShr:
 2027   case Instruction::LShr:
 2062   case Instruction::LShr:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  156   case Instruction::LShr:
  455                 J->getOpcode() == Instruction::LShr)) {
lib/Target/RISCV/RISCVTargetTransformInfo.cpp
   61   case Instruction::LShr:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  156   case Instruction::LShr:
  403     if (Opcode == Instruction::Shl || Opcode == Instruction::LShr ||
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
   56     case Instruction::LShr:
lib/Target/X86/X86FastISel.cpp
 1786     case Instruction::LShr: OpReg = X86::SHR8rCL; break;
 1796     case Instruction::LShr: OpReg = X86::SHR16rCL; break;
 1805     case Instruction::LShr: OpReg = X86::SHR32rCL; break;
 1814     case Instruction::LShr: OpReg = X86::SHR64rCL; break;
 3620   case Instruction::LShr:
lib/Target/X86/X86TargetTransformInfo.cpp
  261       Cost += getArithmeticInstrCost(Instruction::LShr, Ty, Op1Info, Op2Info,
  279       return getArithmeticInstrCost(Instruction::LShr, Ty, Op1Info, Op2Info,
 3027   case Instruction::LShr:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   98     case Instruction::LShr:
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  265   if (I.getOpcode() != Instruction::LShr)
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1708   if (Opc == Instruction::LShr || Opc == Instruction::Shl)
 3128         if (Op0I->getOpcode() == Instruction::LShr) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  183   case Instruction::LShr:
  386   case Instruction::LShr: {
 1043   case Instruction::LShr: {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2846     case Instruction::LShr:
 3588   Value *T0 = XShiftOpcode == Instruction::BinaryOps::LShr
 3981     case Instruction::LShr:
lib/Transforms/InstCombine/InstCombineInternal.h
  269       case Instruction::LShr: // 0 >>u X = 0
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
   79     if (I->getOpcode() == Instruction::LShr && !I->isExact()) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1002       if (UserI->getOpcode() != Instruction::LShr ||
lib/Transforms/InstCombine/InstCombineSelect.cpp
  253   case Instruction::LShr:
  271   case Instruction::LShr:
lib/Transforms/InstCombine/InstCombineShifts.cpp
  443   case Instruction::LShr:
  563   case Instruction::LShr:
  664         assert(I.getOpcode() == Instruction::LShr && "Unknown logical shift");
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  496   case Instruction::LShr: {
  927   bool isLshr = (Shr->getOpcode() == Instruction::LShr);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1162     case Instruction::LShr:
 1230     case Instruction::LShr:
 1328     case Instruction::LShr:
lib/Transforms/Instrumentation/PoisonChecking.cpp
  173   case Instruction::LShr:
lib/Transforms/Scalar/GVN.cpp
  510     case Instruction::LShr:
lib/Transforms/Scalar/GVNSink.cpp
  458     case Instruction::LShr:
lib/Transforms/Scalar/IndVarSimplify.cpp
 1103   case Instruction::LShr:
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
 1710     else if (DefX->getOpcode() == Instruction::LShr)
lib/Transforms/Scalar/LoopRerollPass.cpp
  751     case Instruction::LShr:
lib/Transforms/Scalar/NewGVN.cpp
 2013     case Instruction::LShr:
lib/Transforms/Scalar/SCCP.cpp
 1602       case Instruction::LShr:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  222     case Instruction::LShr:
lib/Transforms/Utils/Local.cpp
 1711     case Instruction::LShr:
lib/Transforms/Utils/LoopRotationUtils.cpp
  553     case Instruction::LShr:
lib/Transforms/Utils/SimplifyIndVar.cpp
  117   case Instruction::LShr:
  135     if (UseInst->getOpcode() == Instruction::LShr) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 4150   case Instruction::LShr:
 6195   case Instruction::LShr:
 6864     case Instruction::LShr:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2580     case Instruction::LShr:
 3094     case Instruction::LShr:
 3978     case Instruction::LShr:
tools/lldb/source/Expression/IRInterpreter.cpp
  579       case Instruction::LShr:
  705     case Instruction::LShr:
  782       case Instruction::LShr:
tools/llvm-stress/llvm-stress.cpp
  403     case 8: {Op = Instruction::LShr; break; }