/external/llvm/unittests/IR/ |
MDBuilderTest.cpp | 37 EXPECT_EQ(MD1->getNumOperands(), 1U); 51 EXPECT_EQ(R1->getNumOperands(), 2U); 64 EXPECT_GE(R0->getNumOperands(), 1U); 65 EXPECT_GE(R1->getNumOperands(), 1U); 68 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == 0); 69 EXPECT_TRUE(R1->getNumOperands() == 1 || R1->getOperand(1) == 0); 76 EXPECT_GE(R0->getNumOperands(), 1U); 79 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == 0); 91 EXPECT_GE(N0->getNumOperands(), 2U); 92 EXPECT_GE(N1->getNumOperands(), 2U) [all...] |
WaymarkTest.cpp | 34 ASSERT_EQ(1U + 22, A->getNumOperands());
|
/external/llvm/lib/MC/ |
MCInstrAnalysis.cpp | 15 if (Inst.getNumOperands() == 0 ||
|
MCInst.cpp | 44 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { 60 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
|
/external/llvm/include/llvm/IR/ |
OperandTraits.h | 53 return U->getNumOperands(); 68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); 74 return U->getNumOperands(); 98 return U->OperandList + U->getNumOperands(); 101 return U->getNumOperands(); 120 inline unsigned getNumOperands() const 147 unsigned CLASS::getNumOperands() const { \
|
Constant.h | 144 assert(getNumOperands() == 0 && "replaceUsesOfWithOnConstant must be "
|
Metadata.h | 141 /// getNumOperands - Return number of MDNode operands. 142 unsigned getNumOperands() const { return NumOperands; } 221 /// getNumOperands - Return the number of NamedMDNode operands. 222 unsigned getNumOperands() const;
|
/external/llvm/include/llvm/Analysis/ |
ConstantsScanner.h | 33 assert(!InstI.atEnd() && OpIdx < InstI->getNumOperands() && 42 (InstI->getNumOperands() == 0 || !isAtConstant())) // Not at constant? 63 unsigned NumOperands = InstI->getNumOperands();
|
ScalarEvolutionExpressions.h | 147 size_t getNumOperands() const { return NumOperands; } 215 return getOperand(getNumOperands() - 1)->getType(); 312 return getNumOperands() == 2; 319 return getNumOperands() == 3; 582 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i) 589 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i) 600 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i) 608 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i) 615 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i) 673 for (int i = 0, e = Expr->getNumOperands(); i < e; ++i [all...] |
/external/llvm/lib/IR/ |
DebugInfo.cpp | 54 if (DbgNode == 0 || Elt >= DbgNode->getNumOperands()) 77 if (Elt < DbgNode->getNumOperands()) 89 if (Elt < DbgNode->getNumOperands()) 106 if (Elt < DbgNode->getNumOperands()) 115 if (Elt < DbgNode->getNumOperands()) 124 if (Elt < DbgNode->getNumOperands()) 133 if (Elt < DbgNode->getNumOperands()) { 140 return DbgNode->getNumOperands()-8; 289 (DbgNode->getNumOperands() == 3); 295 (DbgNode->getNumOperands() > 3) [all...] |
User.cpp | 32 for (unsigned i = 0, E = getNumOperands(); i != E; ++i)
|
Metadata.cpp | 102 assert(Op <= N->getNumOperands() && "Invalid operand number"); 168 for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) { 193 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) 306 assert(i < getNumOperands() && "Invalid operand number"); 315 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) 393 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { 468 int AN = A->getNumOperands() / 2; 469 int BN = B->getNumOperands() / 2; 537 /// getNumOperands - Return number of NamedMDNode operands. 538 unsigned NamedMDNode::getNumOperands() const [all...] |
TypeFinder.cpp | 80 for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) 145 for (unsigned i = 0, e = V->getNumOperands(); i != e; ++i)
|
/external/llvm/lib/Target/X86/InstPrinter/ |
X86InstComments.cpp | 69 MI->getOperand(MI->getNumOperands()-1).getImm(), 79 MI->getOperand(MI->getNumOperands()-1).getImm(), 90 DecodePSHUFMask(MVT::v4i32, MI->getOperand(MI->getNumOperands()-1).getImm(), 98 DecodePSHUFMask(MVT::v8i32, MI->getOperand(MI->getNumOperands()-1).getImm(), 111 MI->getOperand(MI->getNumOperands()-1).getImm(), 120 MI->getOperand(MI->getNumOperands()-1).getImm(), 131 MI->getOperand(MI->getNumOperands()-1).getImm(), 140 MI->getOperand(MI->getNumOperands()-1).getImm(), 296 DecodeSHUFPMask(MVT::v2f64, MI->getOperand(MI->getNumOperands()-1).getImm(), 305 DecodeSHUFPMask(MVT::v4f64, MI->getOperand(MI->getNumOperands()-1).getImm() [all...] |
/external/llvm/lib/Analysis/ |
TypeBasedAliasAnalysis.cpp | 92 if (Node->getNumOperands() < 2) 105 if (Node->getNumOperands() < 3) 141 if (Node->getNumOperands() < 4) 168 if (Node->getNumOperands() < 2) 172 if (Node->getNumOperands() <= 3) { 182 for (unsigned Idx = 1; Idx < Node->getNumOperands(); Idx += 2) { 194 TheIdx = Node->getNumOperands() - 2; 480 T = T->getNumOperands() >= 2 ? cast_or_null<MDNode>(T->getOperand(1)) : 0; 487 T = T->getNumOperands() >= 2 ? cast_or_null<MDNode>(T->getOperand(1)) : 0;
|
PHITransAddr.cpp | 82 for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) 139 for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) { 180 for (unsigned i = 0, e = Inst->getNumOperands(); i != e; ++i) 220 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) { 245 GEPI->getNumOperands() == GEPOps.size() && 403 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) {
|
/frameworks/compile/libbcc/lib/Renderscript/ |
RSInfoExtractor.cpp | 70 for (unsigned i = 0, e = pMetadata->getNumOperands(); i < e; i++) { 72 if ((node != NULL) && (node->getNumOperands() >= NumOperands)) { 202 for (unsigned i = 0, e = (_metadata)->getNumOperands(); i != e; i++) \ 281 if (export_foreach_name->getNumOperands() != 282 export_foreach_signature->getNumOperands()) { 285 "in %s!", export_foreach_name->getNumOperands(), 286 export_foreach_signature->getNumOperands(), module_name); 290 num_foreach_function = export_foreach_name->getNumOperands(); 343 for (unsigned int i = 0; i <= export_var->getNumOperands(); i++) {
|
/external/llvm/lib/CodeGen/ |
DeadMachineInstructionElim.cpp | 66 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { 123 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { 152 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { 171 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|
MachineInstr.cpp | 502 if (TBAAInfo->getNumOperands() > 0) 538 if (unsigned NumOps = MCID->getNumOperands() + 555 CapOperands = OperandCapacity::get(MI.getNumOperands()); 559 for (unsigned i = 0; i != MI.getNumOperands(); ++i) 579 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) 588 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) 641 unsigned OpNo = getNumOperands(); 651 // instruction, only implicit regs are allowed beyond MCID->getNumOperands(). 654 OpNo < MCID->getNumOperands()) && 663 if (!OldOperands || OldCap.getSize() == getNumOperands()) { [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinterInlineAsm.cpp | 58 if (ErrorLine >= LocInfo->getNumOperands()) 61 if (LocInfo->getNumOperands() != 0) 148 unsigned NumOperands = MI->getNumOperands(); 202 if (OpNo >= MI->getNumOperands()) break; 210 if (OpNo >= MI->getNumOperands() || 244 unsigned NumOperands = MI->getNumOperands(); 368 if (OpNo >= MI->getNumOperands()) break; 376 if (OpNo >= MI->getNumOperands() || 420 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); 450 for (unsigned i = MI->getNumOperands(); i != 0; --i) [all...] |
/frameworks/compile/libbcc/bcinfo/ |
MetadataExtractor.cpp | 150 mObjectSlotCount = ObjectSlotMetadata->getNumOperands(); 161 if (ObjectSlot != NULL && ObjectSlot->getNumOperands() == 1) { 203 mPragmaCount = PragmaMetadata->getNumOperands(); 213 if (Pragma != NULL && Pragma->getNumOperands() == 2) { 285 mExportVarCount = VarNameMetadata->getNumOperands(); 294 if (Name != NULL && Name->getNumOperands() > 1) { 311 mExportFuncCount = FuncNameMetadata->getNumOperands(); 320 if (Name != NULL && Name->getNumOperands() == 1) { 352 mExportForEachSignatureCount = Signatures->getNumOperands(); 367 if (SigNode != NULL && SigNode->getNumOperands() == 1) [all...] |
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 38 unsigned n = Init->getNumOperands(); 76 for (unsigned I = 0, E = Init->getNumOperands(); I != E; ++I) {
|
/external/llvm/lib/Target/Hexagon/ |
HexagonPeephole.cpp | 138 assert (MI->getNumOperands() == 2); 157 assert (MI->getNumOperands() == 3); 174 assert(MI->getNumOperands() == 3); 189 assert (MI->getNumOperands() == 2); 207 assert (MI->getNumOperands() == 2);
|
/external/llvm/lib/Target/ARM/ |
Thumb2SizeReduction.cpp | 259 for (unsigned i = 0, e = CPSRDef->getNumOperands(); i != e; ++i) { 269 for (unsigned i = 0, e = Use->getNumOperands(); i != e; ++i) { 342 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { 427 for (unsigned i = 4; i < MI->getNumOperands(); ++i) { 511 for (unsigned e = MI->getNumOperands(); OpNum != e; ++OpNum) 553 MI->getOperand(MCID.getNumOperands()-1).getReg() == ARM::CPSR) 702 unsigned NumOps = MCID.getNumOperands(); 728 unsigned NumOps = MCID.getNumOperands(); 729 for (unsigned i = 1, e = MI->getNumOperands(); i != e; ++i) { 765 for (unsigned i = 0, e = MCID.getNumOperands(); i != e; ++i) [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveVariables.h | 213 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { 249 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
|