Home
last modified time | relevance | path

Searched refs:NumDefs (Results 1 – 25 of 32) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp147 unsigned NumDefs = 0; in EmitInlineAsm() local
148 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
149 ++NumDefs) in EmitInlineAsm()
150 assert(NumDefs != NumOperands-2 && "No asm string?"); in EmitInlineAsm()
152 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
155 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPeepholeOptimizer.cpp269 unsigned NumDefs = MI->getDesc().getNumDefs(); in OptimizeBitcastInstr() local
270 unsigned NumSrcs = MI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
271 if (NumDefs != 1) in OptimizeBitcastInstr()
276 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) { in OptimizeBitcastInstr()
299 NumDefs = DefMI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
300 NumSrcs = DefMI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
301 if (NumDefs != 1) in OptimizeBitcastInstr()
303 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) { in OptimizeBitcastInstr()
DMachineCSE.cpp424 unsigned NumDefs = MI->getDesc().getNumDefs(); in ProcessBlock() local
425 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlock()
452 --NumDefs; in ProcessBlock()
DMachineLICM.cpp912 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
913 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
917 --NumDefs; in IsCheapInstruction()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp434 unsigned NumDefs = 0; in EmitInlineAsm() local
435 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
436 ++NumDefs) in EmitInlineAsm()
437 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
439 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
442 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp753 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local
764 NumDefs = NumResults; in EmitMachineNode()
771 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode()
772 bool HasPhysRegOuts = NumResults > NumDefs && II.getImplicitDefs()!=nullptr; in EmitMachineNode()
795 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode()
798 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode()
800 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode()
837 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode()
838 unsigned Reg = II.getImplicitDefs()[i - NumDefs]; in EmitMachineNode()
DScheduleDAGRRList.cpp1973 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1974 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
2019 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
2020 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2147 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2148 for (unsigned i = 0; i != NumDefs; ++i) { in unscheduledNode()
2164 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2165 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in unscheduledNode()
2733 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2745 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCInstrDesc.h137 unsigned short NumDefs; // Num of args that are definitions variable
184 return NumDefs; in getNumDefs()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h142 unsigned char NumDefs; // Num of args that are definitions variable
191 unsigned getNumDefs() const { return NumDefs; } in getNumDefs()
/external/llvm/lib/CodeGen/
DImplicitNullChecks.cpp492 unsigned NumDefs = LoadMI->getDesc().getNumDefs(); in insertFaultingLoad() local
493 assert(NumDefs <= 1 && "other cases unhandled!"); in insertFaultingLoad()
496 if (NumDefs != 0) { in insertFaultingLoad()
DMachineCSE.cpp532 unsigned NumDefs = MI->getDesc().getNumDefs() + in ProcessBlock() local
535 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlock()
553 --NumDefs; in ProcessBlock()
577 --NumDefs; in ProcessBlock()
DPeepholeOptimizer.cpp886 unsigned NumDefs; member in __anonc6b70f480211::UncoalescableRewriter
892 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
904 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
909 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
DMachineLICM.cpp1003 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
1004 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
1008 --NumDefs; in IsCheapInstruction()
DMachineVerifier.cpp891 unsigned NumDefs = MCID.getNumDefs(); in visitMachineOperand() local
893 NumDefs = (MONum == 0 && MO->isReg()) ? NumDefs : 0; in visitMachineOperand()
896 if (MONum < NumDefs) { in visitMachineOperand()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp41 NumDefs = OutDI->getNumArgs(); in CGIOperandList()
55 if (i < NumDefs) { in CGIOperandList()
59 ArgInit = InDI->getArg(i-NumDefs); in CGIOperandList()
60 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList()
DCodeGenInstruction.h133 unsigned NumDefs; variable
DInstrInfoEmitter.cpp265 << Inst.Operands.NumDefs << ",\t" in emitRecord()
/external/capstone/
DMCInstrDesc.h126 unsigned char NumDefs; // Num of args that are definitions member
/external/llvm/lib/MC/
DMCInstrDesc.cpp65 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp41 NumDefs = OutDI->getNumArgs(); in CGIOperandList()
57 if (i < NumDefs) { in CGIOperandList()
61 ArgInit = InDI->getArg(i-NumDefs); in CGIOperandList()
62 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList()
DCodeGenInstruction.h133 unsigned NumDefs; variable
DInstrInfoEmitter.cpp473 << Inst.Operands.NumDefs << ",\t" in emitRecord()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp1863 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1864 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
1910 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
1911 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2040 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in UnscheduledNode() local
2041 for (unsigned i = 0; i != NumDefs; ++i) { in UnscheduledNode()
2057 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in UnscheduledNode() local
2058 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in UnscheduledNode()
2663 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2674 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp127 unsigned NumDefs = 0; in evaluate() local
134 NumDefs++; in evaluate()
138 if (NumDefs == 0) in evaluate()
DHexagonInstrInfo.cpp4159 unsigned NumDefs = 0; in getSize() local
4160 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in getSize()
4161 ++NumDefs) in getSize()
4162 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in getSize()
4164 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in getSize()
4166 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in getSize()

12