Home
last modified time | relevance | path

Searched full:operands (Results 1 – 25 of 4060) sorted by relevance

12345678910>>...163

/llvm-project/clang/test/Sema/
H A Daarch64-sve-vector-bitwise-ops.c12 …(void)(i8 & i16); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
13 …(void)(i8 & i32); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
14 …(void)(i8 & i64); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
15 …(void)(i8 & u16); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
16 …(void)(i8 & u32); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
17 …(void)(i8 & u64); // expected-error{{vector operands do not have the same number of elements ('svi… in and()
18 (void)(i8 & f16); // expected-error{{invalid operands to binary expression}} in and()
19 (void)(i8 & f32); // expected-error{{invalid operands to binary expression}} in and()
20 (void)(i8 & f64); // expected-error{{invalid operands to binary expression}} in and()
23 …(void)(u8 & i16); // expected-error{{vector operands do not have the same number of elements ('svu… in and()
[all …]
H A Daarch64-sve-vector-arith-ops.c15 (void)(b + b); // expected-error{{invalid operands to binary expression}} in add()
17 (void)(i8 + b); // expected-error{{invalid operands to binary expression}} in add()
18 …(void)(i8 + i16); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
19 …(void)(i8 + i32); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
20 …(void)(i8 + i64); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
21 …(void)(i8 + u16); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
22 …(void)(i8 + u32); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
23 …(void)(i8 + u64); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
24 …(void)(i8 + f16); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
25 …(void)(i8 + f32); // expected-error{{vector operands do not have the same number of elements ('svi… in add()
[all …]
H A Daarch64-sve-vector-compare-ops.c12 …(void)(i8 == i16); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
13 …(void)(i8 == i32); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
14 …(void)(i8 == i64); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
15 …(void)(i8 == u16); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
16 …(void)(i8 == u32); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
17 …(void)(i8 == u64); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
18 …(void)(i8 == f16); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
19 …(void)(i8 == f32); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
20 …(void)(i8 == f64); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
23 …(void)(u8 == i16); // expected-error{{vector operands do not have the same number of elements ('sv… in eq()
[all …]
H A Daarch64-sve-vector-shift-ops.c11 (void)(b << b); // expected-error{{invalid operands to binary expression}} in lshift()
13 (void)(i8 << b); // expected-error{{invalid operands to binary expression}} in lshift()
14 (void)(i8 << i16); // expected-error{{invalid operands to binary expression}} in lshift()
15 (void)(i8 << i32); // expected-error{{invalid operands to binary expression}} in lshift()
16 (void)(i8 << i64); // expected-error{{invalid operands to binary expression}} in lshift()
17 (void)(i8 << u16); // expected-error{{invalid operands to binary expression}} in lshift()
18 (void)(i8 << u32); // expected-error{{invalid operands to binary expression}} in lshift()
19 (void)(i8 << u64); // expected-error{{invalid operands to binary expression}} in lshift()
26 (void)(u8 << b); // expected-error{{invalid operands to binary expression}} in lshift()
27 (void)(u8 << i16); // expected-error{{invalid operands to binary expression}} in lshift()
[all …]
/llvm-project/clang/test/SemaCXX/
H A Dnullptr_in_arithmetic_ops.cpp8 a = 0 ? nullptr + a : a + nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
9 a = 0 ? nullptr - a : a - nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
10 a = 0 ? nullptr / a : a / nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
11 a = 0 ? nullptr * a : a * nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
12 a = 0 ? nullptr >> a : a >> nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
13 a = 0 ? nullptr << a : a << nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
14 a = 0 ? nullptr % a : a % nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
15 a = 0 ? nullptr & a : a & nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
16 a = 0 ? nullptr | a : a | nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
17 a = 0 ? nullptr ^ a : a ^ nullptr; // expected-error 2{{invalid operands to binary expression}} in foo()
[all …]
/llvm-project/clang/test/CXX/over/over.built/
H A Dp17.cpp8 (void)(a < a); // expected-error {{invalid operands}} in f()
9 (void)(a > a); // expected-error {{invalid operands}} in f()
10 (void)(a <= a); // expected-error {{invalid operands}} in f()
11 (void)(a >= a); // expected-error {{invalid operands}} in f()
15 (void)(a < b); // expected-error {{invalid operands}} in f()
16 (void)(a > b); // expected-error {{invalid operands}} in f()
17 (void)(a <= b); // expected-error {{invalid operands}} in f()
18 (void)(a >= b); // expected-error {{invalid operands}} in f()
22 (void)(b < a); // expected-error {{invalid operands}} in f()
23 (void)(b > a); // expected-error {{invalid operands}} in f()
[all …]
H A Dp18.cpp6 (void)(f % 3); // expected-error {{invalid operands}} in f()
8 (void)(pi % 3); // expected-error {{invalid operands}} in f()
12 (void)(3 % f); // expected-error {{invalid operands}} in f()
14 (void)(3 % pi); // expected-error {{invalid operands}} in f()
19 (void)(f & 3); // expected-error {{invalid operands}} in f()
21 (void)(pi & 3); // expected-error {{invalid operands}} in f()
25 (void)(3 & f); // expected-error {{invalid operands}} in f()
27 (void)(3 & pi); // expected-error {{invalid operands}} in f()
32 (void)(f ^ 3); // expected-error {{invalid operands}} in f()
34 (void)(pi ^ 3); // expected-error {{invalid operands}} in f()
[all …]
H A Dp16.cpp8 (void)(a < a); // expected-error {{invalid operands}} in f()
9 (void)(a > a); // expected-error {{invalid operands}} in f()
10 (void)(a <= a); // expected-error {{invalid operands}} in f()
11 (void)(a >= a); // expected-error {{invalid operands}} in f()
15 (void)(a < b); // expected-error {{invalid operands}} in f()
16 (void)(a > b); // expected-error {{invalid operands}} in f()
17 (void)(a <= b); // expected-error {{invalid operands}} in f()
18 (void)(a >= b); // expected-error {{invalid operands}} in f()
22 (void)(b < a); // expected-error {{invalid operands}} in f()
23 (void)(b > a); // expected-error {{invalid operands}} in f()
[all …]
/llvm-project/mlir/include/mlir/Dialect/
H A DCommonFolders.h29 /// attributes in `operands` and returns the result if possible.
38 Attribute constFoldBinaryOpConditional(ArrayRef<Attribute> operands, in constFoldBinaryOpConditional() argument
41 assert(operands.size() == 2 && "binary op takes two operands"); in constFoldBinaryOpConditional()
47 if (isa_and_nonnull<PoisonAttr>(operands[0])) in constFoldBinaryOpConditional()
48 return operands[0]; in constFoldBinaryOpConditional()
50 if (isa_and_nonnull<PoisonAttr>(operands[1])) in constFoldBinaryOpConditional()
51 return operands[1]; in constFoldBinaryOpConditional()
54 if (!resultType || !operands[0] || !operands[1]) in constFoldBinaryOpConditional()
57 if (isa<AttrElementT>(operands[0]) && isa<AttrElementT>(operands[1])) { in constFoldBinaryOpConditional()
58 auto lhs = cast<AttrElementT>(operands[0]); in constFoldBinaryOpConditional()
[all …]
/llvm-project/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.cpp73 ArrayRef<uint32_t> operands; in deserialize() local
76 // Slice the next instruction out and populate `opcode` and `operands`. in deserialize()
78 if (failed(sliceInstruction(opcode, operands))) in deserialize()
81 if (failed(processInstruction(opcode, operands))) in deserialize()
156 spirv::Deserializer::processCapability(ArrayRef<uint32_t> operands) { in processCapability() argument
157 if (operands.size() != 1) in processCapability()
160 auto cap = spirv::symbolizeCapability(operands[0]); in processCapability()
162 return emitError(unknownLoc, "unknown capability: ") << operands[0]; in processCapability()
213 spirv::Deserializer::processMemoryModel(ArrayRef<uint32_t> operands) { in processMemoryModel() argument
214 if (operands in processMemoryModel()
415 processFunction(ArrayRef<uint32_t> operands) processFunction() argument
483 ArrayRef<uint32_t> operands; processFunction() local
583 processFunctionEnd(ArrayRef<uint32_t> operands) processFunctionEnd() argument
654 processGlobalVariable(ArrayRef<uint32_t> operands) processGlobalVariable() argument
740 processName(ArrayRef<uint32_t> operands) processName() argument
763 processType(spirv::Opcode opcode,ArrayRef<uint32_t> operands) processType() argument
865 processOpTypePointer(ArrayRef<uint32_t> operands) processOpTypePointer() argument
919 processArrayType(ArrayRef<uint32_t> operands) processArrayType() argument
952 processFunctionType(ArrayRef<uint32_t> operands) processFunctionType() argument
978 processCooperativeMatrixTypeKHR(ArrayRef<uint32_t> operands) processCooperativeMatrixTypeKHR() argument
1020 processJointMatrixType(ArrayRef<uint32_t> operands) processJointMatrixType() argument
1054 processRuntimeArrayType(ArrayRef<uint32_t> operands) processRuntimeArrayType() argument
1070 processStructType(ArrayRef<uint32_t> operands) processStructType() argument
1158 processMatrixType(ArrayRef<uint32_t> operands) processMatrixType() argument
1178 processTypeForwardPointer(ArrayRef<uint32_t> operands) processTypeForwardPointer() argument
1191 processImageType(ArrayRef<uint32_t> operands) processImageType() argument
1239 processSampledImageType(ArrayRef<uint32_t> operands) processSampledImageType() argument
1257 processConstant(ArrayRef<uint32_t> operands,bool isSpec) processConstant() argument
1372 processConstantBool(bool isTrue,ArrayRef<uint32_t> operands,bool isSpec) processConstantBool() argument
1394 processConstantComposite(ArrayRef<uint32_t> operands) processConstantComposite() argument
1439 processSpecConstantComposite(ArrayRef<uint32_t> operands) processSpecConstantComposite() argument
1474 processSpecConstantOperation(ArrayRef<uint32_t> operands) processSpecConstantOperation() argument
1558 processConstantNull(ArrayRef<uint32_t> operands) processConstantNull() argument
1603 processBranch(ArrayRef<uint32_t> operands) processBranch() argument
1624 processBranchConditional(ArrayRef<uint32_t> operands) processBranchConditional() argument
1657 processLabel(ArrayRef<uint32_t> operands) processLabel() argument
1681 processSelectionMerge(ArrayRef<uint32_t> operands) processSelectionMerge() argument
1707 processLoopMerge(ArrayRef<uint32_t> operands) processLoopMerge() argument
1733 processPhi(ArrayRef<uint32_t> operands) processPhi() argument
2218 processDebugLine(ArrayRef<uint32_t> operands) processDebugLine() argument
2233 processDebugString(ArrayRef<uint32_t> operands) processDebugString() argument
[all...]
H A DDeserializeOps.cpp78 spirv::Opcode &opcode, ArrayRef<uint32_t> &operands, in sliceInstruction() argument
101 operands = binary.slice(curOffset + 1, wordCount - 1); in sliceInstruction()
107 spirv::Opcode opcode, ArrayRef<uint32_t> operands, bool deferInstructions) { in processInstruction() argument
115 return processCapability(operands); in processInstruction()
117 return processExtension(operands); in processInstruction()
119 return processExtInst(operands); in processInstruction()
121 return processExtInstImport(operands); in processInstruction()
123 return processMemberName(operands); in processInstruction()
125 return processMemoryModel(operands); in processInstruction()
129 deferredInstructions.emplace_back(opcode, operands); in processInstruction()
249 SmallVector<Value, 4> operands; processOpWithoutGrammarAttr() local
299 processUndef(ArrayRef<uint32_t> operands) processUndef() argument
311 processExtInst(ArrayRef<uint32_t> operands) processExtInst() argument
414 processOp(ArrayRef<uint32_t> operands) processOp() argument
459 SmallVector<Value, 4> operands; processOp() local
537 SmallVector<Value, 4> operands; processOp() local
[all...]
/llvm-project/llvm/test/MC/AMDGPU/
H A Dgfx10_asm_vopc.s12 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
16 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
20 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
24 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
28 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
32 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
36 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
40 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
44 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
48 // W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands ar
[all...]
H A Dgfx12_asm_vopc.s9 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
13 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
17 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
21 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
25 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
29 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
33 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
37 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
41 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
45 // W64-ERR: :[[@LINE-2]]:1: error: operands ar
[all...]
H A Dgfx11_asm_vopc.s9 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
13 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
17 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
21 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
25 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
29 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
33 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
37 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
41 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
45 // W64-ERR: :[[@LINE-2]]:1: error: operands ar
[all...]
H A Dgfx11_asm_vop2_t16_err.s
H A Dgfx12_asm_vopc_dpp16.s9 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
13 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
17 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
21 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
25 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
29 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
33 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
37 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
41 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
45 // W64-ERR: :[[@LINE-2]]:1: error: operands ar
[all...]
H A Dgfx12_asm_vop2_t16_err.s
H A Dgfx11_asm_vopc_dpp16.s9 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
13 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
17 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
21 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
25 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
29 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
33 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
37 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
41 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
45 // W64-ERR: :[[@LINE-2]]:1: error: operands ar
[all...]
H A Dgfx12_asm_vopc_dpp8.s9 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
13 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
17 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
21 // W32-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
25 // W32-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
29 // W32-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
33 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
37 // W32-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
41 // W64-ERR: :[[@LINE-2]]:1: error: operands are not valid for this GPU or mode
45 // W32-ERR: :[[@LINE-2]]:1: error: operands ar
[all...]
/llvm-project/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td13 // 22 Cycles Binary Floating Point operations, 2 input operands
21 // 22 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands
27 // 24 Cycles Binary Floating Point operations, 2 input operands
33 // 26 Cycles Binary Floating Point operations, 1 input operands
41 // 26 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands
47 // 27 Cycles Binary Floating Point operations, 1 input operands
53 // 27 Cycles Binary Floating Point operations, 2 input operands
62 // 27 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 2 input operands
68 // 36 Cycles Binary Floating Point operations, 1 input operands
77 // 36 Cycles Binary Floating Point operations, and 3 Cycles ALU operations, 1 input operands
[all...]
/llvm-project/llvm/test/MC/RISCV/
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 …]
/llvm-project/clang/test/SemaOpenCL/
H A Doperators.cl15 // expected-error@-2{{invalid operands}}
19 // expected-error@-2{{invalid operands}}
21 float fbaf = 0.0f & 0.0f; // expected-error {{invalid operands}}
22 float fbof = 0.0f | 0.0f; // expected-error {{invalid operands}}
23 float fbxf = 0.0f ^ 0.0f; // expected-error {{invalid operands}}
26 // expected-error@-2{{invalid operands}}
30 // expected-error@-2{{invalid operands}}
32 …float ibaf = 0 & 0.0f; // expected-error {{invalid operands to binary expression ('int' and 'float…
33 float ibof = 0 | 0.0f; // expected-error {{invalid operands}}
40 float fremainder = fcst % 2.0f; // expected-error {{invalid operands to binary expression}}
[all …]
/llvm-project/llvm/utils/TableGen/
H A DFastISelEmitter.cpp86 /// types. It has utility methods for emitting text based on the operands.
142 SmallVector<OpKind, 3> Operands; member
145 return Operands < O.Operands; in operator <()
148 return Operands == O.Operands; in operator ==()
151 bool empty() const { return Operands.empty(); } in empty()
154 for (unsigned i = 0, e = Operands.size(); i != e; ++i) in hasAnyImmediateCodes()
155 if (Operands[i].isImm() && Operands[ in hasAnyImmediateCodes()
543 OperandsSignature Operands; collectPatterns() local
634 emitInstructionCode(raw_ostream & OS,const OperandsSignature & Operands,const PredMap & PM,const std::string & RetVTName) emitInstructionCode() argument
700 const OperandsSignature &Operands = SimplePattern.first; printFunctionDefinitions() local
[all...]
/llvm-project/llvm/test/MC/RISCV/corev/
H A DXCVmem-invalid.s5 # CHECK-ERROR: operands must be register and register
20 # CHECK-ERROR: operands must be register and register
26 # CHECK-ERROR: too few operands for instruction
29 # CHECK-ERROR: too few operands for instruction
35 # CHECK-ERROR: operands must be register and register
50 # CHECK-ERROR: operands must be register and register
56 # CHECK-ERROR: too few operands for instruction
59 # CHECK-ERROR: too few operands for instruction
65 # CHECK-ERROR: operands must be register and register
80 # CHECK-ERROR: operands must be register and register
[all …]
/llvm-project/mlir/test/mlir-tblgen/
H A Dop-python-bindings.td25 // CHECK: operands = []
29 // CHECK: operands.append(_get_op_results_or_values(variadic1))
30 // CHECK: operands.append(non_variadic)
31 // CHECK: operands.append(variadic2)
35 // CHECK: attributes=attributes, results=results, operands=operands,
41 // CHECK: self.operation.operands,
49 // CHECK: self.operation.operands,
56 // CHECK: self.operation.operands,
73 // CHECK: operands
[all...]

12345678910>>...163