/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/InstPrinter/ |
D | X86InstComments.cpp | 253 unsigned NumOperands = MI->getNumOperands(); in printFMA3Comments() local 271 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments() 276 AccName = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments() 282 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments() 287 Mul1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments() 293 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments() 298 Mul1Name = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments() 304 Mul2Name = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments() 309 AccName = getRegName(MI->getOperand(NumOperands-(RegForm?2:6)).getReg()); in printFMA3Comments() 316 AccName = getRegName(MI->getOperand(NumOperands - 1).getReg()); in printFMA3Comments() [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/include/llvm/ |
D | User.h | 47 unsigned NumOperands; variable 51 : Value(ty, vty), OperandList(OpList), NumOperands(NumOps) {} in User() 54 Use::zap(OperandList, OperandList + NumOperands, true); in dropHungoffUses() 57 NumOperands = 0; in dropHungoffUses() 61 Use::zap(OperandList, OperandList + NumOperands); in ~User() 87 assert(i < NumOperands && "getOperand() out of range!"); in getOperand() 91 assert(i < NumOperands && "setOperand() out of range!"); in setOperand() 98 assert(i < NumOperands && "getOperandUse() out of range!"); in getOperandUse() 102 assert(i < NumOperands && "getOperandUse() out of range!"); in getOperandUse() 106 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86RegisterBankInfo.cpp | 113 unsigned NumOperands = MI.getNumOperands(); in getInstrPartialMappingIdxs() local 114 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrPartialMappingIdxs() 128 unsigned NumOperands = MI.getNumOperands(); in getInstrValueMapping() local 129 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrValueMapping() 148 unsigned NumOperands = MI.getNumOperands(); in getSameOperandsMapping() local 151 if (NumOperands != 3 || (Ty != MRI.getType(MI.getOperand(1).getReg())) || in getSameOperandsMapping() 156 return getInstructionMapping(DefaultMappingID, 1, Mapping, NumOperands); in getSameOperandsMapping() 192 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 193 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 236 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
D | GVNExpression.h | 144 unsigned NumOperands = 0; variable 148 BasicExpression(unsigned NumOperands) in BasicExpression() argument 149 : BasicExpression(NumOperands, ET_Basic) {} in BasicExpression() 150 BasicExpression(unsigned NumOperands, ExpressionType ET) in BasicExpression() argument 151 : Expression(ET), MaxOperands(NumOperands) {} in BasicExpression() 170 assert(N < NumOperands && "Operand out of range"); in getOperand() 176 assert(N < NumOperands && "Operand out of range"); in setOperand() 180 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 186 op_iterator op_end() { return Operands + NumOperands; } in op_end() 188 const_op_iterator op_end() const { return Operands + NumOperands; } in op_end() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegisterBankInfo.h | 195 unsigned NumOperands = 0; variable 213 unsigned NumOperands) in InstructionMapping() argument 215 NumOperands(NumOperands) { in InstructionMapping() 231 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 518 unsigned NumOperands = 0) const; 525 unsigned NumOperands) const { in getInstructionMapping() argument 527 OperandsMapping, NumOperands); in getInstructionMapping()
|
/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/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 200 unsigned NumOperands = C->getNumOperands(); in remapConstantVectorOrConstantAggregate() local 204 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 221 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 226 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantVectorOrConstantAggregate() 239 unsigned NumOperands = C->getNumOperands(); in remapConstantExpr() local 243 for (unsigned i = 0; i < NumOperands; ++i) { in remapConstantExpr() 291 makeArrayRef(&NewOperands[1], NumOperands - 1)) in remapConstantExpr() 295 makeArrayRef(&NewOperands[1], NumOperands - 1)); in remapConstantExpr()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitCodes.cpp | 122 unsigned NumOperands = getNumOperandInfos(); in isValid() local 123 if (NumOperands == 0) return false; in isValid() 124 for (unsigned i = 0; i < NumOperands; ++i) { in isValid() 126 if (Op.isArrayOp() && i + 2 != NumOperands) in isValid()
|
/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/lib/Transforms/Utils/ |
D | ValueMapper.cpp | 105 unsigned OpNo = 0, NumOperands = C->getNumOperands(); in MapValue() local 107 for (; OpNo != NumOperands; ++OpNo) { in MapValue() 120 if (OpNo == NumOperands && NewTy == C->getType()) in MapValue() 126 Ops.reserve(NumOperands); in MapValue() 131 if (OpNo != NumOperands) { in MapValue() 135 for (++OpNo; OpNo != NumOperands; ++OpNo) in MapValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64RegisterBankInfo.cpp | 404 unsigned NumOperands = MI.getNumOperands(); in getSameKindOfOperandsMapping() local 405 assert(NumOperands <= 3 && in getSameKindOfOperandsMapping() 423 for (unsigned Idx = 1; Idx != NumOperands; ++Idx) { in getSameKindOfOperandsMapping() 437 getValueMapping(RBIdx, Size), NumOperands); in getSameKindOfOperandsMapping() 537 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 540 SmallVector<unsigned, 4> OpSize(NumOperands); in getInstrMapping() 541 SmallVector<PartialMappingIdx, 4> OpRegBankIdx(NumOperands); in getInstrMapping() 542 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() 638 SmallVector<const ValueMapping *, 8> OpdsMapping(NumOperands); in getInstrMapping() 639 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in getInstrMapping() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | IntrinsicInst.cpp | 110 unsigned NumOperands = getNumArgOperands(); in getRoundingMode() local 112 dyn_cast<MetadataAsValue>(getArgOperand(NumOperands - 2))->getMetadata(); in getRoundingMode() 130 unsigned NumOperands = getNumArgOperands(); in getExceptionBehavior() local 132 dyn_cast<MetadataAsValue>(getArgOperand(NumOperands - 1))->getMetadata(); in getExceptionBehavior()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ConstantsScanner.h | 63 unsigned NumOperands = InstI->getNumOperands(); variable 64 while (OpIdx < NumOperands && !isAtConstant()) { 68 if (OpIdx < NumOperands) return *this; // Found a constant!
|
D | ScalarEvolutionExpressions.h | 144 size_t NumOperands; variable 148 : SCEV(ID, T), Operands(O), NumOperands(N) {} in SCEVNAryExpr() 151 size_t getNumOperands() const { return NumOperands; } in getNumOperands() 153 assert(i < NumOperands && "Operand index out of range!"); in getOperand() 159 op_iterator op_end() const { return Operands + NumOperands; } in op_end()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorLoopCarriedReuse.cpp | 348 unsigned NumOperands = I1->getNumOperands(); in isEquivalentOperation() local 349 for (unsigned i = 0; i < NumOperands; ++i) { in isEquivalentOperation() 429 int NumOperands = I->getNumOperands(); in findValueToReuse() local 431 for (int OpNo = 0; OpNo < NumOperands; ++OpNo) { in findValueToReuse() 470 int NumOperands = Inst2Replace->getNumOperands(); in reuseValue() local 475 for (int i = 0; i < NumOperands; ++i) { in reuseValue() 498 for (int j = 0; j < NumOperands; ++j) { in reuseValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegisterBankInfo.cpp | 342 unsigned NumOperands) { in hashInstructionMapping() argument 343 return hash_combine(ID, Cost, OperandsMapping, NumOperands); in hashInstructionMapping() 350 unsigned NumOperands) const { in getInstructionMappingImpl() 352 OperandsMapping == nullptr && NumOperands == 0) || in getInstructionMappingImpl() 358 hashInstructionMapping(ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 370 ID, Cost, OperandsMapping, NumOperands); in getInstructionMappingImpl() 553 assert(NumOperands == (isCopyLike(MI) ? 1 : MI.getNumOperands()) && in verify() 561 for (unsigned Idx = 0; Idx < NumOperands; ++Idx) { in verify() 594 for (unsigned OpIdx = 0; OpIdx != NumOperands; ++OpIdx) { in print()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/ |
D | MCInstrDesc.h | 165 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 188 if (OpNum < NumOperands && in getOperandConstraint() 209 unsigned getNumOperands() const { return NumOperands; } in getNumOperands() 214 const_opInfo_iterator opInfo_end() const { return OpInfo + NumOperands; } in opInfo_end()
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | CodeGenTarget.h | 172 unsigned NumOperands; variable 177 ComplexPattern() : NumOperands(0) {} in ComplexPattern() 181 unsigned getNumOperands() const { return NumOperands; } in getNumOperands()
|
/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/include/llvm/MC/ |
D | MCInstrDesc.h | 136 unsigned short NumOperands; // Num of args (may be more if variable_ops) variable 151 if (OpNum < NumOperands && in getOperandConstraint() 176 return NumOperands; in getNumOperands()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | User.cpp | 62 Obj->NumOperands = Us; in operator new() 73 Use *Storage = static_cast<Use*>(Usr) - Start->NumOperands; in operator delete()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsRegisterBankInfo.cpp | 79 unsigned NumOperands = MI.getNumOperands(); in getInstrMapping() local 100 NumOperands); in getInstrMapping()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | dead_variable_elimination.cpp | 48 uint32_t last_operand = linkage_instruction.NumOperands() - 1; in Process() 89 if (inst->NumOperands() == 4) { in DeleteVariable()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | dead_variable_elimination.cpp | 48 uint32_t last_operand = linkage_instruction.NumOperands() - 1; in Process() 89 if (inst->NumOperands() == 4) { in DeleteVariable()
|