Home
last modified time | relevance | path

Searched refs:MBB (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/external/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp210 int getSCCNum(MachineBasicBlock *MBB) const;
212 bool hasBackEdge(MachineBasicBlock *MBB) const;
214 bool isRetiredBlock(MachineBasicBlock *MBB) const;
215 bool isActiveLoophead(MachineBasicBlock *MBB) const;
220 bool needMigrateBlock(MachineBasicBlock *MBB) const;
228 void insertInstrEnd(MachineBasicBlock *MBB, int NewOpcode,
230 MachineInstr *insertInstrBefore(MachineBasicBlock *MBB, int NewOpcode,
235 void insertCondBranchBefore(MachineBasicBlock *MBB,
238 void insertCondBranchEnd(MachineBasicBlock *MBB, int NewOpcode, int RegNum);
244 static void setTrueBranch(MachineInstr *MI, MachineBasicBlock *MBB);
[all …]
DSILowerControlFlow.cpp119 for (MachineBasicBlock *MBB = From; MBB != To && !MBB->succ_empty(); in shouldSkip() local
120 MBB = *MBB->succ_begin()) { in shouldSkip()
122 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); in shouldSkip()
147 MachineBasicBlock &MBB = *MI.getParent(); in SkipIfDead() local
150 if (MBB.getParent()->getInfo<SIMachineFunctionInfo>()->ShaderType != in SkipIfDead()
152 !shouldSkip(&MBB, &MBB.getParent()->back())) in SkipIfDead()
159 BuildMI(MBB, Insert, DL, TII->get(AMDGPU::S_CBRANCH_EXECNZ)) in SkipIfDead()
164 BuildMI(MBB, Insert, DL, TII->get(AMDGPU::EXP)) in SkipIfDead()
176 BuildMI(MBB, Insert, DL, TII->get(AMDGPU::S_ENDPGM)); in SkipIfDead()
180 MachineBasicBlock &MBB = *MI.getParent(); in If() local
[all …]
/external/llvm/lib/CodeGen/
DMachineVerifier.cpp199 void visitMachineBasicBlockBefore(const MachineBasicBlock *MBB);
205 void visitMachineBasicBlockAfter(const MachineBasicBlock *MBB);
209 void report(const char *msg, const MachineBasicBlock *MBB);
214 void report(const char *msg, const MachineBasicBlock *MBB,
218 void report(const char *msg, const MachineBasicBlock *MBB,
224 void markReachable(const MachineBasicBlock *MBB);
226 void checkPHIOps(const MachineBasicBlock *MBB);
390 void MachineVerifier::report(const char *msg, const MachineBasicBlock *MBB) { in report() argument
391 assert(MBB); in report()
392 report(msg, MBB->getParent()); in report()
[all …]
DBranchFolding.cpp114 void BranchFolder::RemoveDeadBlock(MachineBasicBlock *MBB) { in RemoveDeadBlock() argument
115 assert(MBB->pred_empty() && "MBB must be dead!"); in RemoveDeadBlock()
116 DEBUG(dbgs() << "\nRemoving MBB: " << *MBB); in RemoveDeadBlock()
118 MachineFunction *MF = MBB->getParent(); in RemoveDeadBlock()
120 while (!MBB->succ_empty()) in RemoveDeadBlock()
121 MBB->removeSuccessor(MBB->succ_end()-1); in RemoveDeadBlock()
124 TriedMerging.erase(MBB); in RemoveDeadBlock()
127 MF->erase(MBB); in RemoveDeadBlock()
139 bool BranchFolder::OptimizeImpDefsBlock(MachineBasicBlock *MBB) { in OptimizeImpDefsBlock() argument
141 MachineBasicBlock::iterator I = MBB->begin(); in OptimizeImpDefsBlock()
[all …]
DPHIElimination.cpp68 bool EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB);
69 void LowerPHINode(MachineBasicBlock &MBB,
81 bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB,
86 bool isLiveIn(unsigned Reg, MachineBasicBlock *MBB);
87 bool isLiveOutPastPHIs(unsigned Reg, MachineBasicBlock *MBB);
183 MachineBasicBlock &MBB) { in EliminatePHINodes() argument
184 if (MBB.empty() || !MBB.front().isPHI()) in EliminatePHINodes()
190 std::prev(MBB.SkipPHIsAndLabels(MBB.begin())); in EliminatePHINodes()
192 while (MBB.front().isPHI()) in EliminatePHINodes()
193 LowerPHINode(MBB, LastPHIIt); in EliminatePHINodes()
[all …]
DMachineTraceMetrics.cpp86 MachineTraceMetrics::getResources(const MachineBasicBlock *MBB) { in getResources() argument
87 assert(MBB && "No basic block"); in getResources()
88 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
100 for (const auto &MI : *MBB) { in getResources()
124 unsigned PROffset = MBB->getNumber() * PRKinds; in getResources()
159 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor()
160 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
166 computeDepthResources(const MachineBasicBlock *MBB) { in computeDepthResources() argument
167 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
169 unsigned PROffset = MBB->getNumber() * PRKinds; in computeDepthResources()
[all …]
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp63 void findReturns(MachineBasicBlock *MBB,
66 bool cyclesUntilReturn(MachineBasicBlock *MBB,
69 void addPadding(MachineBasicBlock *MBB,
117 MachineBasicBlock *MBB; in runOnMachineFunction() local
123 MBB = I->first; in runOnMachineFunction()
129 assert(MBB->size() > 0 && in runOnMachineFunction()
131 MachineBasicBlock::iterator ReturnLoc = --MBB->end(); in runOnMachineFunction()
138 addPadding(MBB, ReturnLoc, Threshold - Cycles); in runOnMachineFunction()
149 void PadShortFunc::findReturns(MachineBasicBlock *MBB, unsigned int Cycles) { in findReturns() argument
151 bool hasReturn = cyclesUntilReturn(MBB, Cycles); in findReturns()
[all …]
DX86VZeroUpper.cpp45 void processBasicBlock(MachineBasicBlock &MBB);
47 MachineBasicBlock &MBB);
48 void addDirtySuccessor(MachineBasicBlock &MBB);
158 MachineBasicBlock &MBB) { in insertVZeroUpper() argument
160 BuildMI(MBB, I, dl, TII->get(X86::VZEROUPPER)); in insertVZeroUpper()
166 void VZeroUpperInserter::addDirtySuccessor(MachineBasicBlock &MBB) { in addDirtySuccessor() argument
167 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) { in addDirtySuccessor()
168 DirtySuccessors.push_back(&MBB); in addDirtySuccessor()
169 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true; in addDirtySuccessor()
175 void VZeroUpperInserter::processBasicBlock(MachineBasicBlock &MBB) { in processBasicBlock() argument
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonFrameLowering.cpp77 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local
79 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue()
82 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
90 MachineBasicBlock::iterator InsertPt = MBB.begin(); in emitPrologue()
122 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(0); in emitPrologue()
125 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::CONST32_Int_Real), in emitPrologue()
127 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::SUB_rr), in emitPrologue()
132 BuildMI(MBB, InsertPt, dl, TII.get(Hexagon::ALLOCFRAME)).addImm(NumBytes); in emitPrologue()
138 bool HexagonFrameLowering::hasTailCall(MachineBasicBlock &MBB) const { in hasTailCall()
139 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in hasTailCall()
[all …]
DHexagonFixupHwLoops.cpp111 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end(); in fixupLoopInstrs() local
112 MBB != MBBe; ++MBB) { in fixupLoopInstrs()
113 BlockToInstOffset[MBB] = InstOffset; in fixupLoopInstrs()
114 InstOffset += (MBB->size() * 4); in fixupLoopInstrs()
124 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end(); in fixupLoopInstrs() local
125 MBB != MBBe; ++MBB) { in fixupLoopInstrs()
126 InstOffset = BlockToInstOffset[MBB]; in fixupLoopInstrs()
127 RS.enterBasicBlock(MBB); in fixupLoopInstrs()
130 MachineBasicBlock::iterator MIE = MBB->end(); in fixupLoopInstrs()
131 MachineBasicBlock::iterator MII = MBB->begin(); in fixupLoopInstrs()
[all …]
DHexagonSplitConst32AndConst64.cpp81 MachineBasicBlock* MBB = MBBb; in runOnMachineFunction() local
83 MachineBasicBlock::iterator MII = MBB->begin(); in runOnMachineFunction()
84 MachineBasicBlock::iterator MIE = MBB->end (); in runOnMachineFunction()
92 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
94 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
98 MII = MBB->erase (MI); in runOnMachineFunction()
105 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
107 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
111 MII = MBB->erase (MI); in runOnMachineFunction()
118 BuildMI (*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
[all …]
DHexagonExpandPredSpillCode.cpp80 MachineBasicBlock* MBB = MBBb; in runOnMachineFunction() local
82 for (MachineBasicBlock::iterator MII = MBB->begin(); MII != MBB->end(); in runOnMachineFunction()
98 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
101 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_rr), in runOnMachineFunction()
104 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd), in runOnMachineFunction()
106 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
111 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::ADD_ri), in runOnMachineFunction()
113 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd), in runOnMachineFunction()
115 BuildMI(*MBB, MII, MI->getDebugLoc(), in runOnMachineFunction()
122 BuildMI(*MBB, MII, MI->getDebugLoc(), TII->get(Hexagon::TFR_RsPd), in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp85 void adjustBlockOffsets(MachineBasicBlock &MBB);
88 void computeBlockSize(const MachineBasicBlock &MBB);
110 for (MachineBasicBlock &MBB : *MF) { in verify()
111 unsigned Align = MBB.getAlignment(); in verify()
112 unsigned Num = MBB.getNumber(); in verify()
122 for (auto &MBB : *MF) { in dumpBBs()
123 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
124 dbgs() << format("BB#%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset) in dumpBBs()
131 static bool BBHasFallthrough(MachineBasicBlock *MBB) { in BBHasFallthrough() argument
133 MachineFunction::iterator MBBI = MBB; in BBHasFallthrough()
[all …]
/external/llvm/lib/Target/Mips/
DMipsSEFrameLowering.cpp58 bool expandInstr(MachineBasicBlock &MBB, Iter I);
59 void expandLoadCCond(MachineBasicBlock &MBB, Iter I);
60 void expandStoreCCond(MachineBasicBlock &MBB, Iter I);
61 void expandLoadACC(MachineBasicBlock &MBB, Iter I, unsigned RegSize);
62 void expandStoreACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc,
64 bool expandCopy(MachineBasicBlock &MBB, Iter I);
65 bool expandCopyACC(MachineBasicBlock &MBB, Iter I, unsigned MFHiOpc,
87 bool ExpandPseudo::expandInstr(MachineBasicBlock &MBB, Iter I) { in expandInstr() argument
90 expandLoadCCond(MBB, I); in expandInstr()
93 expandStoreCCond(MBB, I); in expandInstr()
[all …]
DMips16InstrInfo.cpp64 void Mips16InstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument
87 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc)); in copyPhysReg()
97 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() argument
102 if (I != MBB.end()) DL = I->getDebugLoc(); in storeRegToStack()
103 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOStore); in storeRegToStack()
108 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill)). in storeRegToStack()
114 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() argument
118 if (I != MBB.end()) DL = I->getDebugLoc(); in loadRegFromStack()
119 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOLoad); in loadRegFromStack()
125 BuildMI(MBB, I, DL, get(Opc), DestReg).addFrameIndex(FI).addImm(Offset) in loadRegFromStack()
[all …]
DMipsSEInstrInfo.cpp82 void MipsSEInstrInfo::copyPhysReg(MachineBasicBlock &MBB, in copyPhysReg() argument
110 BuildMI(MBB, I, DL, get(Mips::RDDSP), DestReg).addImm(1 << 4) in copyPhysReg()
131 BuildMI(MBB, I, DL, get(Mips::WRDSP)) in copyPhysReg()
170 MachineInstrBuilder MIB = BuildMI(MBB, I, DL, get(Opc)); in copyPhysReg()
183 storeRegToStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in storeRegToStack() argument
188 if (I != MBB.end()) DL = I->getDebugLoc(); in storeRegToStack()
189 MachineMemOperand *MMO = GetMemOperand(MBB, FI, MachineMemOperand::MOStore); in storeRegToStack()
221 BuildMI(MBB, I, DL, get(Opc)).addReg(SrcReg, getKillRegState(isKill)) in storeRegToStack()
226 loadRegFromStack(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, in loadRegFromStack() argument
230 if (I != MBB.end()) DL = I->getDebugLoc(); in loadRegFromStack()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp61 static void EmitDefCfaRegister(MachineBasicBlock &MBB, in EmitDefCfaRegister() argument
67 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaRegister()
71 static void EmitDefCfaOffset(MachineBasicBlock &MBB, in EmitDefCfaOffset() argument
77 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitDefCfaOffset()
81 static void EmitCfiOffset(MachineBasicBlock &MBB, in EmitCfiOffset() argument
87 BuildMI(MBB, MBBI, dl, TII.get(TargetOpcode::CFI_INSTRUCTION)) in EmitCfiOffset()
97 static void IfNeededExtSP(MachineBasicBlock &MBB, in IfNeededExtSP() argument
107 BuildMI(MBB, MBBI, dl, TII.get(Opcode)).addImm(OpImm); in IfNeededExtSP()
110 EmitDefCfaOffset(MBB, MBBI, dl, TII, MMI, Adjusted*4); in IfNeededExtSP()
121 static void IfNeededLDAWSP(MachineBasicBlock &MBB, in IfNeededLDAWSP() argument
[all …]
DXCoreInstrInfo.cpp194 XCoreInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, in AnalyzeBranch() argument
199 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch()
200 if (I == MBB.begin()) in AnalyzeBranch()
204 if (I == MBB.begin()) in AnalyzeBranch()
215 if (I == MBB.begin() || !isUnpredicatedTerminator(--I)) { in AnalyzeBranch()
238 if (SecondLastInst && I != MBB.begin() && in AnalyzeBranch()
282 XCoreInstrInfo::InsertBranch(MachineBasicBlock &MBB,MachineBasicBlock *TBB, in InsertBranch() argument
294 BuildMI(&MBB, DL, get(XCore::BRFU_lu6)).addMBB(TBB); in InsertBranch()
298 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in InsertBranch()
307 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in InsertBranch()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.cpp128 bool SparcInstrInfo::AnalyzeBranch(MachineBasicBlock &MBB, in AnalyzeBranch() argument
135 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch()
136 MachineBasicBlock::iterator UnCondBrIter = MBB.end(); in AnalyzeBranch()
137 while (I != MBB.begin()) { in AnalyzeBranch()
160 while (std::next(I) != MBB.end()) in AnalyzeBranch()
166 if (MBB.isLayoutSuccessor(I->getOperand(0).getMBB())) { in AnalyzeBranch()
169 I = MBB.end(); in AnalyzeBranch()
170 UnCondBrIter = MBB.end(); in AnalyzeBranch()
186 if (AllowModify && UnCondBrIter != MBB.end() && in AnalyzeBranch()
187 MBB.isLayoutSuccessor(TargetBB)) { in AnalyzeBranch()
[all …]
DSparcFrameLowering.cpp41 MachineBasicBlock &MBB, in emitSPAdjustment() argument
47 DebugLoc dl = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc(); in emitSPAdjustment()
52 BuildMI(MBB, MBBI, dl, TII.get(ADDri), SP::O6) in emitSPAdjustment()
64 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
66 BuildMI(MBB, MBBI, dl, TII.get(SP::ORri), SP::G1) in emitSPAdjustment()
68 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
77 BuildMI(MBB, MBBI, dl, TII.get(SP::SETHIi), SP::G1) in emitSPAdjustment()
79 BuildMI(MBB, MBBI, dl, TII.get(SP::XORri), SP::G1) in emitSPAdjustment()
81 BuildMI(MBB, MBBI, dl, TII.get(ADDrr), SP::O6) in emitSPAdjustment()
88 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local
[all …]
/external/llvm/lib/Target/ARM/
DThumb1FrameLowering.cpp41 emitSPUpdate(MachineBasicBlock &MBB, in emitSPUpdate() argument
46 emitThumbRegPlusImmediate(MBB, MBBI, dl, ARM::SP, ARM::SP, NumBytes, TII, in emitSPUpdate()
52 eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, in eliminateCallFramePseudoInstr() argument
75 emitSPUpdate(MBB, I, TII, dl, *RegInfo, -Amount); in eliminateCallFramePseudoInstr()
78 emitSPUpdate(MBB, I, TII, dl, *RegInfo, Amount); in eliminateCallFramePseudoInstr()
82 MBB.erase(I); in eliminateCallFramePseudoInstr()
86 MachineBasicBlock &MBB = MF.front(); in emitPrologue() local
87 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue()
103 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
118 emitSPUpdate(MBB, MBBI, TII, dl, *RegInfo, -ArgRegsSaveSize, in emitPrologue()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430FrameLowering.cpp42 MachineBasicBlock &MBB = MF.front(); // Prolog goes in entry BB in emitPrologue() local
48 MachineBasicBlock::iterator MBBI = MBB.begin(); in emitPrologue()
49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc(); in emitPrologue()
66 BuildMI(MBB, MBBI, DL, TII.get(MSP430::PUSH16r)) in emitPrologue()
70 BuildMI(MBB, MBBI, DL, TII.get(MSP430::MOV16rr), MSP430::FPW) in emitPrologue()
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r)) in emitPrologue()
85 if (MBBI != MBB.end()) in emitPrologue()
98 BuildMI(MBB, MBBI, DL, TII.get(MSP430::SUB16ri), MSP430::SPW) in emitPrologue()
107 MachineBasicBlock &MBB) const { in emitEpilogue()
113 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr(); in emitEpilogue()
[all …]
DMSP430InstrInfo.cpp37 void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB, in storeRegToStackSlot() argument
43 if (MI != MBB.end()) DL = MI->getDebugLoc(); in storeRegToStackSlot()
44 MachineFunction &MF = *MBB.getParent(); in storeRegToStackSlot()
54 BuildMI(MBB, MI, DL, get(MSP430::MOV16mr)) in storeRegToStackSlot()
58 BuildMI(MBB, MI, DL, get(MSP430::MOV8mr)) in storeRegToStackSlot()
65 void MSP430InstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB, in loadRegFromStackSlot() argument
71 if (MI != MBB.end()) DL = MI->getDebugLoc(); in loadRegFromStackSlot()
72 MachineFunction &MF = *MBB.getParent(); in loadRegFromStackSlot()
82 BuildMI(MBB, MI, DL, get(MSP430::MOV16rm)) in loadRegFromStackSlot()
85 BuildMI(MBB, MI, DL, get(MSP430::MOV8rm)) in loadRegFromStackSlot()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXInstrInfo.cpp36 MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, in copyPhysReg() argument
38 const MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo(); in copyPhysReg()
46 BuildMI(MBB, I, DL, get(NVPTX::IMOV32rr), DestReg) in copyPhysReg()
49 BuildMI(MBB, I, DL, get(NVPTX::IMOV1rr), DestReg) in copyPhysReg()
52 BuildMI(MBB, I, DL, get(NVPTX::FMOV32rr), DestReg) in copyPhysReg()
55 BuildMI(MBB, I, DL, get(NVPTX::IMOV16rr), DestReg) in copyPhysReg()
58 BuildMI(MBB, I, DL, get(NVPTX::IMOV64rr), DestReg) in copyPhysReg()
61 BuildMI(MBB, I, DL, get(NVPTX::FMOV64rr), DestReg) in copyPhysReg()
171 MachineBasicBlock &MBB, MachineBasicBlock *&TBB, MachineBasicBlock *&FBB, in AnalyzeBranch() argument
174 MachineBasicBlock::iterator I = MBB.end(); in AnalyzeBranch()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp76 MachineBasicBlock *MBB = MFI; in runOnMachineFunction() local
79 for (MachineBasicBlock::iterator MBBI = MBB->begin(), EE = MBB->end(); in runOnMachineFunction()
83 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction()
112 MachineBasicBlock &MBB = *MFI; in runOnMachineFunction() local
114 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); in runOnMachineFunction()
135 if (Dest->getNumber() <= MBB.getNumber()) { in runOnMachineFunction()
141 for (unsigned i = Dest->getNumber(), e = MBB.getNumber(); i != e; ++i) in runOnMachineFunction()
148 for (unsigned i = MBB.getNumber(), e = Dest->getNumber(); i != e; ++i) in runOnMachineFunction()
171 BuildMI(MBB, I, dl, TII->get(PPC::BCC)) in runOnMachineFunction()
175 BuildMI(MBB, I, dl, TII->get(PPC::BCn)).addReg(CRBit).addImm(2); in runOnMachineFunction()
[all …]

12345678910>>...13