| /freebsd-14.2/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->getHungOffOperands() + U->getNumOperands(); in op_end() 103 return U->getNumOperands(); in operands() 122 inline unsigned getNumOperands() const 149 unsigned CLASS::getNumOperands() const { \
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/ |
| H A D | SPIRVInstPrinter.cpp | 40 const unsigned NumOps = MI->getNumOperands(); in printRemainingVariableOps() 53 const unsigned NumVarOps = MI->getNumOperands() - StartIndex; in printOpConstantVarOps() 121 const unsigned NumFixedOps = MCDesc.getNumOperands(); in printInst() 192 const unsigned NumOps = MI->getNumOperands(); in printInst() 227 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpExtInst() 228 const auto NumOps = MI->getNumOperands(); in printOpExtInst() 242 unsigned NumFixedOps = MCDesc.getNumOperands(); in printOpDecorate() 244 if (NumFixedOps != MI->getNumOperands()) { in printOpDecorate() 299 if (OpNo < MI->getNumOperands()) { in printOperand() 316 const unsigned NumOps = MI->getNumOperands(); in printStringImm() [all …]
|
| H A D | SPIRVMCCodeEmitter.cpp | 66 if (MCDesc.getNumDefs() == 1 && MCDesc.getNumOperands() >= 2) { in hasType() 94 unsigned NumOps = MI.getNumOperands(); in emitTypedInstrOperands() 114 const uint32_t NumWords = MI.getNumOperands() + 1; in encodeInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ProfDataUtils.cpp | 57 unsigned NOps = ProfData->getNumOperands(); in isTargetMD() 98 if (ProfileData && ProfileData->getNumOperands() == 1 + I.getNumSuccessors()) in getValidBranchWeightMDNode() 107 unsigned NOps = ProfileData->getNumOperands(); in extractFromBranchWeightMD() 165 for (unsigned Idx = 1; Idx < ProfileData->getNumOperands(); Idx++) { in extractProfTotalWeight() 174 ProfileData->getNumOperands() > 3) { in extractProfTotalWeight()
|
| H A D | ProfileSummary.cpp | 107 if (MD->getNumOperands() != 2) in getValMD() 137 if (!MD || MD->getNumOperands() != 2) in isKeyValuePair() 150 if (!MD || MD->getNumOperands() != 2) in getSummaryFromMD() 160 if (!EntryMD || EntryMD->getNumOperands() != 3) in getSummaryFromMD() 188 return Idx < Tuple->getNumOperands(); in getOptionalVal() 196 if (!Tuple || Tuple->getNumOperands() < 8 || Tuple->getNumOperands() > 10) in getFromMD()
|
| H A D | Instructions.cpp | 116 allocHungoffUses(PN.getNumOperands()); in PHINode() 186 unsigned e = getNumOperands(); in growOperands() 281 unsigned e = getNumOperands(); in growOperands() 288 unsigned OpNo = getNumOperands(); in addClause() 822 assert((int)getNumOperands() == in init() 891 assert((int)getNumOperands() == in init() 958 if (RI.getNumOperands()) in ReturnInst() 1144 unsigned OpNo = getNumOperands(); in addHandler() 1269 if (BI.getNumOperands() != 1) { in BranchInst() 4557 unsigned e = getNumOperands(); in growOperands() [all …]
|
| H A D | AbstractCallSite.cpp | 121 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()
|
| /freebsd-14.2/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 | 87 encodeULEB128(MI.getNumOperands() - 1, OS); in encodeInstruction() 90 encodeULEB128(MI.getNumOperands() - 2, OS); in encodeInstruction() 93 for (unsigned I = 0, E = MI.getNumOperands(); I < E; ++I) { in encodeInstruction() 99 if (I < Desc.getNumOperands()) { in encodeInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 122 CapOperands = OperandCapacity::get(MI.getNumOperands()); in MachineInstr() 222 unsigned OpNo = getNumOperands(); in addOperand() 613 Other.getNumOperands() != getNumOperands()) in isIdenticalTo() 750 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() 1464 assert(getNumOperands() >= 3 && in isConstantValuePHI() 1643 unsigned e = getNumOperands(); in print() 1908 (isDebugRef() && getNumOperands() >= 3)) { in print() 2120 HashComponents.reserve(MI->getNumOperands() + 1); in getHashValue() 2135 for (unsigned i = getNumOperands(); i != 0; --i) { in emitError() 2138 LocMD->getNumOperands() != 0) { in emitError() [all …]
|
| H A D | RegisterBankInfo.cpp | 171 unsigned NumOperandsForMapping = IsCopyLike ? 1 : MI.getNumOperands(); in getInstrMappingImpl() 185 for (unsigned OpIdx = 0, EndIdx = MI.getNumOperands(); OpIdx != EndIdx; in getInstrMappingImpl() 445 EndIdx = OpdMapper.getInstrMapping().getNumOperands(); in applyDefaultMapping() 609 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 669 unsigned NumOpds = InstrMapping.getNumOperands(); in OperandsMapper() 676 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegsMem() 712 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in createVRegs() 734 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in setVRegs() 749 assert(OpIdx < getInstrMapping().getNumOperands() && "Out-of-bound access"); in getVRegs() 777 unsigned NumOpds = getInstrMapping().getNumOperands(); in print()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetStreamer.h | 32 assert(A.getNumOperands() == B.getNumOperands() && in operator() 33 A.getNumOperands() == 5 && A.getOperand(2).getImm() == 1 && in operator()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalSplit.cpp | 74 std::vector<GlobalVariable *> SplitGlobals(Init->getNumOperands()); in splitGlobal() 75 for (unsigned I = 0; I != Init->getNumOperands(); ++I) { in splitGlobal() 84 unsigned SplitEnd = (I == Init->getNumOperands() - 1) in splitGlobal() 125 for (unsigned I = 3; I != GEP->getNumOperands(); ++I) in splitGlobal()
|
| H A D | Annotation2Metadata.cpp | 35 if (!C || C->getNumOperands() != 1) in convertAnnotation2Metadata() 46 if (!OpC || OpC->getNumOperands() != 4) in convertAnnotation2Metadata()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 137 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() 371 return isa<MDNode>(MD->getOperand(0)) && MD->getNumOperands() >= 3; in isStructPathTBAA() 455 if (getNumOperands() < 1) in isTBAAVtableAccess() 541 if (!AccessType || AccessType->getNumOperands() < 2) in createAccessTag() 762 for (size_t i = 0, size = MD->getNumOperands(); i < size; i += 3) { in shiftTBAAStruct()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86RegisterBankInfo.cpp | 115 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() 130 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() 152 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() 190 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 201 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() 296 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPeephole.cpp | 132 assert(MI.getNumOperands() == 2); in runOnMachineFunction() 149 assert(MI.getNumOperands() == 3); in runOnMachineFunction() 166 assert(MI.getNumOperands() == 3); in runOnMachineFunction() 180 assert(MI.getNumOperands() == 2); in runOnMachineFunction() 197 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-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCELFStreamer.cpp | 139 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelReloc() 174 const MCOperand &Operand = Inst.getOperand(Inst.getNumOperands() - 1); in emitGOTToPCRelLabel() 202 if (Inst.getNumOperands() < 2) in isPartOfGOTToPCRelPair() 205 unsigned LastOp = Inst.getNumOperands() - 1; in isPartOfGOTToPCRelPair()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMCTargetDesc.cpp | 94 assert(MI.getNumOperands() >= 4 && "expected >= 4 arguments"); in getARMStoreDeprecationInfo() 95 for (unsigned OI = 4, OE = MI.getNumOperands(); OI < OE; ++OI) { in getARMStoreDeprecationInfo() 110 assert(MI.getNumOperands() >= 4 && "expected >= 4 arguments"); in getARMLoadDeprecationInfo() 177 for (unsigned I = 0; I < MI.getNumOperands(); ++I) { in isCPSRDefined() 444 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode_i12() 462 if (MemOpIndex + 2 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode3() 482 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode5() 501 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrMode5FP16() 521 if (MemOpIndex + 1 >= Desc.getNumOperands()) in evaluateMemOpAddrForAddrModeT2_i8s4() 579 while (OpIndex < Desc.getNumOperands() && in evaluateMemoryOperandAddress() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 240 for (I = 0, E = MCI.getNumOperands(); NumExplicitDefs && I < E; ++I) { in verifyOperands() 253 const MCOperand &Op = MCI.getOperand(MCDesc.getNumOperands() - 1); in verifyOperands() 254 if (I == MCI.getNumOperands() || !Op.isReg()) { in verifyOperands() 321 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateWrites() 327 unsigned OptionalDefIdx = MCDesc.getNumOperands() - 1; in populateWrites() 329 for (; i < MCI.getNumOperands() && CurrentDef < NumExplicitDefs; ++i) { in populateWrites() 411 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateWrites() 437 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads() 442 unsigned NumVariadicOps = MCI.getNumOperands() - MCDesc.getNumOperands(); in populateReads() 477 for (unsigned I = 0, OpIndex = MCDesc.getNumOperands(); in populateReads()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| 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-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemorySSA.h | 511 return block_begin() + getNumOperands(); 562 if (getNumOperands() == ReservedSpace) 565 setNumHungOffUseOperands(getNumOperands() + 1); 566 setIncomingValue(getNumOperands() - 1, V); 567 setIncomingBlock(getNumOperands() - 1, BB); 573 for (unsigned I = 0, E = getNumOperands(); I != E; ++I) 587 unsigned E = getNumOperands(); 597 setNumHungOffUseOperands(getNumOperands() - 1); 606 E = getNumOperands(); 609 assert(getNumOperands() >= 1 && [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 204 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpMDNode() 206 for (size_t I = 0; I < L->getNumOperands(); ++I) in cmpMDNode() 410 unsigned NumOperandsL = LE->getNumOperands(); in cmpConstants() 411 unsigned NumOperandsR = RE->getNumOperands(); in cmpConstants() 626 if (int Res = cmpNumbers(L->getNumOperands(), R->getNumOperands())) in cmpOperations() 638 for (unsigned i = 0, e = L->getNumOperands(); i != e; ++i) { in cmpOperations() 798 if (int Res = cmpNumbers(GEPL->getNumOperands(), GEPR->getNumOperands())) in cmpGEPs() 801 for (unsigned i = 0, e = GEPL->getNumOperands(); i != e; ++i) { in cmpGEPs() 903 assert(InstL->getNumOperands() == InstR->getNumOperands()); in cmpBasicBlocks() 905 for (unsigned i = 0, e = InstL->getNumOperands(); i != e; ++i) { in cmpBasicBlocks()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.cpp | 950 assert(MI.getNumOperands() + 1 < MCII->get(MI.getOpcode()).getNumOperands()); in convertMacDPPInst() 980 if (MI.getNumOperands() < DescNumOps && in convertDPP8Inst() 1016 if (MI.getNumOperands() < DescNumOps && in convertVOP3DPPInst() 1184 if (MI.getNumOperands() < DescNumOps && in convertVOP3PDPPInst() 1188 if (MI.getNumOperands() < DescNumOps && in convertVOP3PDPPInst() 1192 if (MI.getNumOperands() < DescNumOps && in convertVOP3PDPPInst() 1196 if (MI.getNumOperands() < DescNumOps && in convertVOP3PDPPInst() 1200 if (MI.getNumOperands() < DescNumOps && in convertVOP3PDPPInst() 1213 if (MI.getNumOperands() < DescNumOps && in convertVOPCDPPInst() 1217 if (MI.getNumOperands() < DescNumOps && in convertVOPCDPPInst() [all …]
|