• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/

Lines Matching defs:?I

245 TargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI,
255 void TargetLowering::AdjustInstrPostInstrSelection(MachineInstr *MI,
257 assert(!MI->hasPostISelHook() &&
377 for (MachineRegisterInfo::livein_iterator LI = RegInfo->livein_begin(),
378 E = RegInfo->livein_end(); LI != E; ++LI)
379 if (LI->second)
380 LiveInMap.insert(std::make_pair(LI->first, LI->second));
384 MachineInstr *MI = FuncInfo->ArgDbgValues[e-i-1];
385 unsigned Reg = MI->getOperand(0).getReg();
387 EntryMBB->insert(EntryMBB->begin(), MI);
392 Def->getParent()->insert(llvm::next(InsertPos), MI);
401 MI->getOperand(MI->getNumOperands()-1).getMetadata();
402 unsigned Offset = MI->getOperand(1).getImm();
404 BuildMI(*EntryMBB, ++InsertPos, MI->getDebugLoc(),
414 UI = RegInfo->use_begin(LDI->second);
415 MachineInstr *UseMI = UI.skipInstruction();) {
442 II = MBB->begin(), IE = MBB->end(); II != IE; ++II) {
443 const MCInstrDesc &MCID = TM.getInstrInfo()->get(II->getOpcode());
446 II->isStackAligningInlineAsm()) {
804 const MCInstrDesc &II = TM.getInstrInfo()->get(TargetOpcode::EH_LABEL);
805 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), II)
825 /// In this scenario, LI is "A", and FoldInst is "C". We know about "B" (and
830 bool SelectionDAGISel::TryToFoldFastISelLoad(const LoadInst *LI,
838 const Instruction *TheUser = LI->use_back();
857 if (LI->isVolatile()) return false;
862 unsigned LoadReg = FastIS->getRegForValue(LI);
868 MachineRegisterInfo::reg_iterator RI = RegInfo->reg_begin(LoadReg);
869 if (RI == RegInfo->reg_end())
876 MachineRegisterInfo::reg_iterator PostRI = RI; ++PostRI;
880 assert(RI.getOperand().isUse() &&
883 MachineInstr *User = &*RI;
892 return FastIS->TryToFoldLoad(User, RI.getOperandNo(), LI);
1001 for (const_pred_iterator PI = pred_begin(LLVMBB), PE = pred_end(LLVMBB);
1002 PI != PE; ++PI) {
1003 if (!FuncInfo->VisitedBBs.count(*PI)) {
1027 BasicBlock::const_iterator BI = End;
1061 for (; BI != Begin; --BI) {
1062 const Instruction *Inst = llvm::prior(BI);
1091 BI = llvm::next(BasicBlock::const_iterator(BeforeInst));
1118 SelectBasicBlock(Inst, BI, HadTailCall);
1122 unsigned RemainingNow = std::distance(Begin, BI);
1127 --BI;
1159 if (Begin != BI)
1164 if (Begin != BI) {
1169 SelectBasicBlock(Begin, BI, HadTailCall);
1799 for (SDNode::use_iterator UI = ChainedNode->use_begin(),
1800 E = ChainedNode->use_end(); UI != E; ++UI) {
1802 if (UI.getUse().getValueType() != MVT::Other) continue;
1804 SDNode *User = *UI;