Home
last modified time | relevance | path

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

12345678910>>...20

/third_party/skia/third_party/externals/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 { \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperandTraits.h55 return U->getNumOperands(); in operands()
73 return reinterpret_cast<Use*>(U) - static_cast<User*>(U)->getNumOperands(); in op_begin()
79 return U->getNumOperands(); in operands()
100 return U->getOperandList() + U->getNumOperands(); in op_end()
103 return U->getNumOperands(); in operands()
122 inline unsigned getNumOperands() const
149 unsigned CLASS::getNumOperands() const { \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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 …]
DPHITransAddr.cpp81 for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) in VerifySubExpr()
137 for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) { in RemoveInstInputs()
178 for (unsigned i = 0, e = Inst->getNumOperands(); i != e; ++i) in PHITranslateSubExpr()
217 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) { in PHITranslateSubExpr()
242 GEPI->getNumOperands() == GEPOps.size() && in PHITranslateSubExpr()
399 for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i) { in InsertPHITranslatedSubExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp60 if (ErrorLine >= LocInfo->getNumOperands()) in srcMgrDiagHandler()
63 if (LocInfo->getNumOperands() != 0) in srcMgrDiagHandler()
178 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr()
276 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
284 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
318 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr()
442 if (OpNo >= MI->getNumOperands()) break; in EmitGCCInlineAsmStr()
450 if (OpNo >= MI->getNumOperands() || in EmitGCCInlineAsmStr()
501 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
524 for (unsigned i = MI->getNumOperands(); i != 0; --i) { in EmitInlineAsm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp107 : Instruction(PN.getType(), Instruction::PHI, nullptr, PN.getNumOperands()), in PHINode()
108 ReservedSpace(PN.getNumOperands()) { in PHINode()
109 allocHungoffUses(PN.getNumOperands()); in PHINode()
130 setNumHungOffUseOperands(getNumOperands() - 1); in removeIncomingValue()
133 if (getNumOperands() == 0 && DeletePHIIfEmpty) { in removeIncomingValue()
146 unsigned e = getNumOperands(); in growOperands()
207 LP.getNumOperands()), in LandingPadInst()
208 ReservedSpace(LP.getNumOperands()) { in LandingPadInst()
209 allocHungoffUses(LP.getNumOperands()); in LandingPadInst()
241 unsigned e = getNumOperands(); in growOperands()
[all …]
DProfileSummary.cpp87 if (MD->getNumOperands() != 2) in getVal()
101 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair()
114 if (!MD || MD->getNumOperands() != 2) in getSummaryFromMD()
124 if (!EntryMD || EntryMD->getNumOperands() != 3) in getSummaryFromMD()
144 if (!Tuple || Tuple->getNumOperands() != 8) in getFromMD()
DAbstractCallSite.cpp121 assert(CallbackEncMD->getNumOperands() >= 2 && "Incomplete !callback metadata"); in AbstractCallSite()
125 for (unsigned u = 0, e = CallbackEncMD->getNumOperands() - 1; u < e; u++) { in AbstractCallSite()
142 CallbackEncMD->getOperand(CallbackEncMD->getNumOperands() - 1).get(); in AbstractCallSite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstr.cpp122 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr()
138 CapOperands = OperandCapacity::get(MI.getNumOperands()); in MachineInstr()
218 unsigned OpNo = getNumOperands(); in addOperand()
234 OpNo < MCID->getNumOperands() || isDebugOp) && in addOperand()
244 if (!OldOperands || OldCap.getSize() == getNumOperands()) { in addOperand()
296 assert(OpNo < getNumOperands() && "Invalid operand number"); in RemoveOperand()
301 for (unsigned i = OpNo + 1, e = getNumOperands(); i != e; ++i) in RemoveOperand()
589 Other.getNumOperands() != getNumOperands()) in isIdenticalTo()
614 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) { in isIdenticalTo()
700 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands()
[all …]
DMachineVerifier.cpp439 for (unsigned I = 0, E = MBBI->getNumOperands(); I != E; ++I) { in verify()
852 if (MI->getNumOperands() < 2) { in verifyInlineAsm()
870 for (unsigned e = MI->getNumOperands(); OpNo < e; OpNo += NumOps) { in verifyInlineAsm()
878 if (OpNo > MI->getNumOperands()) in verifyInlineAsm()
882 if (OpNo < MI->getNumOperands() && MI->getOperand(OpNo).isMetadata()) in verifyInlineAsm()
886 for (unsigned e = MI->getNumOperands(); OpNo < e; ++OpNo) { in verifyInlineAsm()
921 unsigned NumOps = MI->getNumOperands(); in verifyPreISelGenericInstruction()
925 for (unsigned I = 0, E = std::min(MCID.getNumOperands(), NumOps); in verifyPreISelGenericInstruction()
957 for (unsigned I = 0; I < MI->getNumOperands(); ++I) { in verifyPreISelGenericInstruction()
964 if (MI->getNumOperands() < MCID.getNumOperands()) in verifyPreISelGenericInstruction()
[all …]
DCriticalAntiDepBreaker.cpp187 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { in PrescanInstruction()
194 if (i < MI.getDesc().getNumOperands()) in PrescanInstruction()
261 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { in ScanInstruction()
313 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { in ScanInstruction()
321 if (i < MI.getDesc().getNumOperands()) in ScanInstruction()
371 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { in isNewRegClobberedByRefs()
623 for (unsigned i = 0, e = MI.getNumOperands(); i != e; ++i) { in BreakAntiDependencies()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyInstPrinter.cpp57 if (Desc.getNumOperands() == 0 && MI->getNumOperands() > 0) in printInst()
59 for (auto I = Desc.getNumOperands(), E = MI->getNumOperands(); I < E; ++I) { in printInst()
65 I != Desc.getNumOperands())) in printInst()
155 for (unsigned I = 0, E = MI->getNumOperands(); I < E; ++I) { in printInst()
256 for (unsigned I = OpNo, E = MI->getNumOperands(); I != E; ++I) { in printBrList()
DWebAssemblyMCCodeEmitter.cpp78 encodeULEB128(MI.getNumOperands() - 1, OS); in encodeInstruction()
81 encodeULEB128(MI.getNumOperands() - 2, OS); in encodeInstruction()
84 for (unsigned I = 0, E = MI.getNumOperands(); I < E; ++I) { in encodeInstruction()
90 if (I < Desc.getNumOperands()) { in encodeInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DInstrBuilder.cpp222 for (I = 0, E = MCI.getNumOperands(); NumExplicitDefs && I < E; ++I) { in verifyOperands()
235 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands()
236 if (I == MCI.getNumOperands() || !Op.isReg()) { in verifyOperands()
302 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites()
309 for (; i < MCI.getNumOperands() && CurrentDef < NumExplicitDefs; ++i) { in populateWrites()
369 Write.OpIndex = MCDesc.getNumOperands() - 1; in populateWrites()
394 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateWrites()
420 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads()
425 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateReads()
465 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateReads()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp202 if (Node->getNumOperands() != 3) in getWorkGroupDimensions()
261 if (Op->getNumOperands()) in emitPrintf()
270 if (!Node || !Node->getNumOperands()) in emitKernelLanguage()
273 if (Op0->getNumOperands() <= 1) in emitKernelLanguage()
315 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg()
322 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg()
327 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg()
336 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg()
342 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg()
648 if (Node->getNumOperands() != 3) in getWorkGroupDimensions()
[all …]
DAMDGPUUnifyMetadata.cpp60 if (!NamedMD || NamedMD->getNumOperands() <= 1) in unifyVersionMD()
65 assert(VersionMD->getNumOperands() == 2); in unifyVersionMD()
93 if (!NamedMD || NamedMD->getNumOperands() == 1) in unifyExtensionMD()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterBankInfo.cpp115 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs()
130 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping()
150 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping()
188 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping()
199 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping()
294 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp76 std::vector<GlobalVariable *> SplitGlobals(Init->getNumOperands()); in splitGlobal()
77 for (unsigned I = 0; I != Init->getNumOperands(); ++I) { in splitGlobal()
86 unsigned SplitEnd = (I == Init->getNumOperands() - 1) in splitGlobal()
124 for (unsigned I = 3; I != GEP->getNumOperands(); ++I) in splitGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp136 assert(MI.getNumOperands() == 2); in runOnMachineFunction()
154 assert(MI.getNumOperands() == 3); in runOnMachineFunction()
171 assert(MI.getNumOperands() == 3); in runOnMachineFunction()
185 assert(MI.getNumOperands() == 2); in runOnMachineFunction()
203 assert(MI.getNumOperands() == 2); in runOnMachineFunction()
DHexagonVectorPrint.cpp108 if (MI.getNumOperands() < 1) return false; in getInstrVecReg()
116 if (MI.mayStore() && MI.getNumOperands() >= 3 && MI.getOperand(2).isReg()) { in getInstrVecReg()
122 if (MI.mayStore() && MI.getNumOperands() >= 4 && MI.getOperand(3).isReg()) { in getInstrVecReg()
141 if (MII->getNumOperands() < 1) in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSA.h512 block_iterator block_end() { return block_begin() + getNumOperands(); }
515 return block_begin() + getNumOperands();
531 unsigned getNumIncomingValues() const { return getNumOperands(); }
566 if (getNumOperands() == ReservedSpace)
569 setNumHungOffUseOperands(getNumOperands() + 1);
570 setIncomingValue(getNumOperands() - 1, V);
571 setIncomingBlock(getNumOperands() - 1, BB);
577 for (unsigned I = 0, E = getNumOperands(); I != E; ++I)
591 unsigned E = getNumOperands();
601 setNumHungOffUseOperands(getNumOperands() - 1);
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp158 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpRangeMetadata()
160 for (size_t I = 0; I < L->getNumOperands(); ++I) { in cmpRangeMetadata()
345 unsigned NumOperandsL = LE->getNumOperands(); in cmpConstants()
346 unsigned NumOperandsR = RE->getNumOperands(); in cmpConstants()
517 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpOperations()
529 for (unsigned i = 0, e = L->getNumOperands(); i != e; ++i) { in cmpOperations()
682 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs()
685 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs()
772 assert(InstL->getNumOperands() == InstR->getNumOperands()); in cmpBasicBlocks()
774 for (unsigned i = 0, e = InstL->getNumOperands(); i != e; ++i) { in cmpBasicBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp169 unsigned NumOperandsForMapping = IsCopyLike ? 1 : MI.getNumOperands(); in getInstrMappingImpl()
183 for (unsigned OpIdx = 0, EndIdx = MI.getNumOperands(); OpIdx != EndIdx; in getInstrMappingImpl()
444 EndIdx = OpdMapper.getInstrMapping().getNumOperands(); in applyDefaultMapping()
601 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify()
656 unsigned NumOpds = InstrMapping.getNumOperands(); in OperandsMapper()
663 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegsMem()
699 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in createVRegs()
721 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in setVRegs()
736 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegs()
764 unsigned NumOpds = getInstrMapping().getNumOperands(); in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp62 unsigned N = Node->getNumOperands(); in countOperands()
123 for (unsigned i = 0, e = User->getNumOperands(); i != e; ++i) { in EmitCopyFromReg()
134 if (i+II.getNumDefs() < II.getNumOperands()) { in EmitCopyFromReg()
304 bool isOptDef = IIOpNum < MCID.getNumOperands() && in AddRegisterOperand()
313 if (IIOpNum < II->getNumOperands()) in AddRegisterOperand()
345 unsigned Idx = MIB->getNumOperands(); in AddRegisterOperand()
397 bool Imp = II && (IIOpNum >= II->getNumOperands() && !II->isVariadic()); in AddOperand()
636 unsigned NumOps = Node->getNumOperands(); in EmitRegSequence()
727 AddOperand(MIB, Op, (*MIB).getNumOperands(), &II, VRBaseMap, in EmitDbgValue()
831 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp240 if (MI->getNumOperands() == 2) { in lowerLongBranchLUi()
245 } else if (MI->getNumOperands() == 3) { in lowerLongBranchLUi()
281 if (MI->getNumOperands() == 3) { in lowerLongBranchADDiu()
287 } else if (MI->getNumOperands() == 4) { in lowerLongBranchADDiu()
321 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) { in Lower()

12345678910>>...20