Home
last modified time | relevance | path

Searched refs:BranchCode (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreInstrInfo.cpp214 XCore::CondCode BranchCode = GetCondFromBranchOpc(LastInst->getOpcode()); in AnalyzeBranch() local
215 if (BranchCode == XCore::COND_INVALID) in AnalyzeBranch()
222 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
236 XCore::CondCode BranchCode = GetCondFromBranchOpc(SecondLastOpc); in AnalyzeBranch() local
240 if (BranchCode != XCore::COND_INVALID in AnalyzeBranch()
244 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
/external/llvm/lib/Target/AVR/
DAVRInstrInfo.cpp302 AVRCC::CondCodes BranchCode = getCondFromBranchOpc(I->getOpcode()); in analyzeBranch() local
303 if (BranchCode == AVRCC::COND_INVALID) { in analyzeBranch()
329 BranchCode = getOppositeCondition(BranchCode); in analyzeBranch()
330 unsigned JNCC = getBrCond(BranchCode).getOpcode(); in analyzeBranch()
349 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
366 if (OldBranchCode == BranchCode) { in analyzeBranch()
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp213 XCore::CondCode BranchCode = GetCondFromBranchOpc(LastInst->getOpcode()); in analyzeBranch() local
214 if (BranchCode == XCore::COND_INVALID) in analyzeBranch()
221 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
234 XCore::CondCode BranchCode = GetCondFromBranchOpc(SecondLastOpc); in analyzeBranch() local
238 if (BranchCode != XCore::COND_INVALID in analyzeBranch()
242 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcInstrInfo.cpp170 SPCC::CondCodes BranchCode = (SPCC::CondCodes)I->getOperand(1).getImm(); in AnalyzeBranch() local
192 BranchCode = GetOppositeBranchCondition(BranchCode); in AnalyzeBranch()
195 .addMBB(UnCondBrIter->getOperand(0).getMBB()).addImm(BranchCode); in AnalyzeBranch()
208 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp229 MSP430CC::CondCodes BranchCode = in analyzeBranch() local
231 if (BranchCode == MSP430CC::COND_INVALID) in analyzeBranch()
238 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
254 if (OldBranchCode == BranchCode) in analyzeBranch()
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430InstrInfo.cpp231 MSP430CC::CondCodes BranchCode = in AnalyzeBranch() local
233 if (BranchCode == MSP430CC::COND_INVALID) in AnalyzeBranch()
240 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
256 if (OldBranchCode == BranchCode) in AnalyzeBranch()
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZInstrInfo.cpp266 SystemZCC::CondCodes BranchCode = getCondFromBranchOpc(I->getOpcode()); in AnalyzeBranch() local
267 if (BranchCode == SystemZCC::INVALID) in AnalyzeBranch()
274 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
290 if (OldBranchCode == BranchCode) in AnalyzeBranch()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrInfo.cpp1973 X86::CondCode BranchCode = GetCondFromBranchOpc(I->getOpcode()); in AnalyzeBranch() local
1974 if (BranchCode == X86::COND_INVALID) in AnalyzeBranch()
1999 BranchCode = GetOppositeBranchCondition(BranchCode); in AnalyzeBranch()
2000 unsigned JNCC = GetCondBranchFromCond(BranchCode); in AnalyzeBranch()
2019 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranch()
2036 if (OldBranchCode == BranchCode) in AnalyzeBranch()
2043 BranchCode == X86::COND_E) || in AnalyzeBranch()
2045 BranchCode == X86::COND_NP)) in AnalyzeBranch()
2046 BranchCode = X86::COND_NP_OR_E; in AnalyzeBranch()
2048 BranchCode == X86::COND_NE) || in AnalyzeBranch()
[all …]
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp4014 X86::CondCode BranchCode = getCondFromBranchOpc(I->getOpcode()); in AnalyzeBranchImpl() local
4015 if (BranchCode == X86::COND_INVALID) in AnalyzeBranchImpl()
4040 BranchCode = GetOppositeBranchCondition(BranchCode); in AnalyzeBranchImpl()
4041 unsigned JNCC = GetCondBranchFromCond(BranchCode); in AnalyzeBranchImpl()
4060 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in AnalyzeBranchImpl()
4074 if (OldBranchCode == BranchCode && TBB == NewTBB) in AnalyzeBranchImpl()
4081 ((OldBranchCode == X86::COND_P && BranchCode == X86::COND_NE) || in AnalyzeBranchImpl()
4082 (OldBranchCode == X86::COND_NE && BranchCode == X86::COND_P))) { in AnalyzeBranchImpl()
4083 BranchCode = X86::COND_NE_OR_P; in AnalyzeBranchImpl()
4084 } else if ((OldBranchCode == X86::COND_NP && BranchCode == X86::COND_NE) || in AnalyzeBranchImpl()
[all …]