Searched defs:NumOperands (Results 1 - 18 of 18) 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.h45 /// NumOperands - The number of values used by this User.
47 unsigned NumOperands; member in class:llvm::User
51 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {}
54 Use::zap(OperandList, OperandList + NumOperands, true);
56 // Reset NumOperands so User::operator delete() does the right thing.
57 NumOperands = 0;
61 Use::zap(OperandList, OperandList + NumOperands);
87 assert(i < NumOperands && "getOperand() out of range!");
91 assert(i < NumOperands && "setOperand() out of range!");
98 assert(i < NumOperands
[all...]
H A DMetadata.h82 /// NumOperands - This many 'MDNodeOperand' items are co-allocated onto the
84 unsigned NumOperands; member in class:llvm::MDNode
142 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.h172 unsigned NumOperands; member in class:llvm::ComplexPattern
177 ComplexPattern() : NumOperands(0) {}
181 unsigned getNumOperands() const { return NumOperands; }
H A DAsmMatcherEmitter.cpp336 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { argument
340 X.MINumOperands = NumOperands;
1413 unsigned NumOperands = OpInfo.MINumOperands; local
1415 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands));
1420 for (unsigned AI = 0; AI < NumOperands; ++AI) {
1464 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); local
1466 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
145 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
151 if (OpNum < NumOperands &&
176 return NumOperands;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp269 unsigned NumOperands = N->getNumOperands(); local
272 for (i = 0; i != NumOperands; ++i) {
344 if (i == NumOperands) {
H A DLegalizeVectorTypes.cpp1691 unsigned NumOperands = N->getNumOperands(); local
1701 for (unsigned i=0; i < NumOperands; ++i)
1703 for (unsigned i = NumOperands; i != NumConcat; ++i)
1712 for (i=1; i < NumOperands; ++i)
1716 if (i == NumOperands)
1721 if (NumOperands == 2) {
1740 for (unsigned i=0; i < NumOperands; ++i) {
2128 unsigned NumOperands = N->getNumOperands(); local
2129 for (unsigned i=0; i < NumOperands; ++i) {
/external/clang/lib/AST/
H A DStmt.cpp413 unsigned NumOperands = local
415 if (N >= NumOperands) {
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1084 unsigned NumOperands = I.getNumOperands(); local
1085 if (NumOperands == 0)
1087 else if (NumOperands == 1) {
1091 for (unsigned i = 0, e = NumOperands; i != e; ++i)
/external/llvm/lib/CodeGen/
H A DMachineInstr.cpp808 unsigned NumOperands = MCID->getNumOperands(); local
810 return NumOperands;
812 for (unsigned i = NumOperands, e = getNumOperands(); i != e; ++i) {
815 NumOperands++;
817 return NumOperands;
1445 if (i < getDesc().NumOperands) {
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp1373 const SCEV *const *Ops, size_t NumOperands,
1390 for (; i != NumOperands; ++i) {
1370 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/Target/ARM/
H A DARMLoadStoreOptimizer.cpp1023 unsigned NumOperands = MI->getDesc().getNumOperands(); local
1024 unsigned OffField = MI->getOperand(NumOperands-3).getImm();
/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.cpp4044 int NumOperands = SVOp->getValueType(0).getVectorNumElements(); local
4046 unsigned Shift = (NumOperands == 4) ? 2 : 1;
4048 for (int i = 0; i < NumOperands; ++i) {
4049 int Val = SVOp->getMaskElt(NumOperands-i-1);
4051 if (Val >= NumOperands) Val -= NumOperands;
4053 if (i != NumOperands - 1)
8179 unsigned NumOperands = 0; local
8202 NumOperands = 1;
8209 NumOperands
[all...]

Completed in 1683 milliseconds