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

12

/external/llvm/include/llvm/CodeGen/
H A DMachineInstr.h79 unsigned NumOperands; // Number of operands on instruction. member in class:llvm::MachineInstr
274 unsigned getNumOperands() const { return NumOperands; }
293 mop_iterator operands_end() { return Operands + NumOperands; }
296 const_mop_iterator operands_end() const { return Operands + NumOperands; }
H A DSelectionDAGNodes.h410 unsigned short NumOperands, NumValues; member in class:llvm::SDNode
626 unsigned getNumOperands() const { return NumOperands; }
632 assert(Num < NumOperands && "Invalid child # of SDNode!");
638 op_iterator op_end() const { return OperandList+NumOperands; }
781 ValueList(VTs.VTs), UseList(nullptr), NumOperands(Ops.size()),
784 assert(NumOperands == Ops.size() &&
785 "NumOperands wasn't wide enough for its operands!");
801 UseList(nullptr), NumOperands(0), NumValues(VTs.NumVTs),
812 NumOperands = 1;
823 NumOperands
[all...]
/external/llvm/lib/Target/AMDGPU/
H A DSIInsertWaits.cpp444 unsigned NumOperands = I->getNumOperands(); local
445 for (unsigned i = 0; i < NumOperands; i++) {
/external/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp254 unsigned NumOperands = C->getNumOperands(); local
258 for (unsigned i = 0; i < NumOperands; ++i) {
275 for (unsigned i = 0; i < NumOperands; ++i) {
280 for (unsigned i = 0; i < NumOperands; ++i) {
293 unsigned NumOperands = C->getNumOperands(); local
297 for (unsigned i = 0; i < NumOperands; ++i) {
345 makeArrayRef(&NewOperands[1], NumOperands - 1))
349 makeArrayRef(&NewOperands[1], NumOperands - 1));
372 unsigned NumOperands = N->getNumOperands(); local
376 for (unsigned i = 0; i < NumOperands;
[all...]
/external/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp113 unsigned OpNo = 0, NumOperands = C->getNumOperands(); local
115 for (; OpNo != NumOperands; ++OpNo) {
128 if (OpNo == NumOperands && NewTy == C->getType())
134 Ops.reserve(NumOperands);
139 if (OpNo != NumOperands) {
143 for (++OpNo; OpNo != NumOperands; ++OpNo)
/external/llvm/utils/TableGen/
H A DCodeGenTarget.h200 unsigned NumOperands; member in class:llvm::ComplexPattern
205 ComplexPattern() : NumOperands(0) {}
209 unsigned getNumOperands() const { return NumOperands; }
H A DInstrInfoEmitter.cpp206 unsigned NumOperands = 0; local
216 std::pair<std::string, unsigned>(Info.Name, NumOperands++));
H A DAsmMatcherEmitter.cpp375 static ResOperand getRenderedOp(unsigned AsmOpNum, unsigned NumOperands) { argument
379 X.MINumOperands = NumOperands;
1652 unsigned NumOperands = OpInfo.MINumOperands; local
1654 ResOperands.push_back(ResOperand::getRenderedOp(SrcOperand, NumOperands));
1659 for (unsigned AI = 0; AI < NumOperands; ++AI) {
1704 unsigned NumOperands = (SubIdx == -1 ? OpInfo->MINumOperands : 1); local
1706 NumOperands));
/external/clang/lib/Sema/
H A DSemaStmtAsm.cpp368 unsigned NumOperands = NS->getNumOutputs() + NS->getNumInputs(); local
370 // Look for the (ConstraintIdx - NumOperands + 1)th constraint with
372 if (ConstraintIdx >= NumOperands) {
375 for (unsigned Cnt = ConstraintIdx - NumOperands; I != E; ++I)
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp164 unsigned NumOperands = MI->getNumOperands(); local
206 if (Val >= NumOperands-1)
260 unsigned NumOperands = MI->getNumOperands(); local
371 if (Val >= NumOperands-1)
/external/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h142 size_t NumOperands; member in class:llvm::SCEVNAryExpr
146 : SCEV(ID, T), Operands(O), NumOperands(N) {}
149 size_t getNumOperands() const { return NumOperands; }
151 assert(i < NumOperands && "Operand index out of range!");
158 op_iterator op_end() const { return Operands + NumOperands; }
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp275 unsigned NumOperands = N->getNumOperands(); local
278 for (i = 0; i != NumOperands; ++i) {
352 if (i == NumOperands) {
H A DLegalizeIntegerTypes.cpp3231 unsigned NumOperands = N->getNumOperands(); local
3232 assert(NumElem * NumOperands == NumOutElem &&
3237 for (unsigned i = 0; i < NumOperands; ++i) {
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
H A DR600MCCodeEmitter.cpp196 unsigned NumOperands = MI.getNumOperands(); local
199 NumOperands--;
202 NumOperands--;
205 NumOperands = 2;
208 if (NumOperands < 1) {
216 for (OpIndex = 1; OpIndex < NumOperands; OpIndex++) {
231 EmitALU(MI, NumOperands - 1, Fixups, OS);
491 unsigned NumOperands = MI.getNumOperands(); local
492 if (NumOperands > 0) {
493 assert(NumOperands
[all...]
/external/llvm/include/llvm/MC/
H A DMCInstrDesc.h141 unsigned short NumOperands; // Num of args (may be more if variable_ops) member in class:llvm::MCInstrDesc
149 const MCOperandInfo *OpInfo; // 'NumOperands' entries about operands
164 if (OpNum < NumOperands &&
185 unsigned getNumOperands() const { return NumOperands; }
/external/llvm/lib/Target/ARM/
H A DARMLoadStoreOptimizer.cpp177 unsigned NumOperands = MI->getDesc().getNumOperands(); local
178 unsigned OffField = MI->getOperand(NumOperands-3).getImm();
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp1137 unsigned NumOperands = MI->getDesc().getNumOperands(); local
1138 assert(NumOperands == 3 && "Illegal TwoArgFP instruction!");
1140 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2));
1141 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1));
1235 unsigned NumOperands = MI->getDesc().getNumOperands(); local
1236 assert(NumOperands == 2 && "Illegal FUCOM* instruction!");
1237 unsigned Op0 = getFPReg(MI->getOperand(NumOperands-2));
1238 unsigned Op1 = getFPReg(MI->getOperand(NumOperands-1));
/external/clang/lib/AST/
H A DStmt.cpp580 unsigned NumOperands = local
582 if (N >= NumOperands) {
/external/llvm/include/llvm/IR/
H A DMetadata.h750 unsigned NumOperands; member in class:llvm::MDNode
775 MDOperand *mutable_begin() { return mutable_end() - NumOperands; }
941 assert(I < NumOperands && "Out of range");
946 unsigned getNumOperands() const { return NumOperands; }
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp3839 unsigned NumOperands = std::distance(ArgBegin, ArgEnd); local
3843 if (NumOperands == 2) {
3882 if (NumOperands == 1)
H A DScalarEvolution.cpp1868 const SCEV *const *Ops, size_t NumOperands,
1885 for (; i != NumOperands; ++i) {
1865 CollectAddOperandsWithScales(DenseMap<const SCEV *, APInt> &M, SmallVectorImpl<const SCEV *> &NewOps, APInt &AccumulatedConstant, const SCEV *const *Ops, size_t NumOperands, const APInt &Scale, ScalarEvolution &SE) argument
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1902 unsigned NumOperands = I.getNumOperands(); local
1903 if (NumOperands == 0)
1905 else if (NumOperands == 1) {
1909 for (unsigned i = 0, e = NumOperands; i != e; ++i)
/external/llvm/lib/CodeGen/
H A DMachineInstr.cpp648 : MCID(&tid), Parent(nullptr), Operands(nullptr), NumOperands(0), Flags(0),
667 : MCID(&MI.getDesc()), Parent(nullptr), Operands(nullptr), NumOperands(0),
738 if (&Op >= Operands && &Op < Operands + NumOperands) {
787 if (OpNo != NumOperands)
788 moveOperands(Operands + OpNo + 1, OldOperands + OpNo, NumOperands - OpNo,
790 ++NumOperands;
848 if (unsigned N = NumOperands - 1 - OpNo)
850 --NumOperands;
991 unsigned NumOperands = MCID->getNumOperands(); local
993 return NumOperands;
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp2775 unsigned NumOperands = I->getNumOperands(); local
2777 for (unsigned p = 0, o = NumOperands-1; p < NumOperands; ++p, --o) {
2788 if (o == NumOperands-1) {
2806 } else if (isa<ShuffleVectorInst>(I) && o == NumOperands-1) {
3103 unsigned NumOperands = I->getNumOperands(); local
3104 SmallVector<Value *, 3> ReplacedOperands(NumOperands);
3135 for (unsigned o = 0; o < NumOperands; ++o)
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp367 unsigned NumOperands = S->NumOutputs + S->NumInputs; local
371 Exprs.reserve(NumOperands);
372 ConstraintsData.reserve(NumOperands);
373 Constraints.reserve(NumOperands);
374 for (unsigned i = 0; i != NumOperands; ++i) {

Completed in 853 milliseconds

12