Home
last modified time | relevance | path

Searched refs:OtherMI (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp263 for (MachineInstr &OtherMI : llvm::make_range(std::next(OldPos), KillPos)) { in sink3AddrInstruction()
265 if (OtherMI.isDebugValue()) in sink3AddrInstruction()
270 for (unsigned i = 0, e = OtherMI.getNumOperands(); i != e; ++i) { in sink3AddrInstruction()
271 MachineOperand &MO = OtherMI.getOperand(i); in sink3AddrInstruction()
280 if (MO.isKill() || (LIS && isPlainlyKilled(&OtherMI, MOReg, LIS))) { in sink3AddrInstruction()
281 if (&OtherMI == KillMI && MOReg == SavedReg) in sink3AddrInstruction()
900 for (MachineInstr &OtherMI : llvm::make_range(End, KillPos)) { in rescheduleMIBelowKill()
902 if (OtherMI.isDebugValue()) in rescheduleMIBelowKill()
907 if (OtherMI.hasUnmodeledSideEffects() || OtherMI.isCall() || in rescheduleMIBelowKill()
908 OtherMI.isBranch() || OtherMI.isTerminator()) in rescheduleMIBelowKill()
[all …]
/external/clang/lib/Lex/
DPPDirectives.cpp2470 if (const MacroInfo *OtherMI=getMacroInfo(MacroNameTok.getIdentifierInfo())) { in HandleDefineDirective() local
2481 SourceMgr.getFileID(OtherMI->getDefinitionLoc()) in HandleDefineDirective()
2487 !MI->isIdenticalTo(*OtherMI, *this, in HandleDefineDirective()
2491 assert(!OtherMI->isWarnIfUnused()); in HandleDefineDirective()
2500 if (!OtherMI->isUsed() && OtherMI->isWarnIfUnused()) in HandleDefineDirective()
2501 Diag(OtherMI->getDefinitionLoc(), diag::pp_macro_not_used); in HandleDefineDirective()
2505 if (OtherMI->isBuiltinMacro()) in HandleDefineDirective()
2509 else if (!OtherMI->isAllowRedefinitionsWithoutWarning() && in HandleDefineDirective()
2510 !MI->isIdenticalTo(*OtherMI, *this, /*Syntactic=*/LangOpts.MicrosoftExt)) { in HandleDefineDirective()
2513 Diag(OtherMI->getDefinitionLoc(), diag::note_previous_definition); in HandleDefineDirective()
[all …]
DPPMacroExpansion.cpp500 M.forAllDefinitions([&](const MacroInfo *OtherMI) { in HandleMacroExpandedIdentifier() argument
501 if (OtherMI != MI) in HandleMacroExpandedIdentifier()
502 Diag(OtherMI->getDefinitionLoc(), diag::note_pp_ambiguous_macro_other) in HandleMacroExpandedIdentifier()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTwoAddressInstructionPass.cpp243 MachineInstr *OtherMI = I; in Sink3AddrInstruction() local
245 if (OtherMI->isDebugValue()) in Sink3AddrInstruction()
250 for (unsigned i = 0, e = OtherMI->getNumOperands(); i != e; ++i) { in Sink3AddrInstruction()
251 MachineOperand &MO = OtherMI->getOperand(i); in Sink3AddrInstruction()
261 if (OtherMI == KillMI && MOReg == SavedReg) in Sink3AddrInstruction()
DRegisterCoalescer.cpp1393 const MachineInstr *OtherMI = Other->getCopy(); in RegistersDefinedFromSameValue() local
1395 if (!OtherMI->isFullCopy()) in RegistersDefinedFromSameValue()
1398 unsigned OtherDst = OtherMI->getOperand(0).getReg(); in RegistersDefinedFromSameValue()
1399 unsigned OtherSrc = OtherMI->getOperand(1).getReg(); in RegistersDefinedFromSameValue()
/external/llvm/include/llvm/CodeGen/
DMachineInstrBuilder.h235 copyImplicitOps(const MachineInstr &OtherMI) const { in copyImplicitOps() argument
236 MI->copyImplicitOps(*MF, OtherMI); in copyImplicitOps()