Searched defs:NumDefs (Results 1 - 21 of 21) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp147 unsigned NumDefs = 0; local
148 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef();
149 ++NumDefs)
150 assert(NumDefs != NumOperands-2 && "No asm string?");
152 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?");
155 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName();
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DPeepholeOptimizer.cpp269 unsigned NumDefs = MI->getDesc().getNumDefs(); local
270 unsigned NumSrcs = MI->getDesc().getNumOperands() - NumDefs;
271 if (NumDefs != 1)
276 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) {
299 NumDefs = DefMI->getDesc().getNumDefs();
300 NumSrcs = DefMI->getDesc().getNumOperands() - NumDefs;
301 if (NumDefs != 1)
303 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) {
H A DMachineCSE.cpp424 unsigned NumDefs = MI->getDesc().getNumDefs(); local
425 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) {
452 --NumDefs;
H A DMachineLICM.cpp912 unsigned NumDefs = MI.getDesc().getNumDefs(); local
913 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) {
917 --NumDefs;
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp434 unsigned NumDefs = 0; local
435 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef();
436 ++NumDefs)
437 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?");
439 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?");
442 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName();
/external/llvm/lib/CodeGen/
H A DImplicitNullChecks.cpp492 unsigned NumDefs = LoadMI->getDesc().getNumDefs(); local
493 assert(NumDefs <= 1 && "other cases unhandled!");
496 if (NumDefs != 0) {
H A DMachineCSE.cpp532 unsigned NumDefs = MI->getDesc().getNumDefs() + local
535 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) {
553 --NumDefs;
577 --NumDefs;
H A DMachineLICM.cpp1003 unsigned NumDefs = MI.getDesc().getNumDefs(); local
1004 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) {
1008 --NumDefs;
H A DPeepholeOptimizer.cpp886 unsigned NumDefs; member in class:__anon12718::ValueTrackerResult::__anon12719::UncoalescableRewriter
892 NumDefs = MI.getDesc().getNumDefs();
904 if (CurrentSrcIdx == NumDefs)
909 if (CurrentSrcIdx == NumDefs)
H A DMachineVerifier.cpp891 unsigned NumDefs = MCID.getNumDefs(); local
893 NumDefs = (MONum == 0 && MO->isReg()) ? NumDefs : 0;
895 // The first MCID.NumDefs operands must be explicit register defines
896 if (MONum < NumDefs) {
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.h130 /// NumDefs - Number of def operands declared, this is the number of
133 unsigned NumDefs; member in class:llvm::CGIOperandList
/external/swiftshader/third_party/LLVM/include/llvm/MC/
H A DMCInstrDesc.h137 unsigned short NumDefs; // Num of args that are definitions member in class:llvm::MCInstrDesc
184 return NumDefs;
/external/swiftshader/third_party/LLVM/utils/TableGen/
H A DCodeGenInstruction.h130 /// NumDefs - Number of def operands declared, this is the number of
133 unsigned NumDefs; member in class:llvm::CGIOperandList
/external/llvm/include/llvm/MC/
H A DMCInstrDesc.h142 unsigned char NumDefs; // Num of args that are definitions member in class:llvm::MCInstrDesc
191 unsigned getNumDefs() const { return NumDefs; }
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMCodeEmitter.cpp1014 unsigned NumDefs = MCID.getNumDefs(); local
1016 if (NumDefs)
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86InstrInfo.cpp3021 unsigned NumDefs = MCID.NumDefs; local
3029 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands)
3031 else if (i < Index-NumDefs)
3033 else if (i > Index-NumDefs)
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp1863 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); local
1864 for (unsigned i = 0; i != NumDefs; ++i) {
1910 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); local
1911 for (unsigned i = 0; i != NumDefs; ++i) {
2040 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); local
2041 for (unsigned i = 0; i != NumDefs; ++i) {
2057 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); local
2058 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) {
2663 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); local
2674 for (unsigned i = NumDefs,
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp4159 unsigned NumDefs = 0; local
4160 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef();
4161 ++NumDefs)
4162 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?");
4164 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?");
4166 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName();
/external/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp6499 unsigned NumDefs = MCID.NumDefs; local
6507 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands)
6509 else if (i < Index-NumDefs)
6511 else if (i > Index-NumDefs)
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp5105 unsigned NumDefs = Desc.getNumDefs(); local
5107 if (NumDefs && Operand.getMCOperandNum() < NumDefs)
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp7241 unsigned NumDefs = 0; local
7248 NumDefs++;
7251 if (NumDefs > 1)
7258 if (NumDefs == 0)
7261 if (NumDefs == 1) {
12660 unsigned NumDefs = 0; local
12686 NumDefs++;
12691 if (NumDefs < 2)

Completed in 573 milliseconds