Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86InstComments.cpp252 unsigned NumOperands = MI->getNumOperands(); in printFMA3Comments() local
270 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments()
275 AccName = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments()
281 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments()
286 Mul1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments()
292 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments()
297 Mul1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments()
303 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments()
308 AccName = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments()
315 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86RegisterBankInfo.cpp115 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() local
116 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrPartialMappingIdxs()
130 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() local
131 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrValueMapping()
150 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local
153 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getSameOperandsMapping()
158 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping()
188 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
192 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getInstrMapping()
199 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
[all …]
DX86GenRegisterBankInfo.def89 unsigned NumOperands) {
92 if (NumOperands <= 3 && (Idx >= PMI_GPR8 && Idx <= PMI_VEC512))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNDPPCombine.cpp177 int NumOperands = 1; in createDPPInst() local
181 assert(OldIdx == NumOperands); in createDPPInst()
186 ++NumOperands; in createDPPInst()
197 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst()
201 ++NumOperands; in createDPPInst()
205 ++NumOperands; in createDPPInst()
209 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
215 DPPInst->getOperand(NumOperands).setIsKill(false); in createDPPInst()
216 ++NumOperands; in createDPPInst()
220 assert(NumOperands == AMDGPU::getNamedOperandIdx(DPPOp, in createDPPInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegisterBankInfo.h201 unsigned NumOperands = 0; variable
217 unsigned NumOperands) in InstructionMapping() argument
219 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp199 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local
203 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
220 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
225 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate()
238 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local
242 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr()
290 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr()
294 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitCodes.cpp121 unsigned NumOperands = getNumOperandInfos(); in isValid() local
122 if (NumOperands == 0) in isValid()
124 for (unsigned i = 0; i < NumOperands; ++i) { in isValid()
126 if (Op.isArrayOp() && i + 2 != NumOperands) in isValid()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RegisterBankInfo.cpp425 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local
426 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping()
444 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping()
458 getValueMapping(RBIdx, Size), NumOperands); in getSameKindOfOperandsMapping()
613 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
616 SmallVector<unsigned, 4> OpSize(NumOperands); in getInstrMapping()
617 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping()
618 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping()
776 for (unsigned Idx = 0, NumOperands = MI.getNumOperands(); in getInstrMapping() local
777 Idx < NumOperands; ++Idx) in getInstrMapping()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIntrinsicInst.cpp106 unsigned NumOperands = getNumArgOperands(); in getRoundingMode() local
108 cast<MetadataAsValue>(getArgOperand(NumOperands - 2))->getMetadata(); in getRoundingMode()
116 unsigned NumOperands = getNumArgOperands(); in getExceptionBehavior() local
118 cast<MetadataAsValue>(getArgOperand(NumOperands - 1))->getMetadata(); in getExceptionBehavior()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp420 unsigned NumOperands = I1->getNumOperands(); in isEquivalentOperation() local
421 for (unsigned i = 0; i < NumOperands; ++i) { in isEquivalentOperation()
507 int NumOperands = I->getNumOperands(); in findValueToReuse() local
522 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse()
526 for (int T = 0; T < NumOperands; ++T) { in findValueToReuse()
554 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse()
606 int NumOperands = Inst2Replace->getNumOperands(); in reuseValue() local
617 for (int j = 0; j < NumOperands; ++j) { in reuseValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCInstrDesc.h191 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable
214 if (OpNum < NumOperands && in getOperandConstraint()
235 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
240 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBankInfo.cpp376 unsigned NumOperands) { in hashInstructionMapping() argument
377 return hash_combine(ID, Cost, OperandsMapping, NumOperands); in hashInstructionMapping()
384 unsigned NumOperands) const { in getInstructionMappingImpl()
386 OperandsMapping == nullptr && NumOperands == 0) || in getInstructionMappingImpl()
392 hashInstructionMapping(ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl()
401 ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl()
601 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify()
609 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify()
642 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddead_variable_elimination.cpp48 uint32_t last_operand = linkage_instruction.NumOperands() - 1; in Process()
89 if (inst->NumOperands() == 4) { in DeleteVariable()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddead_variable_elimination.cpp48 uint32_t last_operand = linkage_instruction.NumOperands() - 1; in Process()
89 if (inst->NumOperands() == 4) { in DeleteVariable()
/third_party/spirv-tools/source/opt/
Ddead_variable_elimination.cpp48 uint32_t last_operand = linkage_instruction.NumOperands() - 1; in Process()
89 if (inst->NumOperands() == 4) { in DeleteVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h1465 const int NumOperands =
1469 return new (NumOperands, DescriptorBytes)
1487 const int NumOperands =
1491 return new (NumOperands, DescriptorBytes)
3680 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3685 ArrayRef<OperandBundleDef> Bundles, int NumOperands,
3710 int NumOperands = ComputeNumOperands(Args.size());
3711 return new (NumOperands)
3712 InvokeInst(Ty, Func, IfNormal, IfException, Args, None, NumOperands,
3721 int NumOperands =
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dinstruction_test.cpp34 EXPECT_EQ(0u, empty.NumOperands()); in TEST()
46 EXPECT_EQ(0u, inst.NumOperands()); in TEST()
126 EXPECT_EQ(3u, inst.NumOperands()); in TEST()
/third_party/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp22 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dchange_operand_reduction_opportunity.cpp24 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
Dchange_operand_to_undef_reduction_opportunity.cpp25 return inst_->NumOperands() > operand_index_ && in PreconditionHolds()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMRegisterBankInfo.cpp227 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local
455 SmallVector<const ValueMapping *, 4> OperandBanks(NumOperands); in getInstrMapping()
472 for (unsigned i = 0; i < NumOperands; i++) { in getInstrMapping()
483 NumOperands); in getInstrMapping()

1234567