Searched refs:Operator (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DSetTheory.h69 /// Operator - A callback representing a DAG operator.
70 class Operator { class in class:llvm::SetTheory
74 virtual ~Operator() = default;
101 StringMap<std::unique_ptr<Operator>> Operators;
124 void addOperator(StringRef Name, std::unique_ptr<Operator>);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DOperatorKinds.h31 const char *getOperatorSpelling(OverloadedOperatorKind Operator);
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h467 OverloadedOperatorKind Operator; member in union:clang::DependentTemplateName::__anon2501
490 OverloadedOperatorKind Operator)
491 : Qualifier(Qualifier, true), Operator(Operator),
495 OverloadedOperatorKind Operator,
497 : Qualifier(Qualifier, true), Operator(Operator),
521 return Operator;
539 OverloadedOperatorKind Operator) {
542 ID.AddInteger(Operator);
489 DependentTemplateName(NestedNameSpecifier *Qualifier, OverloadedOperatorKind Operator) argument
494 DependentTemplateName(NestedNameSpecifier *Qualifier, OverloadedOperatorKind Operator, TemplateName Canon) argument
538 Profile(llvm::FoldingSetNodeID &ID, NestedNameSpecifier *NNS, OverloadedOperatorKind Operator) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h1 //===-- llvm/Operator.h - Operator utility subclass -------------*- C++ -*-===//
30 class Operator : public User { class in namespace:llvm
32 // The Operator class is intended to be used as a utility, and is never itself
34 Operator() = delete;
35 ~Operator() = delete;
66 class OverflowingBinaryOperator : public Operator {
120 class PossiblyExactOperator : public Operator {
246 class FPMathOperator : public Operator {
452 class ZExtOperator : public ConcreteOperator<Operator, Instructio
[all...]
/freebsd-12-stable/sys/contrib/dev/acpica/compiler/
H A Ddtexpress.c212 * Operator - Parse token for the operator (OP_EXP_*)
224 UINT32 Operator,
232 switch (Operator)
359 DtGetOpName (Operator),
222 DtDoOperator( UINT64 LeftValue, UINT32 Operator, UINT64 RightValue) argument
H A Daslparseop.c544 ACPI_PARSE_OBJECT *Operator; local
623 Operator = TrAllocateOp (PARSEOP_STORE);
624 TrLinkOpChildren (Operator, 2, Source, Target);
628 Operator->Asl.LineNumber = Target->Asl.LineNumber;
629 Operator->Asl.LogicalLineNumber = Target->Asl.LogicalLineNumber;
630 Operator->Asl.LogicalByteOffset = Target->Asl.LogicalByteOffset;
631 Operator->Asl.Column = Target->Asl.Column;
633 return (Operator);
H A Daslxrefout.c831 const char *Operator; local
886 Operator = "Scope";
890 Operator = "Alias";
894 Operator = "ModLevel";
898 Operator = AcpiUtGetTypeName (CallerOp->Asl.Node->Type);
902 "[%5u] %-40s %-8s via path: %s, Operator: %s\n",
905 Operator,
H A Ddtcompiler.h400 UINT32 Operator,
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp134 Record *Operator = OpDef->getDef(); local
135 if (!Operator->isSubClassOf("Instruction"))
136 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
139 CodeGenInstruction Insn(Operator);
142 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
146 PrintFatalError(Rec->getLoc(), "Pseudo result '" + Operator->getName() +
H A DCodeGenDAGPatterns.cpp1770 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) { argument
1771 if (Operator->getName() == "set" ||
1772 Operator->getName() == "implicit")
1775 if (Operator->isSubClassOf("Intrinsic"))
1776 return CDP.getIntrinsic(Operator).IS.RetVTs.size();
1778 if (Operator->isSubClassOf("SDNode"))
1779 return CDP.getSDNodeInfo(Operator).getNumResults();
1781 if (Operator->isSubClassOf("PatFrags")) {
1785 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) {
1794 ListInit *LI = Operator
2784 Record *Operator = OpDef->getDef(); local
4463 Record *Operator = N->getOperator(); local
[all...]
H A DRISCVCompressInstEmitter.cpp423 Record *Operator = SourceDag->getOperatorAsDef(Rec->getLoc()); local
424 if (!Operator->isSubClassOf("RVInst"))
425 PrintFatalError(Rec->getLoc(), "Input instruction '" + Operator->getName() +
427 CodeGenInstruction SourceInst(Operator);
H A DCodeGenDAGPatterns.h642 /// Operator - The Record for the operator if this is an interior node (not
644 Record *Operator; member in class:llvm::TreePatternNode
669 : Operator(Op), Val(nullptr), TransformFn(nullptr),
676 : Operator(nullptr), Val(val), TransformFn(nullptr) {
725 Record *getOperator() const { assert(!isLeaf()); return Operator; }
/freebsd-12-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DSetTheory.cpp39 struct AddOp : public SetTheory::Operator {
47 struct SubOp : public SetTheory::Operator {
63 struct AndOp : public SetTheory::Operator {
79 struct SetIntBinOp : public SetTheory::Operator {
86 PrintFatalError(Loc, "Operator requires (Op Set, Int) arguments: " +
158 struct InterleaveOp : public SetTheory::Operator {
177 struct SequenceOp : public SetTheory::Operator {
254 void SetTheory::Operator::anchor() {}
270 void SetTheory::addOperator(StringRef Name, std::unique_ptr<Operator> Op) {
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h166 OverloadedOperatorKind Operator; member in struct:clang::final
227 Name(Name), Operator(OperatorKind), Template(OpaqueTemplateName),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp111 #include "llvm/IR/Operator.h"
221 if (!isa<Operator>(V))
224 const Operator &Op = cast<Operator>(V);
244 const Operator &Op = cast<Operator>(V);
327 Operator *Op = cast<Operator>(V);
702 const Operator &Op = cast<Operator>(
[all...]
H A DSpeculativeExecution.cpp69 #include "llvm/IR/Operator.h"
214 switch (Operator::getOpcode(I)) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp677 AsmToken::TokenKind Operator; local
680 std::tie(Operator, OperatorLength) =
709 if (Operator != AsmToken::Percent) {
711 return AsmToken(Operator, StringRef(TokStart, OperatorLength));
/freebsd-12-stable/contrib/byacc/test/
H A Dbtyacc_demo.y22 enum Operator { ADD, SUB, MUL, MOD, DIV, DEREF };
222 extern Expr * build_expr(Expr *left, enum Operator op, Expr *right);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp28 #include "llvm/IR/Operator.h"
496 } else if (Operator::getOpcode(V) == Instruction::BitCast) {
497 V = cast<Operator>(V)->getOperand(0);
499 Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
502 V = cast<Operator>(V)->getOperand(0);
589 } else if (Operator::getOpcode(V) == Instruction::BitCast ||
590 Operator::getOpcode(V) == Instruction::AddrSpaceCast) {
591 V = cast<Operator>(V)->getOperand(0);
/freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp560 tok::TokenKind Operator = PeekTok.getKind();
568 if (Operator == tok::ampamp && LHS.Val == 0)
570 else if (Operator == tok::pipepipe && LHS.Val != 0)
572 else if (Operator == tok::question && LHS.Val == 0)
609 if (Operator == tok::question)
626 switch (Operator) {
655 switch (Operator) {
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1161 tok::TokenKind Operator,
1201 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator);
1207 BinaryOperatorKind Operator,
1212 Operator, EllipsisLoc, RHS, RParenLoc,
1217 BinaryOperatorKind Operator) {
1228 switch (Operator) {
1239 << BinaryOperator::getOpcodeStr(Operator);
1160 ActOnCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, tok::TokenKind Operator, SourceLocation EllipsisLoc, Expr *RHS, SourceLocation RParenLoc) argument
1206 BuildCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, BinaryOperatorKind Operator, SourceLocation EllipsisLoc, Expr *RHS, SourceLocation RParenLoc, Optional<unsigned> NumExpansions) argument
1216 BuildEmptyCXXFoldExpr(SourceLocation EllipsisLoc, BinaryOperatorKind Operator) argument
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h391 explicit IntrinsicFunctionIdentifierNode(IntrinsicFunctionKind Operator) argument
393 Operator(Operator) {}
397 IntrinsicFunctionKind Operator; member in struct:llvm::ms_demangle::IntrinsicFunctionIdentifierNode
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp460 BinaryOperator::Opcode Operator = SIE->getOpcode(); local
463 if (Operator == BO_Or && IsUnsigned)
467 if (Operator == BO_Or && RHS != Zero)
473 if (Operator == BO_And && (IsUnsigned || RHS >= Zero))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp59 #include "llvm/IR/Operator.h"
960 const Operator *I, KnownBits &Known, KnownBits &Known2,
1046 static void computeKnownBitsFromOperator(const Operator *I, KnownBits &Known,
1426 Operator *LU = dyn_cast<Operator>(L);
1806 if (const Operator *I = dyn_cast<Operator>(V))
1915 return isKnownToBeAPowerOfTwo(cast<Operator>(V)->getOperand(0), OrZero,
2404 assert(isa<Operator>(Select) &&
2405 cast<Operator>(Selec
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp685 const char *clang::getOperatorSpelling(OverloadedOperatorKind Operator) { argument
686 switch (Operator) {

Completed in 325 milliseconds

123