| /llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86InstComments.cpp | 287 unsigned NumOperands = MI->getNumOperands(); in printFMAComments() local 643 unsigned NumOperands = MI->getNumOperands(); in EmitAnyX86InstComments() local 662 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 678 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 694 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 708 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 726 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 820 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 838 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 852 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86RegisterBankInfo.cpp | 114 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() local 115 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrPartialMappingIdxs() 129 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() local 130 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrValueMapping() 149 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local 187 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 198 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 199 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 263 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 293 unsigned NumOperands = MI.getNumOperands(); in getInstrAlternativeMappings() local [all …]
|
| H A D | X86GenRegisterBankInfo.def | 89 unsigned NumOperands) { 92 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_VEC512))
|
| H A D | X86RegisterBankInfo.h | 37 getValueMapping(PartialMappingIdx Idx, unsigned NumOperands);
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/ |
| H A D | GVNExpression.h | 143 unsigned NumOperands = 0; variable 147 BasicExpression(unsigned NumOperands) in BasicExpression() argument 148 : BasicExpression(NumOperands, ET_Basic) {} in BasicExpression() 150 : Expression(ET), MaxOperands(NumOperands) {} in BasicExpression() 169 assert(N < NumOperands && "Operand out of range"); in getOperand() 175 assert(N < NumOperands && "Operand out of range"); in setOperand() 198 Operands[NumOperands++] = Arg; in op_push_back() 218 return getType() == OE.getType() && NumOperands == OE.NumOperands && in equals() 306 CallExpression(unsigned NumOperands, CallInst *C, in CallExpression() argument 333 LoadExpression(unsigned NumOperands, LoadInst *L, in LoadExpression() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | GCNDPPCombine.cpp | 228 ++NumOperands; in createDPPInst() 233 ++NumOperands; in createDPPInst() 249 ++NumOperands; in createDPPInst() 269 ++NumOperands; in createDPPInst() 273 ++NumOperands; in createDPPInst() 284 ++NumOperands; in createDPPInst() 293 ++NumOperands; in createDPPInst() 297 ++NumOperands; in createDPPInst() 307 ++NumOperands; in createDPPInst() 316 ++NumOperands; in createDPPInst() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | RegisterBankInfo.h | 202 unsigned NumOperands = 0; variable 218 unsigned NumOperands) in InstructionMapping() argument 220 NumOperands(NumOperands) {} in InstructionMapping() 233 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 520 unsigned NumOperands = 0) const; 527 unsigned NumOperands) const { in getInstructionMapping() argument 529 OperandsMapping, NumOperands); in getInstructionMapping()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 195 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local 199 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 216 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 221 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 234 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local 238 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr() 277 makeArrayRef(&NewOperands[1], NumOperands - 1), "", in remapConstantExpr()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64RegisterBankInfo.cpp | 446 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local 447 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping() 465 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping() 673 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 676 SmallVector<unsigned, 4> OpSize(NumOperands); in getInstrMapping() 677 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 678 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 871 Idx < NumOperands; ++Idx) in getInstrMapping() 937 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 938 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) in getInstrMapping() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceRegisterDefs.cpp | 40 int NumOperands = MI.getNumOperands(); in removeDefsFromFunction() local 48 for (int I = NumOperands - 1; I >= 0; --I) { in removeDefsFromFunction() 67 for (int I = NumOperands - 1; I >= 0; --I) { in removeDefsFromFunction()
|
| H A D | ReduceRegisterUses.cpp | 29 int NumOperands = MI.getNumOperands(); in removeUsesFromFunction() local 34 for (int I = NumOperands - 1; I >= 0; --I) { in removeUsesFromFunction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorLoopCarriedReuse.cpp | 341 unsigned NumOperands = I1->getNumOperands(); in isEquivalentOperation() local 342 for (unsigned i = 0; i < NumOperands; ++i) { in isEquivalentOperation() 425 int NumOperands = I->getNumOperands(); in findValueToReuse() local 440 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse() 444 for (int T = 0; T < NumOperands; ++T) { in findValueToReuse() 472 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse() 524 int NumOperands = Inst2Replace->getNumOperands(); in reuseValue() local 535 for (int j = 0; j < NumOperands; ++j) { in reuseValue()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCInstrDesc.h | 200 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 214 if (OpNum < NumOperands && in getOperandConstraint() 230 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 235 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/GISel/ |
| H A D | M68kRegisterBankInfo.cpp | 79 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 104 NumOperands); in getInstrMapping()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | RegisterBankInfo.cpp | 373 unsigned NumOperands) { in hashInstructionMapping() argument 374 return hash_combine(ID, Cost, OperandsMapping, NumOperands); in hashInstructionMapping() 381 unsigned NumOperands) const { in getInstructionMappingImpl() 383 OperandsMapping == nullptr && NumOperands == 0) || in getInstructionMappingImpl() 389 hashInstructionMapping(ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 398 ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 597 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 605 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify() 638 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
|
| H A D | MachineInstr.cpp | 188 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand() 234 if (OpNo != NumOperands) in addOperand() 237 ++NumOperands; in addOperand() 295 if (unsigned N = NumOperands - 1 - OpNo) in removeOperand() 297 --NumOperands; in removeOperand() 680 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local 682 return NumOperands; in getNumExplicitOperands() 684 for (unsigned I = NumOperands, E = getNumOperands(); I != E; ++I) { in getNumExplicitOperands() 693 ++NumOperands; in getNumExplicitOperands() 695 return NumOperands; in getNumExplicitOperands() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | TypeBasedAliasAnalysis.cpp | 307 const unsigned NumOperands = Operands.size(); in getField() local 311 if (NumOperands < 6) in getField() 315 if (NumOperands < 2) in getField() 320 if (NumOperands <= 3) { in getField() 322 NumOperands == 2 in getField() 339 for (unsigned Idx = FirstFieldOpNo; Idx < NumOperands; in getField() 352 TheIdx = NumOperands - NumOpsPerField; in getField()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 1533 const int NumOperands = 1555 const int NumOperands = 3825 return new (NumOperands) 3835 int NumOperands = 3848 return new (NumOperands) 3857 int NumOperands = 3962 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, 3972 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, 4031 return new (NumOperands) 4199 OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands, [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | CodeGenTarget.h | 205 unsigned NumOperands; variable 214 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMRegisterBankInfo.cpp | 230 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 458 SmallVector<const ValueMapping *, 4> OperandBanks(NumOperands); in getInstrMapping() 475 for (unsigned i = 0; i < NumOperands; i++) { in getInstrMapping() 486 NumOperands); in getInstrMapping()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCInstrDesc.cpp | 48 for (int i = NumOperands - 1, e = MI.getNumOperands(); i != e; ++i) in hasDefOfPhysReg()
|
| /llvm-project-15.0.7/llvm/test/Analysis/CostModel/SystemZ/ |
| H A D | intrinsic-cost-crash.ll | 32 …%NumOperands.i = getelementptr inbounds %"class.llvm::SDNode.310.1762.9990.10474.10958.11442.11926… 33 %0 = load i16, i16* %NumOperands.i, align 8, !tbaa !1
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | MCPlusBuilder.cpp | 35 unsigned NumOperands = MCPlus::getNumPrimeOperands(A); in equals() local 36 if (NumOperands != MCPlus::getNumPrimeOperands(B)) in equals() 39 for (unsigned Index = 0; Index < NumOperands; ++Index) in equals() 441 for (int I = InstInfo.NumDefs; I < InstInfo.NumOperands; ++I) in hasUseOfPhysReg()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ValueMapper.cpp | 473 unsigned OpNo = 0, NumOperands = C->getNumOperands(); in mapValue() local 475 for (; OpNo != NumOperands; ++OpNo) { in mapValue() 491 if (OpNo == NumOperands && NewTy == C->getType()) in mapValue() 497 Ops.reserve(NumOperands); in mapValue() 502 if (OpNo != NumOperands) { in mapValue() 506 for (++OpNo; OpNo != NumOperands; ++OpNo) { in mapValue()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 191 size_t NumOperands; variable 196 NumOperands(N) {} in SCEVNAryExpr() 199 size_t getNumOperands() const { return NumOperands; } in getNumOperands() 202 assert(i < NumOperands && "Operand index out of range!"); in getOperand() 210 op_iterator op_end() const { return Operands + NumOperands; } in op_end()
|