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

References

include/llvm/CodeGen/MachineFunction.h
  407     assert(MI->isCall() &&
  986     assert(CallI->isCall());
include/llvm/CodeGen/TargetInstrInfo.h
 1690     return Inst.isReturn() && Inst.isCall();
lib/CodeGen/AggressiveAntiDepBreaker.cpp
  389     if (MI.isCall() || MI.hasExtraDefRegAllocReq() || TII->isPredicated(MI) ||
  466   bool Special = MI.isCall() || MI.hasExtraSrcRegAllocReq() ||
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  274           if (MI.isCall() && MO.getReg() == SP)
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  622     if (I->isCall())
  712       if (!MI.isCall())
 1654   if (SP->areAllCallsDescribed() && MI->isCall() && !MI->hasDelaySlot())
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  169   assert(MI->isCall() && "This should be a call instruction!");
  246         if (MI.isCall())
lib/CodeGen/AsmPrinter/WinException.cpp
  459           MI.isCall() && !EHStreamer::callToNoUnwindFunction(&MI)) {
lib/CodeGen/BranchFolding.cpp
  167     if (MI.isCall(MachineInstr::IgnoreBundle))
  501     if (I->isCall())
 1331   return MBB2I->isCall() && !MBB1I->isCall();
 1331   return MBB2I->isCall() && !MBB1I->isCall();
lib/CodeGen/CFGuardLongjmp.cpp
   78       if (!MI.isCall() || MI.getNumOperands() < 1)
lib/CodeGen/CriticalAntiDepBreaker.cpp
  183       MI.isCall() || MI.hasExtraSrcRegAllocReq() || TII->isPredicated(MI);
  604     if (MI.isCall() || MI.hasExtraDefRegAllocReq() || TII->isPredicated(MI))
lib/CodeGen/GCRootLowering.cpp
  278       if (MI->isCall()) {
lib/CodeGen/GlobalISel/InstructionSelect.cpp
  236       if ((MI.isCall() && !MI.isReturn()) || MI.isStackAligningInlineAsm())
lib/CodeGen/IfConversion.cpp
 1847     if (DI2->isCall(MachineInstr::IgnoreBundle))
 1896     if (DI1->isCall(MachineInstr::IgnoreBundle))
 2184     if (MI->isCall(MachineInstr::IgnoreBundle))
lib/CodeGen/ImplicitNullChecks.cpp
  232   if (MI->isCall() || MI->mayRaiseFPException() ||
lib/CodeGen/InlineSpiller.cpp
  869   if (MI->isCall())
lib/CodeGen/LiveDebugValues.cpp
  817         !(MI.isCall() && MO.getReg() == SP)) {
lib/CodeGen/LiveRangeEdit.cpp
  234   if (UseMI->isCall())
lib/CodeGen/MIRParser/MIRParser.cpp
  361     if (!CallI->isCall(MachineInstr::IgnoreBundle))
lib/CodeGen/MachineCSE.cpp
  405   if (MI->mayStore() || MI->isCall() || MI->isTerminator() ||
lib/CodeGen/MachineFunction.cpp
  371   assert((!MI->isCall(MachineInstr::IgnoreBundle) ||
  828   assert(New->isCall() && "Call site info refers only to call instructions!");
  848   assert(New->isCall() && "Call site info refers only to call instructions!");
lib/CodeGen/MachineInstr.cpp
 1168   if (mayStore() || isCall() || isPHI() ||
 1291       !isCall() &&
 1381   return mayStore() || isCall() || hasUnmodeledSideEffects();
lib/CodeGen/MachineOutliner.cpp
 1258           if (MI.isCall())
lib/CodeGen/MachinePipeliner.cpp
  629   return MI.isCall() || MI.mayRaiseFPException() ||
lib/CodeGen/MachineRegisterInfo.cpp
  571   if (!MI.isCall())
lib/CodeGen/MachineScheduler.cpp
  443   return MI->isCall() || TII->isSchedulingBoundary(*MI, MBB, *MF);
lib/CodeGen/MachineSink.cpp
 1276     if (MI->isCall())
lib/CodeGen/MachineTraceMetrics.cpp
  115     if (MI.isCall())
lib/CodeGen/MachineVerifier.cpp
 2308     if (!CSInfo.first->isCall())
lib/CodeGen/PeepholeOptimizer.cpp
 1778               if (MI->isCall())
lib/CodeGen/PostRASchedulerList.cpp
  342       if (MI.isCall() || TII->isSchedulingBoundary(MI, &MBB, Fn)) {
lib/CodeGen/RegAllocFast.cpp
 1151   if (MI.isCall()) {
lib/CodeGen/RegUsageInfoPropagate.cpp
  117       if (!MI.isCall())
lib/CodeGen/ScheduleDAGInstrs.cpp
  215   if (!ExitMI || (!ExitMI->isCall() && !ExitMI->isBarrier())) {
  535   return MI->isCall() || MI->hasUnmodeledSideEffects() ||
  572     SU->isCall = MI.isCall();
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  866     if (MI->isCall() && DAG->getTarget().Options.EnableDebugEntryValues)
  914         if (NewInsn && NewInsn->isCall())
  927       if (NewInsn && NewInsn->isCall())
lib/CodeGen/ShrinkWrap.cpp
  290       UseOrDefCSR = (!MI.isCall() && PhysReg == SP) ||
lib/CodeGen/SplitKit.cpp
  104       if (I->isCall()) {
lib/CodeGen/TailDuplicator.cpp
  618     if (PreRegAlloc && MI.isCall())
lib/CodeGen/TargetInstrInfo.cpp
  145     if (MI->isCall())
lib/CodeGen/TwoAddressInstructionPass.cpp
  890   if (KillMI->hasUnmodeledSideEffects() || KillMI->isCall() ||
  950     if (OtherMI.hasUnmodeledSideEffects() || OtherMI.isCall() ||
 1124     if (OtherMI.hasUnmodeledSideEffects() || OtherMI.isCall() ||
lib/CodeGen/UnreachableBlockElim.cpp
  153       if (I.isCall(MachineInstr::IgnoreBundle))
lib/CodeGen/XRayInstrumentation.cpp
  113         if (T.isCall())
lib/Target/AArch64/AArch64AsmPrinter.cpp
  805     if (MII == MBB.end() || MII->isCall() ||
lib/Target/AArch64/AArch64InstrInfo.cpp
 5118     if (MI.isCall())
 5251                     [](const MachineInstr &MI) { return MI.isCall(); }))
 5260              FrameID != MachineOutlinerTailCall && FirstCand.back()->isCall())
 5340   if (any_of(MBB, [](MachineInstr &MI) { return MI.isCall(); }))
 5434   if (MI.isCall()) {
 5554     return MI.isCall() && !MI.isReturn();
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
 1143     if (MI.isCall())
 1354     if (MI.isCall())
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  293     if (!MI.isReturn() && !MI.isCall())
  316     else if (MI.isCall())
  417       if (MI.isCall())
  628     if (RegsNeedingCSDBBeforeUse.any() && (MI.isCall() || MI.isTerminator()))
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  853       if (MI.isCall()) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  861       (MI.isReturn() && MI.isCall() && !callWaitsOnFunctionEntry(MI))) {
  941     if (MI.isCall() && callWaitsOnFunctionEntry(MI)) {
 1256   } else if (Inst.isCall()) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 2771   if (MI.isCall() || MI.isInlineAsm())
 2800   if (MI.isCall())
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  349           if (I->mayStore() || I->isBarrier() || I->isCall() ||
lib/Target/ARC/ARCOptAddrMode.cpp
  398     if (MI->mayStore() || MI->isCall() || MI->isInlineAsm() ||
  429     if (MI->mayStore() || MI->isCall() || MI->isInlineAsm() ||
lib/Target/ARM/ARMBaseInstrInfo.cpp
 1986   if (!MI.isCall() && MI.definesRegister(ARM::SP))
lib/Target/ARM/ARMISelLowering.cpp
 9837       if (!II->isCall()) continue;
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  541     } else if (definesCPSR(*MBBI) || MBBI->isCall() || MBBI->isBranch()) {
 2114     if (I->isCall() || I->isTerminator() || I->hasUnmodeledSideEffects())
 2401       if (MI.isCall() || MI.isTerminator()) {
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
   46           MI->isCall() ||
lib/Target/ARM/Thumb2SizeReduction.cpp
 1100     if (MI->isCall()) {
lib/Target/AVR/AVRFrameLowering.cpp
  312   for (auto I = MI, E = MBB.end(); I != E && !I->isCall();) {
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
  181           (SecondTerm->isBranch() || SecondTerm->isCall()) &&
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1918   if (MI.isCall())
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  687   if (MI->isCall() || MI->isBarrier() || MI->isBranch())
lib/Target/Hexagon/HexagonFrameLowering.cpp
  286       if (MI->isCall())
  862         else if (T->isCall())
lib/Target/Hexagon/HexagonInstrInfo.cpp
 1648   if (MI.isCall() || isTailCall(MI)) {
 1693   if (MI.isCall()) {
 2018          !isMemOp(MI) && !MI.isBranch() && !MI.isReturn() && !MI.isCall();
 2039   if (MI.isCall())
lib/Target/Hexagon/HexagonNewValueJump.cpp
  206   if (MII->isCall())
lib/Target/Hexagon/HexagonRegisterInfo.cpp
  259         if (MI->isCall())
lib/Target/Hexagon/HexagonStoreWidening.cpp
  270     if (MI->isCall() || MI->hasUnmodeledSideEffects())
lib/Target/Hexagon/HexagonSubtarget.cpp
  207     if (DAG->SUnits[su].getInstr()->isCall())
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
 1106            MJ.isCall() || MJ.isTerminator();
 1197   if (I.isCall() || J.isCall())
 1197   if (I.isCall() || J.isCall())
 1237     if (MI.isCall() || HII->isDeallocRet(MI) || HII->isNewValueJump(MI))
 1252          (J.isBranch() || J.isCall() || J.isBarrier());
 1271     assert((J.isCall() || HII->isTailCall(J)) && "Regmask on a non-call");
 1361       if (PI->isCall()) {
 1425     if (I.isCall() || HII->isJumpR(I) || I.isReturn() || HII->isTailCall(I)) {
 1485     if (isDirectJump(I) && !J.isBranch() && !J.isCall() &&
 1583     if ((DepType == SDep::Anti || DepType == SDep::Output) && J.isCall()) {
lib/Target/Hexagon/RDFDeadCode.cpp
   59   if (MI->mayStore() || MI->isBranch() || MI->isCall() || MI->isReturn())
lib/Target/Hexagon/RDFGraph.cpp
  229   if (MI.isCall() || MI.isBranch()) {
  610   if (In.isCall())
  619   if (In.isCall() || In.isReturn() || In.isInlineAsm())
 1252     if (In.isCall())
lib/Target/Lanai/LanaiAsmPrinter.cpp
  202     if (I->isCall()) {
lib/Target/Lanai/LanaiDelaySlotFiller.cpp
  200   assert((!MI->isCall() && !MI->isReturn()) &&
  230   unsigned E = MI->isCall() || MI->isReturn() ? MCID.getNumOperands()
  250   if (MI->isCall() || MI->isReturn())
lib/Target/Mips/MipsAsmPrinter.cpp
  248       (MI->isReturn() || MI->isCall() || MI->isIndirectBranch())) {
lib/Target/Mips/MipsDelaySlotFiller.cpp
  355   if (MI.isCall())
  367   assert(MI.isCall());
  631             DSI->isCall()) {
  691     assert((!CurrI->isCall() && !CurrI->isReturn() && !CurrI->isBranch()) &&
  767   if (DisableForwardSearch || !Slot->isCall())
  923   return (Candidate.isTerminator() || Candidate.isCall() ||
lib/Target/Mips/MipsOptimizePICCall.cpp
  268   if (!MI.isCall())
lib/Target/PowerPC/PPCAsmPrinter.cpp
  363     if (MII == MBB.end() || MII->isCall() ||
lib/Target/PowerPC/PPCInstrInfo.cpp
 4035           if (CallMI.isCall() && CallMI.getOperand(0).isGlobal()) {
lib/Target/PowerPC/PPCQPXLoadSplat.cpp
   71       if (MI->hasUnmodeledSideEffects() || MI->isCall()) {
lib/Target/Sparc/DelaySlotFiller.cpp
  194   if (slot->isCall())
  355   if (!I->isCall())
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  589     if (MII->isCall())
lib/Target/SystemZ/SystemZHazardRecognizer.cpp
  416   SU.isCall = MI->isCall();
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  541         if (MI.isCall()) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  261       if (MI.isCall()) {
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  210       if (!MI.isCall()) {
  254   if (MI.isCall()) {
lib/Target/WebAssembly/WebAssemblyUtilities.cpp
   49   if (!MI.isCall())
lib/Target/X86/X86AvoidTrailingCall.cpp
   57   return MI.isCall() && !MI.isReturn();
lib/Target/X86/X86CallFrameOptimization.cpp
  332   if (MI->isCall() || MI->mayStore())
  393   for (auto J = I; !J->isCall(); ++J)
  466   if (I == MBB.end() || !I->isCall())
lib/Target/X86/X86FixupLEAs.cpp
  282     if (CurInst->isCall() || CurInst->isInlineAsm())
lib/Target/X86/X86FloatingPoint.cpp
  432     if (MI.isCall())
 1440   if (MI.isCall()) {
lib/Target/X86/X86FrameLowering.cpp
  506     if (MI.isCall() && MI.getOperand(0).isSymbol() &&
 2620         if (!MI.isCall())
 2737   if (!Prev->isCall() || !Prev->getOperand(1).isRegMask())
 2897     while (CI != B && !std::prev(CI)->isCall())
lib/Target/X86/X86ISelLowering.cpp
31132       if (!II.isCall())
lib/Target/X86/X86IndirectBranchTracking.cpp
  131       if (!I->isCall())
lib/Target/X86/X86InstrInfo.cpp
  154   if (MI.isCall()) {
  159           I->isCall())
lib/Target/X86/X86MCInstLower.cpp
 2097         if (MBBI->isCall())
 2495   if (MI->isCall()) {
lib/Target/X86/X86PadShortFunction.cpp
  130       assert(ReturnLoc->isReturn() && !ReturnLoc->isCall() &&
  185     if (MI.isReturn() && !MI.isCall()) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  858       if (!MI.isCall() && !MI.isBranch())
 1796           assert(!MI.isCall() && "Must not try to post-load harden a call!");
 1833         if ((MI.isCall() || MI.isBranch()) && HardenIndirectCallsAndJumps)
 1841       if (!MI.isCall() && !MI.isReturn())
 1846       if (MI.isReturn() && !MI.isCall()) {
 1854       assert(MI.isCall() && "Should only reach here for calls!");
lib/Target/X86/X86VZeroUpper.cpp
  155     if (MI.isCall() && MO.isRegMask() && !clobbersAllYmmAndZmmRegs(MO))
  169   assert(MI.isCall() && "Can only be called on call instructions.");
  203     bool IsCall = MI.isCall();
lib/Target/X86/X86WinAllocaExpander.cpp
  172       } else if (MI.isCall() || isPushPop(MI)) {