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.h144 size_t NumOperands; member in class:llvm::SCEVNAryExpr
148 : SCEV(ID, T), Operands(O), NumOperands(N) {}
151 size_t getNumOperands() const { return NumOperands; }
153 assert(i < NumOperands && "Operand index out of range!");
159 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.cpp147 unsigned NumOperands = MI->getNumOperands(); local
153 assert(NumDefs != NumOperands-2 && "No asm string?");
314 if (Val >= NumOperands-1)
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h182 unsigned NumOperands; member in class:llvm::ComplexPattern
187 ComplexPattern() : NumOperands(0) {}
191 unsigned getNumOperands() const { return NumOperands; }
H A DAsmMatcherEmitter.cpp337 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { argument
341 X.MINumOperands = NumOperands;
1453 unsigned NumOperands = OpInfo.MINumOperands; local
1455 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands));
1460 for (unsigned AI = 0; AI < NumOperands; ++AI) {
1503 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); local
1505 NumOperands));
/external/llvm/include/llvm/MC/
H A DMCInstrDesc.h136 unsigned short NumOperands; // Num of args (may be more if variable_ops) member in class:llvm::MCInstrDesc
144 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
150 if (OpNum < NumOperands &&
169 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.cpp2956 unsigned NumOperands = N->getNumOperands(); local
2957 assert(NumElem * NumOperands == NumOutElem &&
2962 for (unsigned i = 0; i < NumOperands; ++i) {
H A DLegalizeVectorTypes.cpp1704 unsigned NumOperands = N->getNumOperands(); local
1714 for (unsigned i=0; i < NumOperands; ++i)
1716 for (unsigned i = NumOperands; i != NumConcat; ++i)
1725 for (i=1; i < NumOperands; ++i)
1729 if (i == NumOperands)
1734 if (NumOperands == 2) {
1753 for (unsigned i=0; i < NumOperands; ++i) {
2141 unsigned NumOperands = N->getNumOperands(); local
2142 for (unsigned i=0; i < NumOperands; ++i) {
/external/clang/lib/AST/
H A DStmt.cpp477 unsigned NumOperands = local
479 if (N >= NumOperands) {
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp1392 const SCEV *const *Ops, size_t NumOperands,
1409 for (; i != NumOperands; ++i) {
1389 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.cpp1115 unsigned NumOperands = I.getNumOperands(); local
1116 if (NumOperands == 0)
1118 else if (NumOperands == 1) {
1122 for (unsigned i = 0, e = NumOperands; i != e; ++i)
/external/llvm/lib/CodeGen/
H A DMachineInstr.cpp878 unsigned NumOperands = MCID->getNumOperands(); local
880 return NumOperands;
882 for (unsigned i = NumOperands, e = getNumOperands(); i != e; ++i) {
885 NumOperands++;
887 return NumOperands;
1549 if (i < getDesc().NumOperands) {
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp1053 unsigned NumOperands = MI->getDesc().getNumOperands(); local
1054 unsigned OffField = MI->getOperand(NumOperands-3).getImm();
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp1601 unsigned NumOperands = I->getNumOperands(); local
1603 for (unsigned p = 0, o = NumOperands-1; p < NumOperands; ++p, --o) {
1615 if (o == NumOperands-1) {
1633 } else if (isa<ShuffleVectorInst>(I) && o == NumOperands-1) {
1847 unsigned NumOperands = I->getNumOperands(); local
1848 SmallVector<Value *, 3> ReplacedOperands(NumOperands);
1860 for (unsigned o = 0; o < NumOperands; ++o)
/external/llvm/lib/VMCore/
H A DVerifier.cpp1366 unsigned NumOperands = Range->getNumOperands(); local
1367 Assert1(NumOperands % 2 == 0, "Unfinished range!", Range);
1368 unsigned NumRanges = NumOperands / 2;
/external/llvm/include/llvm/CodeGen/
H A DSelectionDAGNodes.h337 /// NumOperands/NumValues - The number of entries in the Operand/Value list.
338 unsigned short NumOperands, NumValues; member in class:llvm::SDNode
527 unsigned getNumOperands() const { return NumOperands; }
534 assert(Num < NumOperands && "Invalid child # of SDNode!");
540 op_iterator op_end() const { return OperandList+NumOperands; }
683 NumOperands(NumOps), NumValues(VTs.NumVTs),
697 UseList(NULL), NumOperands(0), NumValues(VTs.NumVTs),
704 NumOperands = 1;
715 NumOperands = 2;
729 NumOperands
[all...]
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp8096 unsigned NumOperands = 0; local
8121 NumOperands = 1;
8128 NumOperands = 1;
8135 NumOperands = 2;
8182 NumOperands = 2;
8204 for (unsigned i = 0; i != NumOperands; ++i)
8207 SDValue New = DAG.getNode(Opcode, dl, VTs, &Ops[0], NumOperands);

Completed in 400 milliseconds