OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SecondLastInst
(Results
1 - 15
of
15
) sorted by null
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
MBlazeInstrInfo.cpp
155
MachineInstr *
SecondLastInst
= I;
158
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(--I))
162
if (MBlaze::isCondBranchOpcode(
SecondLastInst
->getOpcode()) &&
164
TBB =
SecondLastInst
->getOperand(1).getMBB();
165
Cond.push_back(MachineOperand::CreateImm(
SecondLastInst
->getOpcode()));
166
Cond.push_back(
SecondLastInst
->getOperand(0));
173
if (MBlaze::isUncondBranchOpcode(
SecondLastInst
->getOpcode()) &&
175
TBB =
SecondLastInst
->getOperand(0).getMBB();
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
XCoreInstrInfo.cpp
228
MachineInstr *
SecondLastInst
= I;
231
if (
SecondLastInst
&& I != MBB.begin() &&
235
unsigned SecondLastOpc =
SecondLastInst
->getOpcode();
243
TBB =
SecondLastInst
->getOperand(1).getMBB();
245
Cond.push_back(
SecondLastInst
->getOperand(0));
253
if (IsBRU(
SecondLastInst
->getOpcode()) &&
255
TBB =
SecondLastInst
->getOperand(0).getMBB();
263
if (IsBR_JT(
SecondLastInst
->getOpcode()) && IsBRU(LastInst->getOpcode())) {
/external/llvm/lib/Target/NVPTX/
NVPTXInstrInfo.cpp
178
MachineInstr &
SecondLastInst
= *I;
185
if (
SecondLastInst
.getOpcode() == NVPTX::CBranch &&
187
TBB =
SecondLastInst
.getOperand(1).getMBB();
188
Cond.push_back(
SecondLastInst
.getOperand(0));
195
if (
SecondLastInst
.getOpcode() == NVPTX::GOTO &&
197
TBB =
SecondLastInst
.getOperand(0).getMBB();
/external/swiftshader/third_party/LLVM/lib/Target/Alpha/
AlphaInstrInfo.cpp
256
MachineInstr *
SecondLastInst
= I;
259
if (
SecondLastInst
&& I != MBB.begin() &&
264
if ((
SecondLastInst
->getOpcode() == Alpha::COND_BRANCH_I ||
265
SecondLastInst
->getOpcode() == Alpha::COND_BRANCH_F) &&
267
TBB =
SecondLastInst
->getOperand(2).getMBB();
268
Cond.push_back(
SecondLastInst
->getOperand(0));
269
Cond.push_back(
SecondLastInst
->getOperand(1));
276
if (
SecondLastInst
->getOpcode() == Alpha::BR &&
278
TBB =
SecondLastInst
->getOperand(0).getMBB();
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/
SPUInstrInfo.cpp
255
MachineInstr *
SecondLastInst
= I;
258
if (
SecondLastInst
&& I != MBB.begin() &&
263
if (isCondBranch(
SecondLastInst
) && isUncondBranch(LastInst)) {
264
TBB =
SecondLastInst
->getOperand(1).getMBB();
265
DEBUG(errs() << "Pushing
SecondLastInst
: ");
266
DEBUG(
SecondLastInst
->dump());
267
Cond.push_back(MachineOperand::CreateImm(
SecondLastInst
->getOpcode()));
268
Cond.push_back(
SecondLastInst
->getOperand(0));
275
if (isUncondBranch(
SecondLastInst
) && isUncondBranch(LastInst)) {
276
TBB =
SecondLastInst
->getOperand(0).getMBB()
[
all
...]
/external/llvm/lib/Target/Mips/
MipsInstrInfo.cpp
207
MachineInstr *
SecondLastInst
= nullptr;
210
SecondLastInst
= &*I;
211
SecondLastOpc = getAnalyzableBrOpc(
SecondLastInst
->getOpcode());
214
if (isUnpredicatedTerminator(*
SecondLastInst
) && !SecondLastOpc)
236
BranchInstrs.insert(BranchInstrs.begin(),
SecondLastInst
);
240
if (
SecondLastInst
->isUnconditionalBranch()) {
245
TBB =
SecondLastInst
->getOperand(0).getMBB();
256
AnalyzeCondBr(
SecondLastInst
, SecondLastOpc, TBB, Cond);
/external/llvm/lib/Target/XCore/
XCoreInstrInfo.cpp
227
MachineInstr *
SecondLastInst
= I;
230
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(*--I))
233
unsigned SecondLastOpc =
SecondLastInst
->getOpcode();
241
TBB =
SecondLastInst
->getOperand(1).getMBB();
243
Cond.push_back(
SecondLastInst
->getOperand(0));
251
if (IsBRU(
SecondLastInst
->getOpcode()) &&
253
TBB =
SecondLastInst
->getOperand(0).getMBB();
261
if (IsBR_JT(
SecondLastInst
->getOpcode()) && IsBRU(LastInst->getOpcode())) {
/external/llvm/lib/Target/Sparc/
SparcInstrInfo.cpp
191
MachineInstr *
SecondLastInst
= &*I;
192
unsigned SecondLastOpc =
SecondLastInst
->getOpcode();
199
LastInst =
SecondLastInst
;
206
SecondLastInst
= &*I;
207
SecondLastOpc =
SecondLastInst
->getOpcode();
213
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(*--I))
218
parseCondBranch(
SecondLastInst
, TBB, Cond);
226
TBB =
SecondLastInst
->getOperand(0).getMBB();
/external/llvm/lib/Target/PowerPC/
PPCInstrInfo.cpp
525
MachineInstr *
SecondLastInst
= I;
528
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(*--I))
532
if (
SecondLastInst
->getOpcode() == PPC::BCC &&
534
if (!
SecondLastInst
->getOperand(2).isMBB() ||
537
TBB =
SecondLastInst
->getOperand(2).getMBB();
538
Cond.push_back(
SecondLastInst
->getOperand(0));
539
Cond.push_back(
SecondLastInst
->getOperand(1));
542
} else if (
SecondLastInst
->getOpcode() == PPC::BC &&
544
if (!
SecondLastInst
->getOperand(1).isMBB() ||
547
TBB =
SecondLastInst
->getOperand(1).getMBB()
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
PPCInstrInfo.cpp
211
MachineInstr *
SecondLastInst
= I;
214
if (
SecondLastInst
&& I != MBB.begin() &&
219
if (
SecondLastInst
->getOpcode() == PPC::BCC &&
221
if (!
SecondLastInst
->getOperand(2).isMBB() ||
224
TBB =
SecondLastInst
->getOperand(2).getMBB();
225
Cond.push_back(
SecondLastInst
->getOperand(0));
226
Cond.push_back(
SecondLastInst
->getOperand(1));
233
if (
SecondLastInst
->getOpcode() == PPC::B &&
235
if (!
SecondLastInst
->getOperand(0).isMBB())
237
TBB =
SecondLastInst
->getOperand(0).getMBB()
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
MipsInstrInfo.cpp
303
MachineInstr *
SecondLastInst
= NULL;
306
SecondLastInst
= &*I;
307
SecondLastOpc = GetAnalyzableBrOpc(
SecondLastInst
->getOpcode());
310
if (isUnpredicatedTerminator(
SecondLastInst
) && !SecondLastOpc)
339
TBB =
SecondLastInst
->getOperand(0).getMBB();
349
AnalyzeCondBr(
SecondLastInst
, SecondLastOpc, TBB, Cond);
/external/llvm/lib/Target/Hexagon/
HexagonInstrInfo.cpp
432
MachineInstr *
SecondLastInst
= nullptr;
436
if (!
SecondLastInst
)
437
SecondLastInst
= &*I;
448
int SecLastOpcode =
SecondLastInst
?
SecondLastInst
->getOpcode() : 0;
454
!
SecondLastInst
->getOperand(0).isMBB())
464
if (LastInst && !
SecondLastInst
) {
496
bool SecLastOpcodeHasNVJump = isNewValueJump(
SecondLastInst
);
498
if (!
SecondLastInst
->getOperand(1).isMBB())
500
TBB =
SecondLastInst
->getOperand(1).getMBB()
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
ARMBaseInstrInfo.cpp
308
MachineInstr *
SecondLastInst
= I;
309
unsigned SecondLastOpc =
SecondLastInst
->getOpcode();
316
LastInst =
SecondLastInst
;
323
SecondLastInst
= I;
324
SecondLastOpc =
SecondLastInst
->getOpcode();
330
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(--I))
335
TBB =
SecondLastInst
->getOperand(0).getMBB();
336
Cond.push_back(
SecondLastInst
->getOperand(1));
337
Cond.push_back(
SecondLastInst
->getOperand(2));
345
TBB =
SecondLastInst
->getOperand(0).getMBB()
[
all
...]
/external/llvm/lib/Target/AArch64/
AArch64InstrInfo.cpp
128
MachineInstr *
SecondLastInst
= &*I;
129
unsigned SecondLastOpc =
SecondLastInst
->getOpcode();
136
LastInst =
SecondLastInst
;
143
SecondLastInst
= &*I;
144
SecondLastOpc =
SecondLastInst
->getOpcode();
150
if (
SecondLastInst
&& I != MBB.begin() && isUnpredicatedTerminator(*--I))
155
parseCondBranch(
SecondLastInst
, TBB, Cond);
163
TBB =
SecondLastInst
->getOperand(0).getMBB();
[
all
...]
/external/llvm/lib/Target/AMDGPU/
R600InstrInfo.cpp
737
MachineInstr &
SecondLastInst
= *I;
738
unsigned SecondLastOpc =
SecondLastInst
.getOpcode();
746
TBB =
SecondLastInst
.getOperand(0).getMBB();
[
all
...]
Completed in 1017 milliseconds