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

/external/llvm/include/llvm/Analysis/
H A DConstantsScanner.h63 unsigned NumOperands = InstI->getNumOperands(); local
64 while (OpIdx < NumOperands && !isAtConstant()) {
68 if (OpIdx < NumOperands) return *this; // Found a constant!
H A DScalarEvolutionExpressions.h145 size_t NumOperands; member in class:llvm::SCEVNAryExpr
149 : SCEV(ID, T), Operands(O), NumOperands(N) {}
152 size_t getNumOperands() const { return NumOperands; }
154 assert(i < NumOperands && "Operand index out of range!");
160 op_iterator op_end() const { return Operands + NumOperands; }
/external/llvm/include/llvm/
H A DUser.h47 /// NumOperands - The number of values used by this User.
49 unsigned NumOperands; member in class:llvm::User
53 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {}
56 Use::zap(OperandList, OperandList + NumOperands, true);
58 // Reset NumOperands so User::operator delete() does the right thing.
59 NumOperands = 0;
63 Use::zap(OperandList, OperandList + NumOperands);
89 assert(i < NumOperands && "getOperand() out of range!");
93 assert(i < NumOperands && "setOperand() out of range!");
100 assert(i < NumOperands
[all...]
H A DMetadata.h83 /// NumOperands - This many 'MDNodeOperand' items are co-allocated onto the
85 unsigned NumOperands; member in class:llvm::MDNode
146 unsigned getNumOperands() const { return NumOperands; }
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp105 unsigned OpNo = 0, NumOperands = C->getNumOperands(); local
107 for (; OpNo != NumOperands; ++OpNo) {
120 if (OpNo == NumOperands && NewTy == C->getType())
126 Ops.reserve(NumOperands);
131 if (OpNo != NumOperands) {
135 for (++OpNo; OpNo != NumOperands; ++OpNo)
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp149 unsigned NumOperands = MI->getNumOperands(); local
155 assert(NumDefs != NumOperands-2 && "No asm string?");
325 if (Val >= NumOperands-1)
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h192 unsigned NumOperands; member in class:llvm::ComplexPattern
197 ComplexPattern() : NumOperands(0) {}
201 unsigned getNumOperands() const { return NumOperands; }
H A DAsmMatcherEmitter.cpp348 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { argument
352 X.MINumOperands = NumOperands;
1580 unsigned NumOperands = OpInfo.MINumOperands; local
1582 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands));
1587 for (unsigned AI = 0; AI < NumOperands; ++AI) {
1630 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); local
1632 NumOperands));
/external/llvm/include/llvm/MC/
H A DMCInstrDesc.h137 unsigned short NumOperands; // Num of args (may be more if variable_ops) member in class:llvm::MCInstrDesc
145 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
151 if (OpNum < NumOperands &&
170 return NumOperands;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp267 unsigned NumOperands = N->getNumOperands(); local
270 for (i = 0; i != NumOperands; ++i) {
340 if (i == NumOperands) {
H A DLegalizeIntegerTypes.cpp2953 unsigned NumOperands = N->getNumOperands(); local
2954 assert(NumElem * NumOperands == NumOutElem &&
2959 for (unsigned i = 0; i < NumOperands; ++i) {
H A DLegalizeVectorTypes.cpp1760 unsigned NumOperands = N->getNumOperands(); local
1770 for (unsigned i=0; i < NumOperands; ++i)
1772 for (unsigned i = NumOperands; i != NumConcat; ++i)
1781 for (i=1; i < NumOperands; ++i)
1785 if (i == NumOperands)
1790 if (NumOperands == 2) {
1809 for (unsigned i=0; i < NumOperands; ++i) {
2197 unsigned NumOperands = N->getNumOperands(); local
2198 for (unsigned i=0; i < NumOperands; ++i) {
/external/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp833 unsigned NumOperands = Node->getNumOperands(); local
834 for (unsigned i=0; i < NumOperands; ++i) {
/external/clang/lib/AST/
H A DStmt.cpp561 unsigned NumOperands = local
563 if (N >= NumOperands) {
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp1379 const SCEV *const *Ops, size_t NumOperands,
1396 for (; i != NumOperands; ++i) {
1376 CollectAddOperandsWithScales(DenseMap<const SCEV *, APInt> &M, SmallVector<const SCEV *, 8> &NewOps, APInt &AccumulatedConstant, const SCEV *const *Ops, size_t NumOperands, const APInt &Scale, ScalarEvolution &SE) argument
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1131 unsigned NumOperands = I.getNumOperands(); local
1132 if (NumOperands == 0)
1134 else if (NumOperands == 1) {
1138 for (unsigned i = 0, e = NumOperands; i != e; ++i)
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp1051 unsigned NumOperands = MI->getDesc().getNumOperands(); local
1052 unsigned OffField = MI->getOperand(NumOperands-3).getImm();
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1980 unsigned NumOperands = I->getNumOperands(); local
1982 for (unsigned p = 0, o = NumOperands-1; p < NumOperands; ++p, --o) {
1994 if (o == NumOperands-1) {
2012 } else if (isa<ShuffleVectorInst>(I) && o == NumOperands-1) {
2311 unsigned NumOperands = I->getNumOperands(); local
2312 SmallVector<Value *, 3> ReplacedOperands(NumOperands);
2326 for (unsigned o = 0; o < NumOperands; ++o)
/external/llvm/lib/VMCore/
H A DVerifier.cpp1396 unsigned NumOperands = Range->getNumOperands(); local
1397 Assert1(NumOperands % 2 == 0, "Unfinished range!", Range);
1398 unsigned NumRanges = NumOperands / 2;
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h342 /// NumOperands/NumValues - The number of entries in the Operand/Value list.
343 unsigned short NumOperands, NumValues; member in class:llvm::SDNode
532 unsigned getNumOperands() const { return NumOperands; }
539 assert(Num < NumOperands && "Invalid child # of SDNode!");
545 op_iterator op_end() const { return OperandList+NumOperands; }
688 NumOperands(NumOps), NumValues(VTs.NumVTs),
702 UseList(NULL), NumOperands(0), NumValues(VTs.NumVTs),
709 NumOperands = 1;
720 NumOperands = 2;
734 NumOperands
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8383 unsigned NumOperands = 0; local
8434 NumOperands = 1;
8441 NumOperands = 1;
8448 NumOperands = 2;
8495 NumOperands = 2;
8546 for (unsigned i = 0; i != NumOperands; ++i)
8549 SDValue New = DAG.getNode(Opcode, dl, VTs, &Ops[0], NumOperands);

Completed in 353 milliseconds