/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86InstComments.cpp | 252 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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86InstComments.cpp | 287 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 …]
|
/external/llvm/lib/Target/X86/InstPrinter/ |
D | X86InstComments.cpp | 373 unsigned NumOperands = MI->getNumOperands(); in EmitAnyX86InstComments() local 389 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 391 MI->getOperand(NumOperands - 1).getImm(), in EmitAnyX86InstComments() 405 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 407 MI->getOperand(NumOperands - 1).getImm(), in EmitAnyX86InstComments() 421 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 423 MI->getOperand(NumOperands - 1).getImm(), in EmitAnyX86InstComments() 435 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() 437 MI->getOperand(NumOperands - 1).getImm(), in EmitAnyX86InstComments() 453 if (MI->getOperand(NumOperands - 1).isImm()) in EmitAnyX86InstComments() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86RegisterBankInfo.cpp | 115 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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/ |
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() 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVNExpression.h | 143 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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVNExpression.h | 143 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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/ |
D | GCNDPPCombine.cpp | 230 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | GCNDPPCombine.cpp | 177 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 201 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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 199 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()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 250 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local 254 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 271 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 276 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 289 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local 293 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr() 341 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr() 345 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr() 368 unsigned NumOperands = N->getNumOperands(); in remapNamedMDNode() local 372 for (unsigned i = 0; i < NumOperands; ++i) { in remapNamedMDNode()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitCodes.cpp | 121 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterBankInfo.cpp | 425 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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/NVPTX/ |
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 ArrayRef(&NewOperands[1], NumOperands - 1), "", in remapConstantExpr()
|
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 114 unsigned NumOperands; variable 130 InstructionMapping(unsigned ID, unsigned Cost, unsigned NumOperands) in InstructionMapping() argument 131 : ID(ID), Cost(Cost), NumOperands(NumOperands) { in InstructionMapping() 139 InstructionMapping() : ID(InvalidMappingID), Cost(0), NumOperands(0) {} in InstructionMapping() 148 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 206 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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AArch64/GISel/ |
D | AArch64RegisterBankInfo.cpp | 448 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 106 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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorLoopCarriedReuse.cpp | 420 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()
|
/external/llvm/utils/TableGen/ |
D | CodeGenTarget.h | 195 unsigned NumOperands; variable 200 ComplexPattern() : NumOperands(0) {} in ComplexPattern() 204 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 191 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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/M68k/GISel/ |
D | M68kRegisterBankInfo.cpp | 79 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 104 NumOperands); in getInstrMapping()
|