Home
last modified time | relevance | path

Searched refs:Operator (Results 1 – 25 of 128) sorted by relevance

123456

/llvm-project-15.0.7/mlir/lib/TableGen/
H A DOperator.cpp38 Operator::Operator(const llvm::Record &def) in Operator() function in Operator
72 void Operator::assertInvariants() const { in assertInvariants()
119 int Operator::getNumResults() const { in getNumResults()
191 Operator::arg_iterator Operator::arg_begin() const { return arguments.begin(); } in arg_begin()
193 Operator::arg_iterator Operator::arg_end() const { return arguments.end(); } in arg_end()
195 Operator::arg_range Operator::getArgs() const { in getArgs()
234 auto Operator::getRegions() const in getRegions()
256 auto Operator::getSuccessors() const in getSuccessors()
288 auto Operator::getAttributes() const in getAttributes()
310 bool Operator::isVariadic() const { in isVariadic()
[all …]
H A DSideEffects.cpp39 bool SideEffect::classof(const Operator::VariableDecorator *var) { in classof()
47 Operator::var_decorator_range SideEffectTrait::getEffects() const { in getEffects()
/llvm-project-15.0.7/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp25 struct Operator;
107 struct Operator { struct
118 ~Operator() { in ~Operator() argument
587 struct vrev : public Operator {
592 struct vdup : public Operator {
603 struct vext : public Operator {
613 struct vuzpl : public Operator {
617 struct vuzpr : public Operator {
621 struct vzipl : public Operator {
625 struct vzipr : public Operator {
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/IR/
H A DTosaOps.td33 // Operator: argmax
89 // Operator: conv2d
122 // Operator: conv3d
393 // Operator: tanh
424 // Operator: add
547 // Operator: div
739 // Operator: mul
766 // Operator: pow
790 // Operator: sub
857 // Operator: abs
[all …]
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpPythonBindingGen.cpp446 static void emitAttributeAccessors(const Operator &op, in emitAttributeAccessors()
598 static bool canInferType(const Operator &op) { in canInferType()
606 populateBuilderArgsResults(const Operator &op, in populateBuilderArgsResults()
633 populateBuilderArgs(const Operator &op, in populateBuilderArgs()
687 populateBuilderLinesAttr(const Operator &op, in populateBuilderLinesAttr()
753 populateBuilderLinesOperand(const Operator &op, in populateBuilderLinesOperand()
828 populateBuilderLinesResult(const Operator &op, in populateBuilderLinesResult()
889 populateBuilderRegions(const Operator &op, in populateBuilderRegions()
997 const Operator &op, const char *kind, in emitSegmentSpec()
1042 static void emitOpBindings(const Operator &op, in emitOpBindings()
[all …]
H A DOpFormatGen.h20 class Operator; variable
23 void generateOpFormat(const Operator &constOp, OpClass &opClass);
H A DOpDocGen.cpp38 using mlir::tblgen::Operator;
91 static void emitOpTraitsDoc(const Operator &op, raw_ostream &os) { in emitOpTraitsDoc()
146 static void emitOpDoc(const Operator &op, raw_ostream &os) { in emitOpDoc()
210 emitOpDoc(Operator(opDef), os); in emitOpDoc()
307 ArrayRef<AttrDef> attrDefs, ArrayRef<Operator> ops, in emitDialectDoc()
321 for (const Operator &op : ops) in emitDialectDoc()
367 llvm::StringMap<std::vector<Operator>> dialectOps; in emitDialectDoc()
387 Operator op(opDef); in emitDialectDoc()
H A DLLVMIRConversionGen.cpp73 static bool isVariadicOperandName(const tblgen::Operator &op, StringRef name) { in isVariadicOperandName()
82 static bool isResultName(const tblgen::Operator &op, StringRef name) { in isResultName()
90 static bool isAttributeName(const tblgen::Operator &op, StringRef name) { in isAttributeName()
97 static bool isOperandName(const tblgen::Operator &op, StringRef name) { in isOperandName()
107 auto op = tblgen::Operator(record); in emitOneBuilder()
381 auto op = tblgen::Operator(record); in emitIntrOpPair()
H A DOpDefinitionsGen.cpp320 const Operator &op;
394 OpEmitter(const Operator &op,
557 const Operator &op;
2816 emitDef(const Operator &op,
2822 const Operator &op,
2830 const Operator &op;
2844 const Operator &op, in OpOperandAdaptorEmitter()
2989 const Operator &op, in emitDecl()
2996 const Operator &op, in emitDef()
3012 Operator op(*def); in emitOpClasses()
[all …]
/llvm-project-15.0.7/llvm/test/tools/yaml2obj/ELF/DWARF/
H A Ddebug-loclists.yaml106 - Operator: DW_LLE_startx_endx
109 - Operator: DW_OP_consts
112 - Operator: DW_LLE_end_of_list
117 - Operator: DW_OP_consts
123 - Operator: DW_OP_consts
129 - Operator: DW_OP_consts
136 - Operator: DW_LLE_start_end
139 - Operator: DW_OP_consts
146 - Operator: DW_OP_consts
270 - Operator: DW_OP_consts
[all …]
H A Ddebug-rnglists.yaml81 - Operator: DW_RLE_startx_endx
83 - Operator: DW_RLE_end_of_list
87 - Operator: DW_RLE_offset_pair
89 - Operator: DW_RLE_end_of_list
92 - Operator: DW_RLE_base_address
94 - Operator: DW_RLE_start_end
96 - Operator: DW_RLE_end_of_list
98 - Operator: DW_RLE_start_length
100 - Operator: DW_RLE_end_of_list
283 - Operator: DW_RLE_start_end
[all …]
/llvm-project-15.0.7/mlir/include/mlir/TableGen/
H A DPattern.h43 DenseMap<const llvm::Record *, std::unique_ptr<Operator>>;
154 Operator &getDialectOp(RecordOperatorMap *mapper) const;
286 SymbolInfo(const Operator *op, Kind kind,
290 static SymbolInfo getAttr(const Operator *op, int index) { in getAttr()
300 static SymbolInfo getResult(const Operator *op) { in getResult()
341 const Operator *op; // The op where the bound entity belongs
369 bool bindOpArgument(DagNode node, StringRef symbol, const Operator &op,
374 bool bindOpResult(StringRef symbol, const Operator &op);
400 const Operator &op, int argIndex) const;
476 const Operator &getSourceRootOp();
[all …]
H A DSideEffects.h24 class SideEffect : public Operator::VariableDecorator {
38 static bool classof(const Operator::VariableDecorator *var);
47 Operator::var_decorator_range getEffects() const;
/llvm-project-15.0.7/flang/lib/Parser/
H A Dopenacc-parsers.cpp78 first("+" >> pure(AccReductionOperator::Operator::Plus),
79 "*" >> pure(AccReductionOperator::Operator::Multiply),
80 "MAX" >> pure(AccReductionOperator::Operator::Max),
81 "MIN" >> pure(AccReductionOperator::Operator::Min),
82 "IAND" >> pure(AccReductionOperator::Operator::Iand),
83 "IOR" >> pure(AccReductionOperator::Operator::Ior),
84 "IEOR" >> pure(AccReductionOperator::Operator::Ieor),
85 ".AND." >> pure(AccReductionOperator::Operator::And),
86 ".OR." >> pure(AccReductionOperator::Operator::Or),
87 ".EQV." >> pure(AccReductionOperator::Operator::Eqv),
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTemplateName.h483 OverloadedOperatorKind Operator; member
506 OverloadedOperatorKind Operator) in DependentTemplateName() argument
507 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
511 OverloadedOperatorKind Operator, in DependentTemplateName() argument
513 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
537 return Operator; in getOperator()
555 OverloadedOperatorKind Operator) { in Profile() argument
558 ID.AddInteger(Operator); in Profile()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h32 class Operator : public User {
36 Operator() = delete;
37 ~Operator() = delete;
72 class OverflowingBinaryOperator : public Operator {
126 class PossiblyExactOperator : public Operator {
167 class FPMathOperator : public Operator {
373 class ZExtOperator : public ConcreteOperator<Operator, Instruction::ZExt> {};
376 : public ConcreteOperator<Operator, Instruction::GetElementPtr> {
514 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
542 : public ConcreteOperator<Operator, Instruction::BitCast> {
[all …]
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DSetTheory.h70 class Operator {
74 virtual ~Operator() = default;
101 StringMap<std::unique_ptr<Operator>> Operators;
124 void addOperator(StringRef Name, std::unique_ptr<Operator>);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantFunctionPtrDereferenceCheck.cpp29 const auto *Operator = Result.Nodes.getNodeAs<UnaryOperator>("op"); in check() local
30 diag(Operator->getOperatorLoc(), in check()
32 << FixItHint::CreateRemoval(Operator->getOperatorLoc()); in check()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DSetTheory.cpp38 struct AddOp : public SetTheory::Operator {
46 struct SubOp : public SetTheory::Operator {
62 struct AndOp : public SetTheory::Operator {
78 struct SetIntBinOp : public SetTheory::Operator {
157 struct InterleaveOp : public SetTheory::Operator {
176 struct SequenceOp : public SetTheory::Operator {
253 void SetTheory::Operator::anchor() {} in anchor()
269 void SetTheory::addOperator(StringRef Name, std::unique_ptr<Operator> Op) { in addOperator()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A D2003-11-18-PtrMemConstantInitializer.cpp7 struct Operator { struct
11 Operator opTab[] = { argument
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp147 Record *Operator = OpDef->getDef(); in evaluateExpansion() local
148 if (!Operator->isSubClassOf("Instruction")) { in evaluateExpansion()
150 "', result operator '" + Operator->getName() + in evaluateExpansion()
156 CodeGenInstruction Insn(Operator); in evaluateExpansion()
160 "', result operator '" + Operator->getName() + in evaluateExpansion()
168 "', result operator '" + Operator->getName() + in evaluateExpansion()
H A DCodeGenDAGPatterns.cpp1880 if (Operator->getName() == "set" || in GetNumNodeResults()
1887 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults()
1946 errs() << *Operator; in GetNumNodeResults()
2921 Record *Operator = OpDef->getDef(); in ParseTreePattern() local
2950 Operator->getName() != "set" && in ParseTreePattern()
2964 Operator->getName() != "imm" && in ParseTreePattern()
2974 Operator->getName() != "bb" && in ParseTreePattern()
2975 Operator->getName() != "vt" && in ParseTreePattern()
2976 Operator->getName() != "mcsym") in ParseTreePattern()
3721 Record *Operator = OpDef->getDef(); in hasNullFragReference() local
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp265 auto *P2I = dyn_cast<Operator>(I2P->getOperand(0)); in INITIALIZE_PASS_DEPENDENCY()
298 const Operator *Op = dyn_cast<Operator>(&V); in isAddressExpression()
330 const Operator &Op = cast<Operator>(V); in getPointerOperands()
350 auto *P2I = cast<Operator>(Op.getOperand(0)); in getPointerOperands()
432 Operator *Op = cast<Operator>(V); in appendsFlatAddressExpressionToPostorderStack()
492 if (isNoopPtrIntCastPair(cast<Operator>(I2P), *DL, TTI)) in collectFlatAddressExpressions()
494 cast<Operator>(I2P->getOperand(0))->getOperand(0)); in collectFlatAddressExpressions()
654 assert(isNoopPtrIntCastPair(cast<Operator>(I), *DL, TTI)); in cloneInstructionWithNewAddressSpace()
709 assert(isNoopPtrIntCastPair(cast<Operator>(CE), *DL, TTI)); in cloneConstantExprWithNewAddressSpace()
905 const Operator &Op = cast<Operator>(V); in updateAddressSpace()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DQualityTests.cpp225 Destructor, Operator; in TEST() local
232 Operator.Category = SymbolQualitySignals::Operator; in TEST()
237 EXPECT_LT(Operator.evaluateHeuristics(), Default.evaluateHeuristics()); in TEST()
460 TEST(QualityTests, Operator) { in TEST() argument
469 const NamedDecl *Operator = &findDecl(AST, [](const NamedDecl &ND) { in TEST() local
476 Q.merge(CodeCompletionResult(Operator, /*Priority=*/0)); in TEST()
477 EXPECT_EQ(Q.Category, SymbolQualitySignals::Operator); in TEST()
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/
H A Devery-class.cpp23 struct Operator { struct
46 f(Operator{}); in main() argument

123456