Home
last modified time | relevance | path

Searched refs:NumOperands (Results 1 – 25 of 83) sorted by relevance

1234

/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86InstComments.cpp287 unsigned NumOperands = MI->getNumOperands(); in printFMAComments() local
312 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
321 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
327 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
337 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
344 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
354 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
361 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
372 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
379 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMAComments()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp114 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()
151 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local
154 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getSameOperandsMapping()
159 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping()
189 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
193 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
200 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
[all …]
H A DX86GenRegisterBankInfo.def89 unsigned NumOperands) {
92 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_VEC512))
H A DX86RegisterBankInfo.h37 getValueMapping(PartialMappingIdx Idx, unsigned NumOperands);
H A DX86FloatingPoint.cpp1355 unsigned NumOperands = MI.getDesc().getNumOperands(); in handleTwoArgFP() local
1356 assert(NumOperands == 3 && "Illegal TwoArgFP instruction!"); in handleTwoArgFP()
1358 unsigned Op0 = getFPReg(MI.getOperand(NumOperands - 2)); in handleTwoArgFP()
1359 unsigned Op1 = getFPReg(MI.getOperand(NumOperands - 1)); in handleTwoArgFP()
1454 unsigned NumOperands = MI.getDesc().getNumOperands(); in handleCompareFP() local
1455 assert(NumOperands == 2 && "Illegal FUCOM* instruction!"); in handleCompareFP()
1456 unsigned Op0 = getFPReg(MI.getOperand(NumOperands - 2)); in handleCompareFP()
1457 unsigned Op1 = getFPReg(MI.getOperand(NumOperands - 1)); in handleCompareFP()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Scalar/
H A DGVNExpression.h143 unsigned NumOperands = 0; variable
147 BasicExpression(unsigned NumOperands) in BasicExpression() argument
148 : BasicExpression(NumOperands, ET_Basic) {} in BasicExpression()
149 BasicExpression(unsigned NumOperands, ExpressionType ET) in BasicExpression() argument
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()
179 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
185 op_iterator op_end() { return Operands + NumOperands; } in op_end()
187 const_op_iterator op_end() const { return Operands + NumOperands; } in op_end()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp230 int NumOperands = 0; in createDPPInst() local
233 ++NumOperands; in createDPPInst()
236 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
238 ++NumOperands; in createDPPInst()
245 assert(OldIdx == NumOperands); in createDPPInst()
254 ++NumOperands; in createDPPInst()
269 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst()
274 ++NumOperands; in createDPPInst()
277 ++NumOperands; in createDPPInst()
281 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DRegisterBankInfo.h202 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp195 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 ArrayRef(&NewOperands[1], NumOperands - 1), "", in remapConstantExpr()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp448 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local
449 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping()
467 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping()
481 getValueMapping(RBIdx, Size), NumOperands); 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()
872 for (unsigned Idx = 0, NumOperands = MI.getNumOperands(); in getInstrMapping() local
873 Idx < NumOperands; ++Idx) in getInstrMapping()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCInstrDesc.h206 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable
221 if (OpNum < NumOperands && in getOperandConstraint()
237 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
242 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
245 return ArrayRef(OpInfo, NumOperands); in operands()
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceRegisterDefs.cpp41 int NumOperands = MI.getNumOperands(); in removeDefsFromFunction() local
49 for (int I = NumOperands - 1; I >= 0; --I) { in removeDefsFromFunction()
68 for (int I = NumOperands - 1; I >= 0; --I) { in removeDefsFromFunction()
H A DReduceRegisterUses.cpp30 int NumOperands = MI.getNumOperands(); in removeUsesFromFunction() local
35 for (int I = NumOperands - 1; I >= 0; --I) { in removeUsesFromFunction()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp341 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()
/openbsd-src/gnu/llvm/llvm/lib/Target/M68k/GISel/
H A DM68kRegisterBankInfo.cpp79 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
104 NumOperands); in getInstrMapping()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp373 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()
600 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify()
609 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify()
645 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
H A DMachineInstr.cpp191 if (&Op >= Operands && &Op < Operands + NumOperands) { in addOperand()
237 if (OpNo != NumOperands) in addOperand()
238 moveOperands(Operands + OpNo + 1, OldOperands + OpNo, NumOperands - OpNo, in addOperand()
240 ++NumOperands; in addOperand()
298 if (unsigned N = NumOperands - 1 - OpNo) in removeOperand()
300 --NumOperands; in removeOperand()
735 unsigned NumOperands = MCID->getNumOperands(); in getNumExplicitOperands() local
737 return NumOperands; in getNumExplicitOperands()
739 for (unsigned I = NumOperands, E = getNumOperands(); I != E; ++I) { in getNumExplicitOperands()
748 ++NumOperands; in getNumExplicitOperands()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/GISel/
H A DPPCRegisterBankInfo.cpp77 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
94 assert(NumOperands <= 3 && in getInstrMapping()
181 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping()
189 return getInstructionMapping(MappingID, Cost, OperandsMapping, NumOperands); in getInstrMapping()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp307 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()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h1544 const int NumOperands =
1548 return new (NumOperands, DescriptorBytes)
1566 const int NumOperands =
1570 return new (NumOperands, DescriptorBytes)
3832 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3837 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3862 int NumOperands = ComputeNumOperands(Args.size());
3863 return new (NumOperands)
3865 NumOperands, NameStr, InsertBefore);
3873 int NumOperands =
[all …]
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DCodeGenTarget.h205 unsigned NumOperands; variable
214 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp230 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()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCInstrDesc.cpp47 for (int i = NumOperands - 1, e = MI.getNumOperands(); i != e; ++i) in hasDefOfPhysReg()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp472 unsigned OpNo = 0, NumOperands = C->getNumOperands(); in mapValue() local
474 for (; OpNo != NumOperands; ++OpNo) { in mapValue()
490 if (OpNo == NumOperands && NewTy == C->getType()) in mapValue()
496 Ops.reserve(NumOperands); in mapValue()
501 if (OpNo != NumOperands) { in mapValue()
505 for (++OpNo; OpNo != NumOperands; ++OpNo) { in mapValue()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h186 size_t NumOperands; variable
191 NumOperands(N) {} in SCEVNAryExpr()
194 size_t getNumOperands() const { return NumOperands; } in getNumOperands()
197 assert(i < NumOperands && "Operand index out of range!"); in getOperand()
202 return ArrayRef(Operands, NumOperands); in operands()

1234