Home
last modified time | relevance | path

Searched refs:operands (Results 1 – 25 of 1850) sorted by relevance

12345678910>>...74

/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.cpp157 if (operands.size() != 1) in processCapability()
351 << operands[0]; in processFunction()
650 if (operands.empty()) { in processType()
687 typeMap[operands[0]] = IntegerType::get(context, operands[1], sign); in processType()
721 typeMap[operands[0]] = VectorType::get({operands[2]}, elementTy); in processType()
1150 } words = {operands[2], operands[3]}; in processConstant()
1183 } words = {operands[2], operands[3]}; in processConstant()
1328 SmallVector<uint32_t>{operands.begin() + 3, operands.end()}}); in processSpecConstantOperation()
1468 if (operands.size() != 3 && operands.size() != 5) { in processBranchConditional()
1480 weights = std::make_pair(operands[3], operands[4]); in processBranchConditional()
[all …]
H A DDeserializeOps.cpp256 operands.push_back(arg); in processOpWithoutGrammarAttr()
297 if (operands.size() != 2) { in processUndef()
309 if (operands.size() < 4) { in processExtInst()
318 slicedOperands.append(operands.begin(), std::next(operands.begin(), 2)); in processExtInst()
319 slicedOperands.append(std::next(operands.begin(), 4), operands.end()); in processExtInst()
321 extendedInstSets[operands[2]], operands[3], slicedOperands); in processExtInst()
412 if (operands.size() != 3) { in processOp()
441 if (operands.size() < 3) { in processOp()
449 << operands[0]; in processOp()
521 operands.push_back(arg); in processOp()
[all …]
H A DDeserializer.h144 LogicalResult processCapability(ArrayRef<uint32_t> operands);
162 LogicalResult processName(ArrayRef<uint32_t> operands);
180 LogicalResult processFunction(ArrayRef<uint32_t> operands);
254 LogicalResult processArrayType(ArrayRef<uint32_t> operands);
260 LogicalResult processImageType(ArrayRef<uint32_t> operands);
319 LogicalResult processDebugLine(ArrayRef<uint32_t> operands);
378 LogicalResult processBranch(ArrayRef<uint32_t> operands);
383 LogicalResult processLabel(ArrayRef<uint32_t> operands);
392 LogicalResult processPhi(ArrayRef<uint32_t> operands);
444 LogicalResult processUndef(ArrayRef<uint32_t> operands);
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/
H A DCommonFolders.h33 if (!operands[0] || !operands[1]) in constFoldBinaryOpConditional()
35 if (operands[0].getType() != operands[1].getType()) in constFoldBinaryOpConditional()
38 if (operands[0].isa<AttrElementT>() && operands[1].isa<AttrElementT>()) { in constFoldBinaryOpConditional()
50 if (operands[0].isa<SplatElementsAttr>() && in constFoldBinaryOpConditional()
93 operands, in constFoldBinaryOp()
107 if (!operands[0]) in constFoldUnaryOpConditional()
110 if (operands[0].isa<AttrElementT>()) { in constFoldUnaryOpConditional()
152 operands, in constFoldUnaryOp()
164 if (!operands[0]) in constFoldCastOp()
167 if (operands[0].isa<AttrElementT>()) { in constFoldCastOp()
[all …]
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Doperators.cl15 // expected-error@-2{{invalid operands}}
19 // expected-error@-2{{invalid operands}}
26 // expected-error@-2{{invalid operands}}
30 // expected-error@-2{{invalid operands}}
47 // expected-error@-2{{invalid operands}}
51 // expected-error@-2{{invalid operands}}
68 // expected-error@-2{{invalid operands}}
72 // expected-error@-2{{invalid operands}}
79 // expected-error@-2{{invalid operands}}
83 // expected-error@-2{{invalid operands}}
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Math/IR/
H A DMathOps.cpp28 OpFoldResult math::AbsOp::fold(ArrayRef<Attribute> operands) { in fold() argument
39 OpFoldResult math::CeilOp::fold(ArrayRef<Attribute> operands) { in fold() argument
52 return constFoldBinaryOp<FloatAttr>(operands, in fold()
94 OpFoldResult math::LogOp::fold(ArrayRef<Attribute> operands) { in fold() argument
96 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
116 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
136 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
157 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
198 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
219 operands, [](const APFloat &a) -> Optional<APFloat> { in fold()
[all …]
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Drv32zbp-invalid.s3 # Too few operands
5 # Too few operands
7 # Too few operands
12 # Too few operands
17 # Too few operands
19 # Too few operands
21 # Too few operands
26 # Too few operands
31 # Too few operands
33 # Too few operands
[all …]
H A Drv64zbs-invalid.s3 # Too few operands
4 bclr t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 bset t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 binv t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9 # Too few operands
11 # Too few operands
16 # Too few operands
21 # Too few operands
[all …]
H A Drv32zbs-invalid.s3 # Too few operands
4 bclr t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 bset t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 binv t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9 # Too few operands
11 # Too few operands
16 # Too few operands
21 # Too few operands
[all …]
H A Drv32zbb-invalid.s3 # Too many operands
5 # Too many operands
7 # Too many operands
9 # Too many operands
11 # Too many operands
13 # Too few operands
14 min t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
15 # Too few operands
16 max t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
17 # Too few operands
[all …]
H A Drv32zbbp-invalid.s3 # Too few operands
4 andn t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 orn t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 xnor t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9 # Too few operands
10 rol t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
11 # Too few operands
12 ror t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
[all …]
H A Drv64zba-invalid.s3 # Too few operands
4 slli.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
8 # Too few operands
9 add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
10 # Too few operands
11 sh1add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
12 # Too few operands
13 sh2add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
14 # Too few operands
15 sh3add.uw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
H A Drv64zbp-invalid.s3 # Too few operands
4 gorcw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 grevw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 gorciw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
12 # Too few operands
13 greviw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
17 # Too few operands
19 # Too few operands
[all …]
H A Drv64zbbp-invalid.s3 # Too few operands
4 rolw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 rorw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 roriw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
14 # Too few operands
15 packw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
16 # Too few operands
17 packuw t0, t1 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
H A Drv32zbt-invalid.s3 # Too few operands
4 cmix t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
5 # Too few operands
6 cmov t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
7 # Too few operands
8 fsl t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
9 # Too few operands
10 fsr t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
11 # Too few operands
12 fsri t0, t1, t2 # CHECK: :[[@LINE]]:1: error: too few operands for instruction
/llvm-project-15.0.7/mlir/lib/Dialect/Complex/IR/
H A DComplexOps.cpp20 OpFoldResult ConstantOp::fold(ArrayRef<Attribute> operands) { in fold() argument
21 assert(operands.empty() && "constant has no operands"); in fold()
66 OpFoldResult CreateOp::fold(ArrayRef<Attribute> operands) { in fold() argument
83 OpFoldResult ImOp::fold(ArrayRef<Attribute> operands) { in fold() argument
84 assert(operands.size() == 1 && "unary op takes 1 operand"); in fold()
97 OpFoldResult ReOp::fold(ArrayRef<Attribute> operands) { in fold() argument
98 assert(operands.size() == 1 && "unary op takes 1 operand"); in fold()
111 OpFoldResult AddOp::fold(ArrayRef<Attribute> operands) { in fold() argument
131 OpFoldResult NegOp::fold(ArrayRef<Attribute> operands) { in fold() argument
145 OpFoldResult LogOp::fold(ArrayRef<Attribute> operands) { in fold() argument
[all …]
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td25 // CHECK: operands = []
34 // CHECK: attributes=attributes, results=results, operands=operands,
78 // CHECK: attributes=attributes, results=results, operands=operands,
125 // CHECK: attributes=attributes, results=results, operands=operands,
167 // CHECK: attributes=attributes, results=results, operands=operands,
195 // CHECK: attributes=attributes, results=results, operands=operands,
236 // CHECK: attributes=attributes, results=results, operands=operands,
247 // CHECK: operands=operands,
261 // CHECK: operands=operands,
285 // CHECK: attributes=attributes, results=results, operands=operands,
[all …]
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializeOps.cpp93 operands.push_back(typeID); in processSpecConstantCompositeOp()
94 operands.push_back(resultID); in processSpecConstantCompositeOp()
129 operands.push_back(typeID); in processSpecConstantOperationOp()
130 operands.push_back(resultID); in processSpecConstantOperationOp()
152 operands.push_back(id); in processSpecConstantOperationOp()
200 operands.push_back(funcID); in processFuncOp()
289 operands.push_back(argID); in processVariableOp()
548 operands.push_back(funcID); in processOp()
561 operands.push_back(id); in processOp()
601 operands.push_back(funcID); in processOp()
[all …]
/llvm-project-15.0.7/mlir/test/python/dialects/
H A Dods_helpers.py33 op = TestFixedRegionsOp.build_generic(results=[], operands=[])
58 results=[], operands=[], regions=2)
64 results=[], operands=[], regions=3)
133 operands=[v0, [v1, v2], v3])
142 operands=[v0, None, None])
149 operands=[None, None, None])
158 operands=[v0, None, None])
167 operands=[v0, [None], None])
174 operands=[v0, None, None])
198 operands=[None, v1])
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td641 // 4 Cycles ALU2 operations, 0 input operands
888 // 2 Cycles ALU operations, 1 input operands
895 // 3 Cycles ALU operations, 0 input operands
909 // 3 Cycles ALU operations, 1 input operands
978 // 3 Cycles ALU operations, 2 input operands
1121 // 3 Cycles ALU operations, 3 input operands
1139 // 3 Cycles ALU operations, 4 input operands
1147 // 3 Cycles ALU operations, 5 input operands
1154 // 3 Cycles ALU operations, 0 input operands
1165 // 3 Cycles ALU operations, 1 input operands
[all …]
/llvm-project-15.0.7/flang/lib/Lower/
H A DOpenACC.cpp42 operands.push_back(variable); in genObjectList()
96 operands.push_back(clauseOperand); in addOperand()
160 operands.push_back(fir::getBase( in genDeviceTypeClause()
167 operands.push_back(star); in genDeviceTypeClause()
196 operands.push_back(v); in genWaitClause()
294 llvm::SmallVector<mlir::Value> operands; in createLoopOp() local
492 llvm::SmallVector<mlir::Value, 8> operands; in createParallelOp() local
599 llvm::SmallVector<mlir::Value> operands; in genACCDataOp() local
846 llvm::SmallVector<mlir::Value, 6> operands; in genACCInitShutdownOp() local
902 llvm::SmallVector<mlir::Value> operands; in genACCUpdateOp() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp220 if (operands.back()) in fold()
221 return operands.back(); in fold()
653 if (!operands[0] || !operands[1]) in fold()
852 if (!operands[0] || !operands[1]) in fold()
1023 if (llvm::all_of(operands, in fold()
1065 return operands[0]; in fold()
1117 if (!operands.empty() && !operands[0]) in fold()
1469 if (operands[0].getType() == operands[1].getType()) in inferReturnTypes()
1501 if (operands[0].getType() == operands[1].getType()) in inferReturnTypes()
1711 if (!operands[0] || !operands[1]) in fold()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVCanonicalization.cpp139 return extractCompositeElement(operands[0], indexVector); in fold()
146 OpFoldResult spirv::ConstantOp::fold(ArrayRef<Attribute> operands) { in fold() argument
147 assert(operands.empty() && "spv.Constant has no operands"); in fold()
155 OpFoldResult spirv::IAddOp::fold(ArrayRef<Attribute> operands) { in fold() argument
156 assert(operands.size() == 2 && "spv.IAdd expects two operands"); in fold()
174 OpFoldResult spirv::IMulOp::fold(ArrayRef<Attribute> operands) { in fold() argument
175 assert(operands.size() == 2 && "spv.IMul expects two operands"); in fold()
196 OpFoldResult spirv::ISubOp::fold(ArrayRef<Attribute> operands) { in fold() argument
224 return operands.back(); in fold()
249 if (auto rhs = getScalarOrSplatBoolAttr(operands.back())) { in fold()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp346 ShapeAdaptor inputShape = operands.getShape(0); in inferReturnTypeComponents()
376 for (auto operand : operands) { in inferReturnTypeComponents()
405 for (auto operand : operands) { in inferReturnTypeComponents()
430 ShapeAdaptor biasShape = operands.getShape(2); in inferReturnTypeComponents()
460 ShapeAdaptor lhsShape = operands.getShape(0); in inferReturnTypeComponents()
461 ShapeAdaptor rhsShape = operands.getShape(1); in inferReturnTypeComponents()
574 TileOpAdaptor adaptor(operands, attributes); in inferReturnTypeComponents()
739 ResizeOpAdaptor adaptor(operands, attributes); in inferReturnTypeComponents()
877 auto shape = operands.getShape(i); in REDUCE_SHAPE_INFER()
887 auto shape = operands.getShape(i); in REDUCE_SHAPE_INFER()
[all …]
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/DWARF/
H A Ddebug-loclists.yaml33 ## ^--- operands[0] (ULEB128) 0x1234
74 ## ^----------------- operands[0] (8-byte)
76 ## ^- operands[0] (8-byte)
79 ## ^----------------- operands[1] (8-byte)
86 ## ^----------------- operands[0] (8-byte)
209 ## ^----------------- operands[0] (8-byte)
211 ## ^- operands[0] (8-byte)
214 ## ^----------------- operands[1] (8-byte)
221 ## ^----------------- operands[0] (8-byte)
445 ## corresponding operands will be changed accordingly.
[all …]

12345678910>>...74