| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | OperandTraits.h | 55 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 { \
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 138 if (N->getNumOperands() < 3) in isNewFormatTypeNode() 169 if (Node->getNumOperands() < 2) in getParent() 182 if (Node->getNumOperands() < 3) in isTypeImmutable() 215 if (Node->getNumOperands() < 4) in isNewFormat() 246 if (Node->getNumOperands() < OpNo + 1) in isTypeImmutable() 309 if (Node->getNumOperands() < 6) in getField() 313 if (Node->getNumOperands() < 2) in getField() 318 if (Node->getNumOperands() <= 3) { in getField() 319 uint64_t Cur = Node->getNumOperands() == 2 in getField() 456 if (getNumOperands() < 1) in isTBAAVtableAccess() [all …]
|
| H A D | PHITransAddr.cpp | 81 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 64 assert(MI->getNumOperands() == 2); in printInst() 85 if ((Desc.getNumOperands() == 0 && MI->getNumOperands() > 0) || in printInst() 88 unsigned Start = Desc.getNumOperands(); in printInst() 95 bool NeedsComma = Desc.getNumOperands() > 0 && !Desc.variadicOpsAreDefs(); in printInst() 96 for (auto I = Start, E = MI->getNumOperands(); I < E; ++I) { in printInst() 239 for (unsigned I = 0, E = MI->getNumOperands(); I < E; ++I) { in printInst() 333 for (unsigned I = OpNo, E = MI->getNumOperands(); I != E; ++I) { in printBrList()
|
| H A D | WebAssemblyMCCodeEmitter.cpp | 82 encodeULEB128(MI.getNumOperands() - 1, OS); in encodeInstruction() 85 encodeULEB128(MI.getNumOperands() - 2, OS); in encodeInstruction() 88 for (unsigned I = 0, E = MI.getNumOperands(); I < E; ++I) { in encodeInstruction() 94 if (I < Desc.getNumOperands()) { in encodeInstruction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 108 if (MD->getNumOperands() != 2) in getValMD() 138 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair() 151 if (!MD || MD->getNumOperands() != 2) in getSummaryFromMD() 161 if (!EntryMD || EntryMD->getNumOperands() != 3) in getSummaryFromMD() 189 return Idx < Tuple->getNumOperands(); in getOptionalVal() 197 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
|
| H A D | Instructions.cpp | 142 unsigned e = getNumOperands(); in growOperands() 237 unsigned e = getNumOperands(); in growOperands() 244 unsigned OpNo = getNumOperands(); in addClause() 540 CI.getNumOperands()) { in CallInst() 830 assert((int)getNumOperands() == in init() 899 assert((int)getNumOperands() == in init() 977 if (RI.getNumOperands()) in ReturnInst() 1163 unsigned OpNo = getNumOperands(); in addHandler() 1288 if (BI.getNumOperands() != 1) { in BranchInst() 4115 unsigned e = getNumOperands(); in growOperands() [all …]
|
| H A D | AbstractCallSite.cpp | 122 assert(CallbackEncMD->getNumOperands() >= 2 && "Incomplete !callback metadata"); in AbstractCallSite() 126 for (unsigned u = 0, e = CallbackEncMD->getNumOperands() - 1; u < e; u++) { in AbstractCallSite() 143 CallbackEncMD->getOperand(CallbackEncMD->getNumOperands() - 1).get(); in AbstractCallSite()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | AsmPrinterInlineAsm.cpp | 138 unsigned NumOperands = MI->getNumOperands(); in EmitMSInlineAsmStr() 237 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr() 245 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr() 279 unsigned NumOperands = MI->getNumOperands(); in EmitGCCInlineAsmStr() 406 if (OpNo >= MI->getNumOperands()) break; in EmitGCCInlineAsmStr() 414 if (OpNo >= MI->getNumOperands() || in EmitGCCInlineAsmStr() 465 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in emitInlineAsm() 488 for (unsigned i = MI->getNumOperands(); i != 0; --i) { in emitInlineAsm() 491 LocMD->getNumOperands() != 0) { in emitInlineAsm() 516 for (unsigned I = InlineAsm::MIOp_FirstOperand, NumOps = MI->getNumOperands(); in emitInlineAsm()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 124 if (unsigned NumOps = MCID->getNumOperands() + in MachineInstr() 226 unsigned OpNo = getNumOperands(); in addOperand() 242 OpNo < MCID->getNumOperands() || isDebugOp) && in addOperand() 597 Other.getNumOperands() != getNumOperands()) in isIdenticalTo() 727 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() 1447 assert(getNumOperands() >= 3 && in isConstantValuePHI() 1490 for (unsigned i = MI.getDesc().getNumOperands(), e = MI.getNumOperands(); in copyImplicitOps() 1618 unsigned e = getNumOperands(); in print() 2073 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue() 2088 for (unsigned i = getNumOperands(); i != 0; --i) { in emitError() [all …]
|
| H A D | MachineVerifier.cpp | 811 if (MI->getNumOperands() < 2) { in verifyInlineAsm() 837 if (OpNo > MI->getNumOperands()) in verifyInlineAsm() 880 unsigned NumOps = MI->getNumOperands(); in verifyPreISelGenericInstruction() 940 if (MI->getNumOperands() < MCID.getNumOperands()) in verifyPreISelGenericInstruction() 1289 if (MI->getNumOperands() < 3) in verifyPreISelGenericInstruction() 1609 if (MI->getNumOperands() < MCID.getNumOperands()) { in visitMachineInstrBefore() 1751 if (Offset >= MI->getNumOperands()) { in visitMachineInstrBefore() 1818 } else if (MONum < MCID.getNumOperands()) { in visitMachineOperand() 1919 if (MONum < MCID.getNumOperands()) { in visitMachineOperand() 1999 MONum < MCID.getNumOperands() && in visitMachineOperand() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | Annotation2Metadata.cpp | 37 if (!C || C->getNumOperands() != 1) in convertAnnotation2Metadata() 48 if (!OpC || OpC->getNumOperands() != 4) in convertAnnotation2Metadata() 51 if (!StrGEP || StrGEP->getNumOperands() < 2) in convertAnnotation2Metadata()
|
| H A D | GlobalSplit.cpp | 76 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() 127 for (unsigned I = 3; I != GEP->getNumOperands(); ++I) in splitGlobal()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUHSAMetadataStreamer.cpp | 182 if (Node->getNumOperands() != 3) in getWorkGroupDimensions() 241 if (Op->getNumOperands()) in emitPrintf() 251 if (!Node || !Node->getNumOperands()) in emitKernelLanguage() 254 if (Op0->getNumOperands() <= 1) in emitKernelLanguage() 296 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg() 303 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg() 308 if (Node && ArgNo < Node->getNumOperands()) in emitKernelArg() 601 if (Node->getNumOperands() != 3) in getWorkGroupDimensions() 624 if (Op->getNumOperands()) in emitPrintf() 634 if (!Node || !Node->getNumOperands()) in emitKernelLanguage() [all …]
|
| H A D | AMDGPUUnifyMetadata.cpp | 57 if (!NamedMD || NamedMD->getNumOperands() <= 1) in unifyVersionMD() 62 assert(VersionMD->getNumOperands() == 2); in unifyVersionMD() 90 if (!NamedMD || NamedMD->getNumOperands() == 1) in unifyExtensionMD()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 266 for (I = 0, E = MCI.getNumOperands(); NumExplicitDefs && I < E; ++I) { in verifyOperands() 279 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands() 280 if (I == MCI.getNumOperands() || !Op.isReg()) { in verifyOperands() 347 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites() 353 unsigned OptionalDefIdx = MCDesc.getNumOperands() - 1; in populateWrites() 355 for (; i < MCI.getNumOperands() && CurrentDef < NumExplicitDefs; ++i) { in populateWrites() 437 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateWrites() 463 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads() 468 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateReads() 503 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateReads()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterBankInfo.cpp | 115 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPeephole.cpp | 136 assert(MI.getNumOperands() == 2); in runOnMachineFunction() 153 assert(MI.getNumOperands() == 3); in runOnMachineFunction() 170 assert(MI.getNumOperands() == 3); in runOnMachineFunction() 184 assert(MI.getNumOperands() == 2); in runOnMachineFunction() 201 assert(MI.getNumOperands() == 2); in runOnMachineFunction()
|
| H A D | HexagonVectorPrint.cpp | 109 if (MI.getNumOperands() < 1) return false; in getInstrVecReg() 117 if (MI.mayStore() && MI.getNumOperands() >= 3 && MI.getOperand(2).isReg()) { in getInstrVecReg() 123 if (MI.mayStore() && MI.getNumOperands() >= 4 && MI.getOperand(3).isReg()) { in getInstrVecReg() 142 if (MII->getNumOperands() < 1) in runOnMachineFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFStreamer.cpp | 141 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelReloc() 176 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelLabel() 204 if (Inst.getNumOperands() < 2) in isPartOfGOTToPCRelPair() 207 unsigned LastOp = Inst.getNumOperands() - 1; in isPartOfGOTToPCRelPair()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZAsmPrinter.h | 38 assert(A.getNumOperands() == B.getNumOperands() && in operator() 39 A.getNumOperands() == 5 && A.getOperand(2).getImm() == 1 && in operator()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemorySSA.h | 519 return block_begin() + getNumOperands(); 570 if (getNumOperands() == ReservedSpace) 573 setNumHungOffUseOperands(getNumOperands() + 1); 574 setIncomingValue(getNumOperands() - 1, V); 575 setIncomingBlock(getNumOperands() - 1, BB); 581 for (unsigned I = 0, E = getNumOperands(); I != E; ++I) 595 unsigned E = getNumOperands(); 605 setNumHungOffUseOperands(getNumOperands() - 1); 614 E = getNumOperands(); 617 assert(getNumOperands() >= 1 && [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegisterBankInfo.cpp | 169 unsigned NumOperandsForMapping = IsCopyLike ? 1 : MI.getNumOperands(); in getInstrMappingImpl() 183 for (unsigned OpIdx = 0, EndIdx = MI.getNumOperands(); OpIdx != EndIdx; in getInstrMappingImpl() 443 EndIdx = OpdMapper.getInstrMapping().getNumOperands(); in applyDefaultMapping() 600 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 655 unsigned NumOpds = InstrMapping.getNumOperands(); in OperandsMapper() 662 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegsMem() 698 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in createVRegs() 720 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in setVRegs() 735 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegs() 763 unsigned NumOpds = getInstrMapping().getNumOperands(); in print()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMCInstLower.cpp | 240 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 168 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpRangeMetadata() 170 for (size_t I = 0; I < L->getNumOperands(); ++I) { in cmpRangeMetadata() 352 unsigned NumOperandsL = LE->getNumOperands(); in cmpConstants() 353 unsigned NumOperandsR = RE->getNumOperands(); in cmpConstants() 536 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpOperations() 548 for (unsigned i = 0, e = L->getNumOperands(); i != e; ++i) { in cmpOperations() 712 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs() 715 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs() 802 assert(InstL->getNumOperands() == InstR->getNumOperands()); in cmpBasicBlocks() 804 for (unsigned i = 0, e = InstL->getNumOperands(); i != e; ++i) { in cmpBasicBlocks()
|