Home
last modified time | relevance | path

Searched refs:binop (Results 1 – 25 of 69) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dprelegalizer-combiner-narrow-binop-feeding-add.mir25 %and:_(s64) = G_AND %binop, %mask_32
49 %and:_(s64) = G_AND %binop, %mask_32
73 %and:_(s64) = G_AND %binop, %mask_32
97 %and:_(s64) = G_AND %binop, %mask_32
120 %and:_(s64) = G_OR %binop, %mask_32
144 %and:_(s64) = G_AND %binop, %mask_32
168 %copy:_(s64) = COPY %binop
192 %and:_(s64) = G_AND %binop, %mask_16
215 %and:_(s64) = G_AND %binop, %mask_8
263 %or:_(s64) = G_OR %and, %binop
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/FunctionSpecialization/
H A Dremove-dead-recursive-function.ll22 ; CHECK-LABEL: define internal i64 @compute.1(i64 %n, i64 (i64)* %binop) {
27 ; CHECK-LABEL: define internal i64 @compute.2(i64 %n, i64 (i64)* %binop) {
32 define internal i64 @compute(i64 %n, i64 (i64)* %binop) {
38 %call = call i64 %binop(i64 %n)
40 %call1 = call i64 @compute(i64 %sub, i64 (i64)* %binop)
H A Dfunction-specialization.ll37 ; CHECK-LABEL: define internal i64 @compute.1(i64 %x, i64 (i64)* %binop) {
43 ; CHECK-LABEL: define internal i64 @compute.2(i64 %x, i64 (i64)* %binop) {
49 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
51 %tmp0 = call i64 %binop(i64 %x)
H A Dfunction-specialization-minsize.ll23 define internal i64 @compute(i64 %x, i64 (i64)* %binop) minsize {
25 %tmp0 = call i64 %binop(i64 %x)
H A Dfunction-specialization-stats.ll23 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
25 %tmp0 = call i64 %binop(i64 %x)
H A Dfunction-specialization-minsize2.ll26 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
28 %tmp0 = call i64 %binop(i64 %x)
H A Dfunction-specialization-minsize3.ll30 define internal i64 @compute(i64 %x, i64 (i64)* %binop) {
32 %tmp0 = call i64 %binop(i64 %x)
H A Dfunction-specialization-constant-expression.ll18 define internal i64 @func(i64 *%x, i64 (i64*)* %binop) {
25 %tmp0 = call i64 %binop(i64* %x)
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/AArch64/
H A Dsve-intrinsic-opts-lasta-lastb.ll177 %binop = sdiv <vscale x 16 x i8> %vector, %splat
190 %binop = sdiv exact <vscale x 16 x i8> %vector, %splat
203 %binop = fdiv fast <vscale x 4 x float> %vector, %splat
216 %binop = fdiv <vscale x 4 x float> %vector, %splat
229 %binop = sdiv <vscale x 16 x i8> %splat, %vector
242 %binop = sdiv exact <vscale x 16 x i8> %splat, %vector
255 %binop = fdiv fast <vscale x 4 x float> %splat, %vector
268 %binop = fdiv <vscale x 4 x float> %splat, %vector
282 %binop = sdiv <vscale x 16 x i8> %splat, %splat2
299 %binop = sdiv <vscale x 16 x i8> %vector, %splat
[all …]
/llvm-project-15.0.7/mlir/examples/toy/Ch3/mlir/
H A DMLIRGen.cpp172 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
184 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
187 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
190 auto location = loc(binop.loc()); in mlirGen()
194 switch (binop.getOp()) { in mlirGen()
201 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/mlir/examples/toy/Ch2/mlir/
H A DMLIRGen.cpp172 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
184 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
187 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
190 auto location = loc(binop.loc()); in mlirGen()
194 switch (binop.getOp()) { in mlirGen()
201 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/mlir/examples/toy/Ch6/mlir/
H A DMLIRGen.cpp176 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
188 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
191 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
194 auto location = loc(binop.loc()); in mlirGen()
198 switch (binop.getOp()) { in mlirGen()
205 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/mlir/examples/toy/Ch4/mlir/
H A DMLIRGen.cpp176 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
188 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
191 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
194 auto location = loc(binop.loc()); in mlirGen()
198 switch (binop.getOp()) { in mlirGen()
205 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/mlir/examples/toy/Ch5/mlir/
H A DMLIRGen.cpp176 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
188 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
191 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
194 auto location = loc(binop.loc()); in mlirGen()
198 switch (binop.getOp()) { in mlirGen()
205 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp82 if (const BinaryOperator *binop = dyn_cast<BinaryOperator>(e)) { in CheckMallocArgument() local
83 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
86 mulop = binop; in CheckMallocArgument()
90 const Expr *lhs = binop->getLHS(); in CheckMallocArgument()
91 const Expr *rhs = binop->getRHS(); in CheckMallocArgument()
/llvm-project-15.0.7/mlir/examples/toy/Ch7/mlir/
H A DMLIRGen.cpp297 mlir::Value mlirGen(BinaryExprAST &binop) { in mlirGen() argument
309 mlir::Value lhs = mlirGen(*binop.getLHS()); in mlirGen()
312 auto location = loc(binop.loc()); in mlirGen()
315 if (binop.getOp() == '.') { in mlirGen()
316 llvm::Optional<size_t> accessIndex = getMemberIndex(binop); in mlirGen()
325 mlir::Value rhs = mlirGen(*binop.getRHS()); in mlirGen()
331 switch (binop.getOp()) { in mlirGen()
338 emitError(location, "invalid binary operator '") << binop.getOp() << "'"; in mlirGen()
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Utils/
H A DMerger.cpp775 BinaryOp binop = cast<BinaryOp>(tensorExps[e].op); in buildLattices() local
776 Region &leftRegion = binop.getLeftRegion(); in buildLattices()
777 Region &rightRegion = binop.getRightRegion(); in buildLattices()
1010 if (auto binop = dyn_cast<sparse_tensor::BinaryOp>(def)) { in buildTensorExp() local
1011 if (isAdmissableBranch(binop, binop.getOverlapRegion()) && in buildTensorExp()
1012 (binop.getLeftIdentity() || in buildTensorExp()
1013 isAdmissableBranch(binop, binop.getLeftRegion())) && in buildTensorExp()
1014 (binop.getRightIdentity() || in buildTensorExp()
1015 isAdmissableBranch(binop, binop.getRightRegion()))) in buildTensorExp()
1060 BinaryOp binop = cast<BinaryOp>(op); in buildBinaryOverlap() local
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Doperand-complexity.ll4 ; 'Negate' is considered less complex than a normal binop, so the xor should have the binop as the …
45 ; 'Not' is considered less complex than a normal binop, so the mul should have the binop as the fir…
86 ; 'Fneg' is considered less complex than a normal binop, so the fmul should have the binop as the f…
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D4char-promote.ll17 %binop = mul <4 x i8> %x, %y
18 %binop6 = add <4 x i8> %binop, %x
H A Davx-win64.ll32 …%binop = fadd <8 x float> %x, <float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, floa…
33 …%calltmp = call <8 x float> @f___vyf(<8 x float> %binop, <8 x i32> %"internal_mask&function_mask25…
H A D2011-11-22-AVX2-Domains.ll64 …%binop.i20246 = fmul <8 x float> %uint2float.i20245, <float 0x3F70101020000000, float 0x3F70101020…
90 %binop.i20572 = fmul <8 x float> %binop403, undef
94 %binop1207 = fmul <8 x float> %binop.i20246, undef
/llvm-project-15.0.7/llvm/test/Transforms/VectorCombine/AArch64/
H A Dextract-scalable.ll4 ; Negative test for extract + cmp + binop - don't try this with scalable vectors.
5 ; Moved from X86/extract-cmp-binop.ll
/llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl02.rst373 // Make sure it's a declared binop.
410 a sequence of [binop,primaryexpr] pairs:
446 // If this is a binop, find its precedence.
450 // If this is a binop that binds at least as tightly as the current binop,
464 // Okay, we know this is a binop.
466 getNextToken(); // eat binop
479 In particular, we could have "(a+b) binop unparsed" or "a + (b binop
491 If the precedence of the binop to the right of "RHS" is lower or equal
493 parentheses associate as "(a+b) binop ...". In our example, the current
513 the 'if' conditional above with "\*" as the binop to the right of the
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dx86-no-x87.cpp58 int binop(double x, double y) { in binop() function
H A Dx86_64-no-x87.cpp58 int binop(double x, double y) { in binop() function

123