Home
last modified time | relevance | path

Searched refs:OpB (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Drewriter-errors.td21 def OpB : A_Op<"op_b">, Arguments<(ins AnyInteger, AnyAttr:$value)>, Results<(outs AnyInteger)>;
27 (OpB $val, $arg)>;
34 (OpB $val, $arg)>;
40 def : Pat<(OpA (NativeMatcher (OpB $val, $unused)), AnyI32Attr:$arg),
41 (OpB $val, $arg)>;
47 def : Pat<(OpB $val, AnyI32Attr:$attr), (OpA (OpA $val, $val, (returnType (OpA $val, $val))), $val)…
53 def : Pat<(OpB $val, AnyI32Attr:$attr), (OpA $val, $val, (returnType "someType()"))>;
59 def : Pat<(OpB:$result $val, $attr), (OpA $val, $val), [(AnyInteger:$result)]>;
65 def : Pat<(OpB:$opB $val, $attr), (OpA $val, $val), [(AnyInteger $opB, $val)]>;
H A Dexpect-symbol.td13 def OpB : Op<Test_Dialect, "b"> {
17 def : Pat<(OpA $attr), (OpB $attr),
H A Dop-result.td24 def OpB : NS_Op<"same_input_output_type_op", [SameOperandsAndResultType]> {
29 // CHECK-LABEL: OpB definitions
30 // CHECK: void OpB::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::…
32 // CHECK: void OpB::build(::mlir::OpBuilder &odsBuilder, ::mlir::OperationState &odsState, ::mlir::…
34 // CHECK: if (::mlir::succeeded(OpB::inferReturnTypes(odsBuilder.getContext(),
H A Dop-operand.td32 def OpB : NS_Op<"one_variadic_operand_op", []> {
36 // CHECK-LABEL: OpB::build
H A Dpredicate.td44 def OpB : NS_Op<"op_for_And_PredOpTrait", [
49 // CHECK-LABEL: OpB::verify
H A Dconstraint-unique.td30 // OpA and OpB have the same type, attribute, successor, and region constraints.
39 def OpB : NS_Op<"op_b"> {
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dget-operand-type.td17 def OpB : Operand<i32>;
24 let InOperandList = (ins OpB:$b, i32imm:$c);
51 // CHECK-NEXT: OpA, OpB, i32imm,
/llvm-project-15.0.7/mlir/unittests/IR/
H A DPatternMatchTest.cpp20 /*generatedNames=*/{test::OpB::getOperationName()}) {} in AnOpRewritePattern()
28 ASSERT_EQ(ops.front().getStringRef(), test::OpB::getOperationName()); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp485 if (!OpA || !OpB || OpA->getOpcode() != OpB->getOpcode() || in lookThroughComplexAddresses()
486 OpA->getType() != OpB->getType()) in lookThroughComplexAddresses()
493 std::swap(OpA, OpB); in lookThroughComplexAddresses()
509 OpB = dyn_cast<Instruction>(OpB->getOperand(0)); in lookThroughComplexAddresses()
510 if (!OpB || ValA->getType() != OpB->getType()) in lookThroughComplexAddresses()
518 if (OpB->getOpcode() == Instruction::Add && in lookThroughComplexAddresses()
519 isa<ConstantInt>(OpB->getOperand(1)) && in lookThroughComplexAddresses()
521 checkNoWrapFlags(OpB, Signed)) in lookThroughComplexAddresses()
529 checkNoWrapFlags(OpB, Signed)) { in lookThroughComplexAddresses()
549 computeKnownBits(ValA, Known, DL, 0, &AC, OpB, &DT); in lookThroughComplexAddresses()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DCFGUpdate.h109 const auto &OpB = Operations[{B.getFrom(), B.getTo()}];
110 return ReverseResultOrder ? OpA < OpB : OpA > OpB;
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp269 CallBase *CallBase::Create(CallBase *CI, OperandBundleDef OpB, in Create() argument
274 if (ChildOB.getTagName() != OpB.getTag()) in Create()
277 OpDefs.emplace_back(OpB); in Create()
587 Args, OpB, CI->getName(), InsertPt); in Create()
666 ArrayRef<OperandBundleDef> OpB, in createMalloc() argument
761 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument
765 ArraySize, OpB, MallocF, Name); in CreateMalloc()
786 ArrayRef<OperandBundleDef> OpB, in CreateMalloc() argument
789 ArraySize, OpB, MallocF, Name); in CreateMalloc()
908 II->getUnwindDest(), Args, OpB, II->getName(), InsertPt); in Create()
[all …]
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestOps.td898 def OpB : TEST_Op<"op_b"> {
904 def TestNamedPatternRule : Pat<(OpA $input, $attr), (OpB $input, $attr)>;
907 def : Pat<(OpA (OpA $input, $attr), $bttr), (OpB $input, $bttr)>;
918 def : Pat<(OpG $input), (OpB $input, ConstantAttr<I32Attr, "20">:$attr)>;
919 def : Pat<(OpG (OpG $input)), (OpB $input, ConstantAttr<I32Attr, "34">:$attr)>;
1348 def : Pat<(OpC $input), (OpB $input, ConstantAttr<I32Attr, "17">:$attr)>;
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp837 MachineOperand &OpB = Root.getOperand(OpIdx[Row][1]); in reassociateOps() local
843 Register RegB = OpB.getReg(); in reassociateOps()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp2984 const MachineOperand &OpB = P.getOperand(i+1); in PhiInfo() local
2985 if (OpB.getMBB() == &B) { in PhiInfo()
2989 PB = OpB.getMBB(); in PhiInfo()