/external/llvm/include/llvm/ |
D | User.h | 47 unsigned NumOperands; variable 51 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {} in User() 54 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses() 57 NumOperands = 0; in dropHungoffUses() 61 Use::zap(OperandList, OperandList + NumOperands); in ~User() 87 assert(i < NumOperands && "getOperand() out of range!"); in getOperand() 91 assert(i < NumOperands && "setOperand() out of range!"); in setOperand() 98 assert(i < NumOperands && "getOperandUse() out of range!"); in getOperandUse() 102 assert(i < NumOperands && "getOperandUse() out of range!"); in getOperandUse() 106 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() [all …]
|
D | Metadata.h | 84 unsigned NumOperands; variable 142 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
D | GlobalVariable.h | 65 NumOperands = 1; // FIXME: needed by operator delete in ~GlobalVariable()
|
D | Instructions.h | 1745 if (NumOperands == ReservedSpace) 1748 ++NumOperands; 1749 setIncomingValue(NumOperands - 1, V); 1750 setIncomingBlock(NumOperands - 1, BB);
|
/external/llvm/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 105 unsigned OpNo = 0, NumOperands = C->getNumOperands(); in MapValue() local 107 for (; OpNo != NumOperands; ++OpNo) { in MapValue() 120 if (OpNo == NumOperands && NewTy == C->getType()) in MapValue() 126 Ops.reserve(NumOperands); in MapValue() 131 if (OpNo != NumOperands) { in MapValue() 135 for (++OpNo; OpNo != NumOperands; ++OpNo) in MapValue()
|
/external/llvm/include/llvm/Analysis/ |
D | ConstantsScanner.h | 63 unsigned NumOperands = InstI->getNumOperands(); variable 64 while (OpIdx < NumOperands && !isAtConstant()) { 68 if (OpIdx < NumOperands) return *this; // Found a constant!
|
D | ScalarEvolutionExpressions.h | 144 size_t NumOperands; variable 148 : SCEV(ID, T), Operands(O), NumOperands(N) {} in SCEVNAryExpr() 151 size_t getNumOperands() const { return NumOperands; } in getNumOperands() 153 assert(i < NumOperands && "Operand index out of range!"); in getOperand() 159 op_iterator op_end() const { return Operands + NumOperands; } in op_end()
|
/external/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 134 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 149 if (OpNum < NumOperands && in getOperandConstraint() 174 return NumOperands; in getNumOperands()
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.h | 176 unsigned NumOperands; variable 181 ComplexPattern() : NumOperands(0) {} in ComplexPattern() 185 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
D | AsmMatcherEmitter.cpp | 336 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { in getRenderedOp() 340 X.MINumOperands = NumOperands; in getRenderedOp() 1408 unsigned NumOperands = OpInfo.MINumOperands; in BuildInstructionResultOperands() local 1410 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands)); in BuildInstructionResultOperands() 1415 for (unsigned AI = 0; AI < NumOperands; ++AI) { in BuildInstructionResultOperands() 1459 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); in BuildAliasResultOperands() local 1461 NumOperands)); in BuildAliasResultOperands()
|
D | CodeGenDAGPatterns.h | 204 int NumOperands; variable 213 int getNumOperands() const { return NumOperands; } in getNumOperands()
|
D | CodeGenTarget.cpp | 309 NumOperands = R->getValueAsInt("NumOperands"); in ComplexPattern()
|
/external/llvm/lib/VMCore/ |
D | User.cpp | 62 Obj->NumOperands = Us; in operator new() 73 Use *Storage = static_cast<Use*>(Usr) - Start->NumOperands; in operator delete()
|
D | Globals.cpp | 164 NumOperands = 0; in setInitializer() 170 NumOperands = 1; in setInitializer()
|
D | Instructions.cpp | 126 --NumOperands; in removeIncomingValue() 178 assert(NumOperands == Args.size() + 1 && "NumOperands not set up?"); in init() 200 assert(NumOperands == 1 && "NumOperands not set up?"); in init() 433 assert(NumOperands == 3 + Args.size() && "NumOperands not set up?"); in init() 1008 assert(NumOperands == 1+NumIdx && "NumOperands not initialized?"); in init() 1019 assert(NumOperands == 2 && "NumOperands not initialized?"); in init() 1034 for (unsigned i = 0, E = NumOperands; i != E; ++i) in GetElementPtrInst() 1332 assert(NumOperands == 2 && "NumOperands not initialized?"); in init() 1363 assert(NumOperands == 1 && "NumOperands not initialized?"); in init() 2823 NumOperands = 2; in init() [all …]
|
D | Metadata.cpp | 90 NumOperands = Vals.size(); in MDNode() 97 for (MDNodeOperand *Op = getOperandPtr(this, 0), *E = Op+NumOperands; in MDNode() 115 for (MDNodeOperand *Op = getOperandPtr(this, 0), *E = Op+NumOperands; in ~MDNode()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 146 unsigned NumOperands = MI->getNumOperands(); in EmitInlineAsm() local 152 assert(NumDefs != NumOperands-2 && "No asm string?"); in EmitInlineAsm() 313 if (Val >= NumOperands-1) in EmitInlineAsm()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 337 unsigned short NumOperands, NumValues; 526 unsigned getNumOperands() const { return NumOperands; } 533 assert(Num < NumOperands && "Invalid child # of SDNode!"); 539 op_iterator op_end() const { return OperandList+NumOperands; } 682 NumOperands(NumOps), NumValues(VTs.NumVTs), 696 UseList(NULL), NumOperands(0), NumValues(VTs.NumVTs), 703 NumOperands = 1; 714 NumOperands = 2; 728 NumOperands = 3; 744 NumOperands = 4; [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 833 unsigned short NumOperands = MCID->getNumOperands(); in OperandsComplete() local 834 if (!MCID->isVariadic() && getNumOperands()-NumImplicitOps >= NumOperands) in OperandsComplete() 842 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local 844 return NumOperands; in getNumExplicitOperands() 846 for (unsigned i = NumOperands, e = getNumOperands(); i != e; ++i) { in getNumExplicitOperands() 849 NumOperands++; in getNumExplicitOperands() 851 return NumOperands; in getNumExplicitOperands() 1433 if (i < getDesc().NumOperands) { in print()
|
/external/llvm/lib/Target/X86/ |
D | X86FloatingPoint.cpp | 1137 unsigned NumOperands = MI->getDesc().getNumOperands(); in handleTwoArgFP() local 1138 assert(NumOperands == 3 && "Illegal TwoArgFP instruction!"); in handleTwoArgFP() 1140 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2)); in handleTwoArgFP() 1141 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1)); in handleTwoArgFP() 1236 unsigned NumOperands = MI->getDesc().getNumOperands(); in handleCompareFP() local 1237 assert(NumOperands == 2 && "Illegal FUCOM* instruction!"); in handleCompareFP() 1238 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2)); in handleCompareFP() 1239 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1)); in handleCompareFP()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeTypes.cpp | 269 unsigned NumOperands = N->getNumOperands(); in run() local 272 for (i = 0; i != NumOperands; ++i) { in run() 344 if (i == NumOperands) { in run()
|
D | LegalizeVectorTypes.cpp | 1664 unsigned NumOperands = N->getNumOperands(); in WidenVecRes_CONCAT_VECTORS() local 1674 for (unsigned i=0; i < NumOperands; ++i) in WidenVecRes_CONCAT_VECTORS() 1676 for (unsigned i = NumOperands; i != NumConcat; ++i) in WidenVecRes_CONCAT_VECTORS() 1685 for (i=1; i < NumOperands; ++i) in WidenVecRes_CONCAT_VECTORS() 1689 if (i > NumOperands) in WidenVecRes_CONCAT_VECTORS() 1694 if (NumOperands == 2) { in WidenVecRes_CONCAT_VECTORS() 1714 for (unsigned i=0; i < NumOperands; ++i) { in WidenVecRes_CONCAT_VECTORS() 2092 unsigned NumOperands = N->getNumOperands(); in WidenVecOp_CONCAT_VECTORS() local 2093 for (unsigned i=0; i < NumOperands; ++i) { in WidenVecOp_CONCAT_VECTORS()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 397 unsigned NumOperands = in AnalyzeAsmString() local 399 if (N >= NumOperands) { in AnalyzeAsmString()
|
/external/llvm/lib/Bitcode/Writer/ |
D | BitcodeWriter.cpp | 1047 unsigned NumOperands = I.getNumOperands(); in WriteInstruction() local 1048 if (NumOperands == 0) in WriteInstruction() 1050 else if (NumOperands == 1) { in WriteInstruction() 1054 for (unsigned i = 0, e = NumOperands; i != e; ++i) in WriteInstruction()
|
/external/llvm/include/llvm/Target/ |
D | TargetSelectionDAG.td | 84 int NumOperands = numoperands; 917 // in C++. NumOperands is the number of operands returned by the select function; 925 int NumOperands = numops;
|