Home
last modified time | relevance | path

Searched refs:OperandType (Results 1 – 25 of 236) sorted by relevance

12345678910

/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc246 template <typename Kernel, typename OperandType = typename Kernel::OperandType>
248 static OperandType LhsMin() { in LhsMin()
249 return std::numeric_limits<OperandType>::lowest(); in LhsMin()
251 static OperandType LhsMax() { in LhsMax()
252 return std::numeric_limits<OperandType>::max(); in LhsMax()
254 static OperandType RhsMin() { in RhsMin()
255 return std::numeric_limits<OperandType>::lowest(); in RhsMin()
257 static OperandType RhsMax() { in RhsMax()
258 return std::numeric_limits<OperandType>::max(); in RhsMax()
327 typedef std::uint8_t OperandType; typedef
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DUseDefLists.h25 template <typename OperandType> class ValueUseIterator;
26 template <typename OperandType> class FilteredValueUseIterator;
27 template <typename UseIteratorT, typename OperandType> class ValueUserIterator;
34 template <typename OperandType> class IRObjectWithUseList {
49 void replaceAllUsesWith(typename OperandType::ValueType newValue) { in replaceAllUsesWith()
50 assert((!newValue || this != OperandType::getUseList(newValue)) && in replaceAllUsesWith()
60 using use_iterator = ValueUseIterator<OperandType>;
81 using user_iterator = ValueUserIterator<use_iterator, OperandType>;
95 OperandType *getFirstUse() const { return firstUse; } in getFirstUse()
99 OperandType *firstUse = nullptr;
[all …]
DOpImplementation.h533 struct OperandType { struct
540 virtual ParseResult parseOperand(OperandType &result) = 0; argument
543 virtual OptionalParseResult parseOptionalOperand(OperandType &result) = 0;
563 parseOperandList(SmallVectorImpl<OperandType> &result,
566 ParseResult parseOperandList(SmallVectorImpl<OperandType> &result, in parseOperandList()
575 parseTrailingOperandList(SmallVectorImpl<OperandType> &result,
578 ParseResult parseTrailingOperandList(SmallVectorImpl<OperandType> &result, in parseTrailingOperandList()
585 virtual ParseResult resolveOperand(const OperandType &operand, Type type,
591 ParseResult resolveOperands(ArrayRef<OperandType> operands, Type type, in resolveOperands()
602 ParseResult resolveOperands(ArrayRef<OperandType> operands, in resolveOperands()
[all …]
/external/llvm-project/llvm/utils/TableGen/
DAsmWriterInst.h35 } OperandType; member
54 AsmWriterOperand(OpType op = isLiteralTextOperand):OperandType(op) {} in OperandType() function
58 : OperandType(op), Str(LitStr) {} in OperandType() function
63 : OperandType(op), MIOpNo(_MIOpNo), Str(Printer), MiModifier(Modifier), in OperandType() function
67 if (OperandType != Other.OperandType || Str != Other.Str) return true;
68 if (OperandType == isMachineInstrOperand)
99 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
DAsmWriterInst.cpp29 if (OperandType == isLiteralTextOperand) { in getCode()
35 if (OperandType == isLiteralStatementOperand) in getCode()
186 OpInfo.OperandType == "MCOI::OPERAND_PCREL"); in AsmWriterInst()
/external/llvm/utils/TableGen/
DAsmWriterInst.h36 } OperandType; member
53 AsmWriterOperand(OpType op = isLiteralTextOperand):OperandType(op) {} in OperandType() function
57 : OperandType(op), Str(LitStr) {} in OperandType() function
63 : OperandType(op), MIOpNo(_MIOpNo), Str(Printer), MiModifier(Modifier) {} in OperandType() function
66 if (OperandType != Other.OperandType || Str != Other.Str) return true;
67 if (OperandType == isMachineInstrOperand)
98 Operands.back().OperandType == AsmWriterOperand::isLiteralTextOperand) in AddLiteralString()
/external/llvm-project/mlir/lib/Dialect/OpenMP/IR/
DOpenMPDialect.cpp59 SmallVectorImpl<OpAsmParser::OperandType> &operands, in parseOperandAndTypeList()
65 OpAsmParser::OperandType operand; in parseOperandAndTypeList()
88 SmallVectorImpl<OpAsmParser::OperandType> &operandsAllocate, in parseAllocateAndAllocator()
90 SmallVectorImpl<OpAsmParser::OperandType> &operandsAllocator, in parseAllocateAndAllocator()
96 OpAsmParser::OperandType operand; in parseAllocateAndAllocator()
201 std::pair<OpAsmParser::OperandType, Type> ifCond; in parseParallelOp()
202 std::pair<OpAsmParser::OperandType, Type> numThreads; in parseParallelOp()
203 SmallVector<OpAsmParser::OperandType, 4> privates; in parseParallelOp()
205 SmallVector<OpAsmParser::OperandType, 4> firstprivates; in parseParallelOp()
207 SmallVector<OpAsmParser::OperandType, 4> shareds; in parseParallelOp()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.td130 let OperandType = "OPERAND_BASIC_BLOCK" in
133 let OperandType = "OPERAND_LOCAL" in
136 let OperandType = "OPERAND_GLOBAL" in
139 let OperandType = "OPERAND_I32IMM" in
142 let OperandType = "OPERAND_I64IMM" in
145 let OperandType = "OPERAND_F32IMM" in
148 let OperandType = "OPERAND_F64IMM" in
151 let OperandType = "OPERAND_VEC_I8IMM" in
154 let OperandType = "OPERAND_VEC_I16IMM" in
157 let OperandType = "OPERAND_VEC_I32IMM" in
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.td135 let OperandType = "OPERAND_BASIC_BLOCK" in
138 let OperandType = "OPERAND_LOCAL" in
141 let OperandType = "OPERAND_GLOBAL" in
144 let OperandType = "OPERAND_I32IMM" in
147 let OperandType = "OPERAND_I64IMM" in
150 let OperandType = "OPERAND_F32IMM" in
153 let OperandType = "OPERAND_F64IMM" in
156 let OperandType = "OPERAND_VEC_I8IMM" in
159 let OperandType = "OPERAND_VEC_I16IMM" in
162 let OperandType = "OPERAND_VEC_I32IMM" in
[all …]
/external/llvm-project/llvm/include/llvm/MC/
DMCInstrDesc.h47 enum OperandType { enum
86 uint8_t OperandType; variable
109 return OperandType >= MCOI::OPERAND_FIRST_GENERIC && in isGenericType()
110 OperandType <= MCOI::OPERAND_LAST_GENERIC; in isGenericType()
115 return OperandType - MCOI::OPERAND_FIRST_GENERIC; in getGenericTypeIndex()
119 return OperandType >= MCOI::OPERAND_FIRST_GENERIC_IMM && in isGenericImm()
120 OperandType <= MCOI::OPERAND_LAST_GENERIC_IMM; in isGenericImm()
125 return OperandType - MCOI::OPERAND_FIRST_GENERIC_IMM; in getGenericImmIndex()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCInstrDesc.h48 enum OperandType { enum
87 uint8_t OperandType; variable
110 return OperandType >= MCOI::OPERAND_FIRST_GENERIC && in isGenericType()
111 OperandType <= MCOI::OPERAND_LAST_GENERIC; in isGenericType()
116 return OperandType - MCOI::OPERAND_FIRST_GENERIC; in getGenericTypeIndex()
120 return OperandType >= MCOI::OPERAND_FIRST_GENERIC_IMM && in isGenericImm()
121 OperandType <= MCOI::OPERAND_LAST_GENERIC_IMM; in isGenericImm()
126 return OperandType - MCOI::OPERAND_FIRST_GENERIC_IMM; in getGenericImmIndex()
/external/deqp-deps/SPIRV-Tools/test/
Doperand_test.cpp81 TEST(OperandType, NoneTypeClassification) { in TEST() argument
87 TEST(OperandType, EndSentinelTypeClassification) { in TEST() argument
93 TEST(OperandType, WidthForcingTypeClassification) { in TEST() argument
99 TEST(OperandType, EachTypeIsEitherConcreteOrOptionalNotBoth) { in TEST() argument
111 TEST(OperandType, EachVariableTypeIsOptional) { in TEST() argument
/external/swiftshader/third_party/SPIRV-Tools/test/
Doperand_test.cpp81 TEST(OperandType, NoneTypeClassification) { in TEST() argument
87 TEST(OperandType, EndSentinelTypeClassification) { in TEST() argument
93 TEST(OperandType, WidthForcingTypeClassification) { in TEST() argument
99 TEST(OperandType, EachTypeIsEitherConcreteOrOptionalNotBoth) { in TEST() argument
111 TEST(OperandType, EachVariableTypeIsOptional) { in TEST() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp93 << int(Info.OperandType) << "\n"); in encodeInstruction()
94 switch (Info.OperandType) { in encodeInstruction()
130 if (Info.OperandType == WebAssembly::OPERAND_F32IMM) { in encodeInstruction()
136 assert(Info.OperandType == WebAssembly::OPERAND_F64IMM); in encodeInstruction()
145 switch (Info.OperandType) { in encodeInstruction()
/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp97 << int(Info.OperandType) << "\n"); in encodeInstruction()
98 switch (Info.OperandType) { in encodeInstruction()
135 if (Info.OperandType == WebAssembly::OPERAND_F32IMM) { in encodeInstruction()
141 assert(Info.OperandType == WebAssembly::OPERAND_F64IMM); in encodeInstruction()
150 switch (Info.OperandType) { in encodeInstruction()
/external/llvm-project/mlir/lib/Dialect/PDLInterp/IR/
DPDLInterp.cpp44 SmallVector<OpAsmParser::OperandType, 4> operands; in parseCreateOperationOp()
53 SmallVector<OpAsmParser::OperandType, 4> attrOps; in parseCreateOperationOp()
56 OpAsmParser::OperandType operand; in parseCreateOperationOp()
73 SmallVector<OpAsmParser::OperandType, 4> opResultTypes; in parseCreateOperationOp()
/external/llvm-project/mlir/lib/Dialect/GPU/IR/
DGPUDialect.cpp201 SmallVector<OpAsmParser::OperandType, 3> operandInfo; in parseShuffleOp()
357 MutableArrayRef<OpAsmParser::OperandType> sizes, in parseSizeAssignment()
358 MutableArrayRef<OpAsmParser::OperandType> regionSizes, in parseSizeAssignment()
359 MutableArrayRef<OpAsmParser::OperandType> indices) { in parseSizeAssignment()
361 SmallVector<OpAsmParser::OperandType, 3> args; in parseSizeAssignment()
386 SmallVector<OpAsmParser::OperandType, LaunchOp::kNumConfigOperands> sizes( in parseLaunchOp()
388 MutableArrayRef<OpAsmParser::OperandType> sizesRef(sizes); in parseLaunchOp()
391 SmallVector<OpAsmParser::OperandType, 4> dataOperands; in parseLaunchOp()
394 SmallVector<OpAsmParser::OperandType, 16> regionArgs( in parseLaunchOp()
396 MutableArrayRef<OpAsmParser::OperandType> regionArgsRef(regionArgs); in parseLaunchOp()
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DX87.cpp210 #define TestFild(OperandType, Size, MemorySize, FpType, IntType) \ in TEST_F() argument
215 __ fild##OperandType(dwordAddress(T0)); \ in TEST_F()
225 << "(" #OperandType ", " #Size ", " #MemorySize ", " #FpType \ in TEST_F()
237 #define TestFistp(OperandType, Size, MemorySize, FpType, IntType) \ in TEST_F() argument
244 __ fild##OperandType(dwordAddress(T0)); \ in TEST_F()
245 __ fistp##OperandType(dwordAddress(T1)); \ in TEST_F()
255 << "(" #OperandType ", " #Size ", " #MemorySize ", " #FpType \ in TEST_F()
259 << "(" #OperandType ", " #Size ", " #MemorySize ", " #FpType \ in TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_device.cc215 llvm::SmallVectorImpl<llvm::SmallVector<OpAsmParser::OperandType, 8>>* in ParseReplicateOpOperands() argument
217 llvm::SmallVectorImpl<OpAsmParser::OperandType>* packed_inputs, in ParseReplicateOpOperands()
218 llvm::SmallVectorImpl<OpAsmParser::OperandType>* region_args, in ParseReplicateOpOperands()
232 llvm::SmallVector<OpAsmParser::OperandType, 8> replicated_region_args; in ParseReplicateOpOperands()
233 llvm::SmallVector<OpAsmParser::OperandType, 8> packed_region_args; in ParseReplicateOpOperands()
237 OpAsmParser::OperandType operand_type; in ParseReplicateOpOperands()
276 llvm::ArrayRef<llvm::SmallVector<OpAsmParser::OperandType, 8>> in SetReplicateOpOperands() argument
278 llvm::ArrayRef<OpAsmParser::OperandType> packed_inputs, in SetReplicateOpOperands()
326 llvm::SmallVector<llvm::SmallVector<OpAsmParser::OperandType, 8>, 8> in ParseReplicateOp()
328 llvm::SmallVector<OpAsmParser::OperandType, 8> packed_inputs; in ParseReplicateOp()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.h100 enum OperandType { enum
104 inline bool isVpred(OperandType op) { in isVpred()
108 return isVpred(static_cast<OperandType>(op)); in isVpred()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.td71 let OperandType = "OPERAND_BASIC_BLOCK" in
74 let OperandType = "OPERAND_FP32IMM" in
77 let OperandType = "OPERAND_FP64IMM" in
80 let OperandType = "OPERAND_P2ALIGN" in {
84 } // OperandType = "OPERAND_P2ALIGN"
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.h115 enum OperandType { enum
119 inline bool isVpred(OperandType op) { in isVpred()
123 return isVpred(static_cast<OperandType>(op)); in isVpred()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSnippetGenerator.cpp230 if (Op.getExplicitOperandInfo().OperandType >= in randomizeMCOperand()
231 MCOI::OperandType::OPERAND_FIRST_TARGET) in randomizeMCOperand()
234 switch (Op.getExplicitOperandInfo().OperandType) { in randomizeMCOperand()
235 case MCOI::OperandType::OPERAND_IMMEDIATE: in randomizeMCOperand()
239 case MCOI::OperandType::OPERAND_REGISTER: { in randomizeMCOperand()
/external/llvm-project/mlir/lib/Dialect/OpenACC/IR/
DOpenACC.cpp47 SmallVectorImpl<OpAsmParser::OperandType> &args, in parseOperandList()
60 OpAsmParser::OperandType arg; in parseOperandList()
90 OpAsmParser::OperandType &operand, in parseOptionalOperand()
106 OpAsmParser::OperandType operand; in parseOperandAndType()
121 OpAsmParser::OperandType operand; in parseOptionalOperandAndType()
186 SmallVector<OpAsmParser::OperandType, 8> privateOperands, in parseParallelOp()
199 OpAsmParser::OperandType ifCond, selfCond; in parseParallelOp()
468 SmallVector<OpAsmParser::OperandType, 8> privateOperands, reductionOperands; in parseLoopOp()
469 SmallVector<OpAsmParser::OperandType, 8> tileOperands; in parseLoopOp()
/external/llvm-project/mlir/lib/Parser/
DParser.cpp1241 ParseResult parseOperand(OperandType &result) override { in parseOperand()
1251 OptionalParseResult parseOptionalOperand(OperandType &result) override { in parseOptionalOperand()
1259 ParseResult parseOperandList(SmallVectorImpl<OperandType> &result, in parseOperandList()
1269 parseOperandOrRegionArgList(SmallVectorImpl<OperandType> &result, in parseOperandOrRegionArgList()
1310 OperandType operandOrArg; in parseOperandOrRegionArgList()
1345 ParseResult parseTrailingOperandList(SmallVectorImpl<OperandType> &result, in parseTrailingOperandList()
1359 ParseResult resolveOperand(const OperandType &operand, Type type, in resolveOperand()
1371 ParseResult parseAffineMapOfSSAIds(SmallVectorImpl<OperandType> &operands, in parseAffineMapOfSSAIds()
1375 SmallVector<OperandType, 2> dimOperands; in parseAffineMapOfSSAIds()
1376 SmallVector<OperandType, 1> symOperands; in parseAffineMapOfSSAIds()
[all …]

12345678910