Home
last modified time | relevance | path

Searched refs:getNumOperands (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMDBuilderTest.cpp38 EXPECT_EQ(MD1->getNumOperands(), 1U); in TEST_F()
52 EXPECT_EQ(R1->getNumOperands(), 2U); in TEST_F()
65 EXPECT_GE(R0->getNumOperands(), 1U); in TEST_F()
66 EXPECT_GE(R1->getNumOperands(), 1U); in TEST_F()
69 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == nullptr); in TEST_F()
70 EXPECT_TRUE(R1->getNumOperands() == 1 || R1->getOperand(1) == nullptr); in TEST_F()
77 EXPECT_GE(R0->getNumOperands(), 1U); in TEST_F()
80 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == nullptr); in TEST_F()
92 EXPECT_GE(N0->getNumOperands(), 2U); in TEST_F()
93 EXPECT_GE(N1->getNumOperands(), 2U); in TEST_F()
[all …]
/external/llvm/unittests/IR/
DMDBuilderTest.cpp38 EXPECT_EQ(MD1->getNumOperands(), 1U); in TEST_F()
52 EXPECT_EQ(R1->getNumOperands(), 2U); in TEST_F()
65 EXPECT_GE(R0->getNumOperands(), 1U); in TEST_F()
66 EXPECT_GE(R1->getNumOperands(), 1U); in TEST_F()
69 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == nullptr); in TEST_F()
70 EXPECT_TRUE(R1->getNumOperands() == 1 || R1->getOperand(1) == nullptr); in TEST_F()
77 EXPECT_GE(R0->getNumOperands(), 1U); in TEST_F()
80 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == nullptr); in TEST_F()
92 EXPECT_GE(N0->getNumOperands(), 2U); in TEST_F()
93 EXPECT_GE(N1->getNumOperands(), 2U); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DOperandTraits.h53 return U->getNumOperands(); in operands()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
74 return U->getNumOperands(); in operands()
98 return U->getOperandList() + U->getNumOperands(); in op_end()
101 return U->getNumOperands(); in operands()
120 inline unsigned getNumOperands() const
147 unsigned CLASS::getNumOperands() const { \
/external/swiftshader/third_party/LLVM/include/llvm/
DOperandTraits.h53 return U->getNumOperands(); in operands()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
74 return U->getNumOperands(); in operands()
98 return U->OperandList + U->getNumOperands(); in op_end()
101 return U->getNumOperands(); in operands()
120 inline unsigned getNumOperands() const
147 unsigned CLASS::getNumOperands() const { \
/external/llvm/include/llvm/IR/
DOperandTraits.h53 return U->getNumOperands(); in operands()
68 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
74 return U->getNumOperands(); in operands()
98 return U->getOperandList() + U->getNumOperands(); in op_end()
101 return U->getNumOperands(); in operands()
120 inline unsigned getNumOperands() const
147 unsigned CLASS::getNumOperands() const { \
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperandTraits.h56 return U->getNumOperands(); in operands()
74 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
80 return U->getNumOperands(); in operands()
101 return U->getOperandList() + U->getNumOperands(); in op_end()
104 return U->getNumOperands(); in operands()
123 inline unsigned getNumOperands() const
150 unsigned CLASS::getNumOperands() const { \
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp446 if (TBAAInfo->getNumOperands() > 0) in operator <<()
492 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); in MachineInstr()
507 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); in MachineInstr()
523 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); in MachineInstr()
539 Operands.reserve(NumImplicitOps + MCID->getNumOperands()); in MachineInstr()
552 Operands.reserve(MI.getNumOperands()); in MachineInstr()
555 for (unsigned i = 0; i != MI.getNumOperands(); ++i) in MachineInstr()
641 assert((isImpReg || MCID->isVariadic() || OpNo < MCID->getNumOperands()) && in addOperand()
743 Other->getNumOperands() != getNumOperands()) in isIdenticalTo()
747 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { in isIdenticalTo()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDebugInfo.cpp59 if (Elt < DbgNode->getNumOperands()) in getStringField()
70 if (Elt < DbgNode->getNumOperands()) in getUInt64Field()
81 if (Elt < DbgNode->getNumOperands()) in getDescriptorField()
91 if (Elt < DbgNode->getNumOperands()) in getGlobalVariableField()
100 if (Elt < DbgNode->getNumOperands()) in getConstantField()
109 if (Elt < DbgNode->getNumOperands()) in getFunctionField()
116 return DbgNode->getNumOperands()-6; in getNumAddrElements()
118 return DbgNode->getNumOperands()-7; in getNumAddrElements()
119 return DbgNode->getNumOperands()-8; in getNumAddrElements()
273 (DbgNode->getNumOperands() == 3); in isLexicalBlockFile()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp137 if (N->getNumOperands() < 3) in isNewFormatTypeNode()
168 if (Node->getNumOperands() < 2) in getParent()
181 if (Node->getNumOperands() < 3) in isTypeImmutable()
214 if (Node->getNumOperands() < 4) in isNewFormat()
245 if (Node->getNumOperands() < OpNo + 1) in isTypeImmutable()
291 return (getNode()->getNumOperands() - FirstFieldOpNo) / NumOpsPerField; in getNumFields()
308 if (Node->getNumOperands() < 6) in getField()
312 if (Node->getNumOperands() < 2) in getField()
317 if (Node->getNumOperands() <= 3) { in getField()
318 uint64_t Cur = Node->getNumOperands() == 2 in getField()
[all …]
/external/llvm/lib/Analysis/
DTypeBasedAliasAnalysis.cpp153 if (Node->getNumOperands() < 2) in getParent()
166 if (Node->getNumOperands() < 3) in TypeIsImmutable()
201 if (Node->getNumOperands() < 4) in TypeIsImmutable()
228 if (Node->getNumOperands() < 2) in getParent()
233 if (Node->getNumOperands() <= 3) { in getParent()
234 uint64_t Cur = Node->getNumOperands() == 2 in getParent()
248 for (unsigned Idx = 1; Idx < Node->getNumOperands(); Idx += 2) { in getParent()
260 TheIdx = Node->getNumOperands() - 2; in getParent()
278 return isa<MDNode>(MD->getOperand(0)) && MD->getNumOperands() >= 3; in isStructPathTBAA()
374 if (getNumOperands() < 1) in isTBAAVtableAccess()
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenAsmWriter.inc12883 if (MI->getNumOperands() == 4 &&
12893 if (MI->getNumOperands() == 4 &&
12905 if (MI->getNumOperands() == 4 &&
12915 if (MI->getNumOperands() == 4 &&
12930 if (MI->getNumOperands() == 4 &&
12942 if (MI->getNumOperands() == 4 &&
12952 if (MI->getNumOperands() == 4 &&
12967 if (MI->getNumOperands() == 4 &&
12977 if (MI->getNumOperands() == 4 &&
12989 if (MI->getNumOperands() == 4 &&
[all …]
DAArch64GenAsmWriter1.inc13571 if (MI->getNumOperands() == 4 &&
13581 if (MI->getNumOperands() == 4 &&
13593 if (MI->getNumOperands() == 4 &&
13603 if (MI->getNumOperands() == 4 &&
13618 if (MI->getNumOperands() == 4 &&
13630 if (MI->getNumOperands() == 4 &&
13640 if (MI->getNumOperands() == 4 &&
13655 if (MI->getNumOperands() == 4 &&
13665 if (MI->getNumOperands() == 4 &&
13677 if (MI->getNumOperands() == 4 &&
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanHCFGTest.cpp61 EXPECT_EQ(2u, Idx->getNumOperands()); in TEST_F()
66 EXPECT_EQ(1u, Load->getNumOperands()); in TEST_F()
71 EXPECT_EQ(2u, Add->getNumOperands()); in TEST_F()
76 EXPECT_EQ(2u, Store->getNumOperands()); in TEST_F()
82 EXPECT_EQ(2u, IndvarAdd->getNumOperands()); in TEST_F()
87 EXPECT_EQ(2u, ICmp->getNumOperands()); in TEST_F()
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp56 for (auto i = Desc.getNumOperands(), e = MI->getNumOperands(); i < e; ++i) { in printInst()
96 for (unsigned i = 0, e = MI->getNumOperands(); i < e; ++i) { in printInst()
141 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand()
157 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand()
169 assert(OpNo < Desc.getNumOperands() && in printOperand()
183 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp56 for (auto i = Desc.getNumOperands(), e = MI->getNumOperands(); i < e; ++i) { in printInst()
62 i != Desc.getNumOperands())) in printInst()
98 for (unsigned i = 0, e = MI->getNumOperands(); i < e; ++i) { in printInst()
144 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand()
161 assert((OpNo < Desc.getNumOperands() || in printOperand()
173 assert(OpNo < Desc.getNumOperands() && in printOperand()
187 assert((OpNo < MII.get(MI->getOpcode()).getNumOperands() || in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineInstr.cpp121 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr()
138 CapOperands = OperandCapacity::get(MI.getNumOperands()); in MachineInstr()
218 unsigned OpNo = getNumOperands(); in addOperand()
233 OpNo < MCID->getNumOperands() || isMetaDataOp) && in addOperand()
243 if (!OldOperands || OldCap.getSize() == getNumOperands()) { in addOperand()
295 assert(OpNo < getNumOperands() && "Invalid operand number"); in RemoveOperand()
300 for (unsigned i = OpNo + 1, e = getNumOperands(); i != e; ++i) in RemoveOperand()
412 Other.getNumOperands() != getNumOperands()) in isIdenticalTo()
437 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { in isIdenticalTo()
523 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp63 if (ErrorLine >= LocInfo->getNumOperands()) in srcMgrDiagHandler()
66 if (LocInfo->getNumOperands() != 0) in srcMgrDiagHandler()
164 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr()
218 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
226 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
260 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr()
384 if (OpNo >= MI->getNumOperands()) break; in EmitGCCInlineAsmStr()
392 if (OpNo >= MI->getNumOperands() || in EmitGCCInlineAsmStr()
437 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
460 for (unsigned i = MI->getNumOperands(); i != 0; --i) { in EmitInlineAsm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp62 if (ErrorLine >= LocInfo->getNumOperands()) in srcMgrDiagHandler()
65 if (LocInfo->getNumOperands() != 0) in srcMgrDiagHandler()
177 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr()
248 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
256 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
290 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr()
414 if (OpNo >= MI->getNumOperands()) break; in EmitGCCInlineAsmStr()
422 if (OpNo >= MI->getNumOperands() || in EmitGCCInlineAsmStr()
467 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
490 for (unsigned i = MI->getNumOperands(); i != 0; --i) { in EmitInlineAsm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPURegisterBankInfo.cpp195 for (unsigned i = 0, e = MI.getNumOperands();i != e; ++i) { in isSALUMapping()
208 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingSOP()
210 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { in getDefaultMappingSOP()
215 MI.getNumOperands()); in getDefaultMappingSOP()
222 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getDefaultMappingVOP()
236 for (unsigned e = MI.getNumOperands(); OpdIdx != e; ++OpdIdx) { in getDefaultMappingVOP()
242 MI.getNumOperands()); in getDefaultMappingVOP()
250 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMappingForLoad()
270 1, 1, getOperandsMapping(OpdsMapping), MI.getNumOperands()); in getInstrMappingForLoad()
302 SmallVector<const ValueMapping*, 8> OpdsMapping(MI.getNumOperands()); in getInstrMapping()
[all …]
/external/llvm/lib/CodeGen/
DMachineInstr.cpp591 if (TBAAInfo->getNumOperands() > 0) in print()
601 if (ScopeInfo->getNumOperands() > 0) in print()
602 for (unsigned i = 0, ie = ScopeInfo->getNumOperands(); i != ie; ++i) { in print()
615 if (NoAliasInfo->getNumOperands() > 0) in print()
616 for (unsigned i = 0, ie = NoAliasInfo->getNumOperands(); i != ie; ++i) { in print()
665 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr()
688 CapOperands = OperandCapacity::get(MI.getNumOperands()); in MachineInstr()
787 unsigned OpNo = getNumOperands(); in addOperand()
802 OpNo < MCID->getNumOperands() || isMetaDataOp) && in addOperand()
812 if (!OldOperands || OldCap.getSize() == getNumOperands()) { in addOperand()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp58 if (ErrorLine >= LocInfo->getNumOperands()) in SrcMgrDiagHandler()
61 if (LocInfo->getNumOperands() != 0) in SrcMgrDiagHandler()
144 unsigned NumOperands = MI->getNumOperands(); in EmitInlineAsm()
180 for (unsigned i = MI->getNumOperands(); i != 0; --i) { in EmitInlineAsm()
183 LocMD->getNumOperands() != 0) { in EmitInlineAsm()
324 if (OpNo >= MI->getNumOperands()) break; in EmitInlineAsm()
329 if (OpNo >= MI->getNumOperands()) { in EmitInlineAsm()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp148 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
149 ReservedSpace(PN.getNumOperands()) { in PHINode()
150 allocHungoffUses(PN.getNumOperands()); in PHINode()
171 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
174 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
187 unsigned e = getNumOperands(); in growOperands()
248 LP.getNumOperands()), in LandingPadInst()
249 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
250 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
282 unsigned e = getNumOperands(); in growOperands()
[all …]
/external/llvm/lib/IR/
DInstructions.cpp93 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
94 ReservedSpace(PN.getNumOperands()) { in PHINode()
95 allocHungoffUses(PN.getNumOperands()); in PHINode()
116 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
119 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
132 unsigned e = getNumOperands(); in growOperands()
193 LP.getNumOperands()), in LandingPadInst()
194 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
195 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
227 unsigned e = getNumOperands(); in growOperands()
[all …]
/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp205 MI.getNumOperands()); in getInstrMappingImpl()
223 for (unsigned OpIdx = 0, End = MI.getNumOperands(); OpIdx != End; ++OpIdx) { in getInstrMappingImpl()
288 for (unsigned OpIdx = 0, End = MI.getNumOperands(); OpIdx != End; ++OpIdx) { in getInstrMappingImpl()
338 for (unsigned OpIdx = 0, EndIdx = MI.getNumOperands(); OpIdx != EndIdx; in applyDefaultMapping()
467 assert(NumOperands == MI.getNumOperands() && in verify()
517 unsigned NumOpds = MI.getNumOperands(); in OperandsMapper()
526 assert(OpIdx < getMI().getNumOperands() && "Out-of-bound access"); in getVRegsMem()
562 assert(OpIdx < getMI().getNumOperands() && "Out-of-bound access"); in createVRegs()
580 assert(OpIdx < getMI().getNumOperands() && "Out-of-bound access"); in setVRegs()
595 assert(OpIdx < getMI().getNumOperands() && "Out-of-bound access"); in getVRegs()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DThumb2SizeReduction.cpp218 for (unsigned i = 0, e = Def->getNumOperands(); i != e; ++i) { in canAddPseudoFlagDep()
228 for (unsigned i = 0, e = Use->getNumOperands(); i != e; ++i) { in canAddPseudoFlagDep()
291 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { in VerifyLowRegs()
376 for (unsigned i = 4; i < MI->getNumOperands(); ++i) { in ReduceLoadStore()
460 for (unsigned e = MI->getNumOperands(); OpNum != e; ++OpNum) in ReduceLoadStore()
502 MI->getOperand(MCID.getNumOperands()-1).getReg() == ARM::CPSR) in ReduceSpecial()
629 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
655 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
656 for (unsigned i = 1, e = MI->getNumOperands(); i != e; ++i) { in ReduceTo2Addr()
686 for (unsigned i = 0, e = MCID.getNumOperands(); i != e; ++i) { in ReduceToNarrow()
[all …]

12345678910>>...46