Home
last modified time | relevance | path

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

1234

/src/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h510 OverloadedOperatorKind Operator; member
533 OverloadedOperatorKind Operator) in DependentTemplateName() argument
534 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
538 OverloadedOperatorKind Operator, in DependentTemplateName() argument
540 : Qualifier(Qualifier, true), Operator(Operator), in DependentTemplateName()
564 return Operator; in getOperator()
582 OverloadedOperatorKind Operator) { in Profile() argument
585 ID.AddInteger(Operator); in Profile()
/src/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DSetTheory.h71 class Operator {
75 virtual ~Operator() = default;
102 StringMap<std::unique_ptr<Operator>> Operators;
125 void addOperator(StringRef Name, std::unique_ptr<Operator>);
/src/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h32 class Operator : public User {
36 Operator() = delete;
37 ~Operator() = delete;
77 class OverflowingBinaryOperator : public Operator {
152 class PossiblyExactOperator : public Operator {
202 class FPMathOperator : public Operator {
401 : public ConcreteOperator<Operator, Instruction::GetElementPtr> {
542 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
579 : public ConcreteOperator<Operator, Instruction::BitCast> {
603 : public ConcreteOperator<Operator, Instruction::AddrSpaceCast> {
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/llvm/utils/TableGen/
H A DPseudoLoweringEmitter.cpp148 Record *Operator = OpDef->getDef(); in evaluateExpansion() local
149 if (!Operator->isSubClassOf("Instruction")) { in evaluateExpansion()
151 "', result operator '" + Operator->getName() + in evaluateExpansion()
157 CodeGenInstruction Insn(Operator); in evaluateExpansion()
161 "', result operator '" + Operator->getName() + in evaluateExpansion()
169 "', result operator '" + Operator->getName() + in evaluateExpansion()
/src/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenDAGPatterns.cpp1853 static unsigned GetNumNodeResults(Record *Operator, CodeGenDAGPatterns &CDP) { in GetNumNodeResults() argument
1854 if (Operator->getName() == "set" || Operator->getName() == "implicit") in GetNumNodeResults()
1857 if (Operator->isSubClassOf("Intrinsic")) in GetNumNodeResults()
1858 return CDP.getIntrinsic(Operator).IS.RetTys.size(); in GetNumNodeResults()
1860 if (Operator->isSubClassOf("SDNode")) in GetNumNodeResults()
1861 return CDP.getSDNodeInfo(Operator).getNumResults(); in GetNumNodeResults()
1863 if (Operator->isSubClassOf("PatFrags")) { in GetNumNodeResults()
1867 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults()
1876 ListInit *LI = Operator->getValueAsListInit("Fragments"); in GetNumNodeResults()
1890 if (Operator->isSubClassOf("Instruction")) { in GetNumNodeResults()
[all …]
/src/sys/contrib/dev/acpica/compiler/
H A Daslparseop.c570 ACPI_PARSE_OBJECT *Operator; in TrCreateAssignmentOp() local
649 Operator = TrAllocateOp (PARSEOP_STORE); in TrCreateAssignmentOp()
650 TrLinkOpChildren (Operator, 2, Source, Target); in TrCreateAssignmentOp()
654 Operator->Asl.LineNumber = Target->Asl.LineNumber; in TrCreateAssignmentOp()
655 Operator->Asl.LogicalLineNumber = Target->Asl.LogicalLineNumber; in TrCreateAssignmentOp()
656 Operator->Asl.LogicalByteOffset = Target->Asl.LogicalByteOffset; in TrCreateAssignmentOp()
657 Operator->Asl.Column = Target->Asl.Column; in TrCreateAssignmentOp()
659 return (Operator); in TrCreateAssignmentOp()
H A Ddtexpress.c224 UINT32 Operator, in DtDoOperator() argument
232 switch (Operator) in DtDoOperator()
359 DtGetOpName (Operator), in DtDoOperator()
H A Daslxrefout.c831 const char *Operator; in OtXrefAnalysisWalkPart3() local
886 Operator = "Scope"; in OtXrefAnalysisWalkPart3()
890 Operator = "Alias"; in OtXrefAnalysisWalkPart3()
894 Operator = "ModLevel"; in OtXrefAnalysisWalkPart3()
898 Operator = AcpiUtGetTypeName (CallerOp->Asl.Node->Type); in OtXrefAnalysisWalkPart3()
905 Operator, in OtXrefAnalysisWalkPart3()
/src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp272 static bool isNoopPtrIntCastPair(const Operator *I2P, const DataLayout &DL, in isNoopPtrIntCastPair()
275 auto *P2I = dyn_cast<Operator>(I2P->getOperand(0)); in isNoopPtrIntCastPair()
308 const Operator *Op = dyn_cast<Operator>(&V); in isAddressExpression()
340 const Operator &Op = cast<Operator>(V); in getPointerOperands()
360 auto *P2I = cast<Operator>(Op.getOperand(0)); in getPointerOperands()
468 Operator *Op = cast<Operator>(V); in appendsFlatAddressExpressionToPostorderStack()
524 if (isNoopPtrIntCastPair(cast<Operator>(I2P), *DL, TTI)) in collectFlatAddressExpressions()
525 PushPtrOperand(cast<Operator>(I2P->getOperand(0))->getOperand(0)); in collectFlatAddressExpressions()
687 assert(isNoopPtrIntCastPair(cast<Operator>(I), *DL, TTI)); in cloneInstructionWithNewAddressSpace()
688 Value *Src = cast<Operator>(I->getOperand(0))->getOperand(0); in cloneInstructionWithNewAddressSpace()
[all …]
/src/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp609 tok::TokenKind Operator = PeekTok.getKind(); in EvaluateDirectiveSubExpr() local
617 if (Operator == tok::ampamp && LHS.Val == 0) in EvaluateDirectiveSubExpr()
619 else if (Operator == tok::pipepipe && LHS.Val != 0) in EvaluateDirectiveSubExpr()
621 else if (Operator == tok::question && LHS.Val == 0) in EvaluateDirectiveSubExpr()
658 if (Operator == tok::question) in EvaluateDirectiveSubExpr()
675 switch (Operator) { in EvaluateDirectiveSubExpr()
704 switch (Operator) { in EvaluateDirectiveSubExpr()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h165 OverloadedOperatorKind Operator; member
248 Name(Name), Operator(OperatorKind), Template(OpaqueTemplateName), in TemplateIdAnnotation()
/src/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatternParser.cpp46 StringRef Operator, StringRef AnonPatNamePrefix) { in parsePatternList() argument
47 if (List.getOperatorAsDef(DiagLoc)->getName() != Operator) { in parsePatternList()
48 PrintError(DiagLoc, "Expected " + Operator + " operator"); in parsePatternList()
53 PrintError(DiagLoc, Operator + " pattern list is empty"); in parsePatternList()
H A DPatternParser.h58 StringRef Operator, StringRef AnonPatNamePrefix);
/src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp912 return checkOperandCount(dwarf::OperationEncodingString(Operation.Operator), in writeDWARFExpression()
917 writeInteger((uint8_t)Operation.Operator, OS, IsLittleEndian); in writeDWARFExpression()
918 switch (Operation.Operator) { in writeDWARFExpression()
929 StringRef EncodingStr = dwarf::OperationEncodingString(Operation.Operator); in writeDWARFExpression()
933 ? "0x" + utohexstr(Operation.Operator) in writeDWARFExpression()
945 writeInteger((uint8_t)Entry.Operator, OS, IsLittleEndian); in writeListEntry()
947 StringRef EncodingName = dwarf::RangeListEncodingString(Entry.Operator); in writeListEntry()
958 switch (Entry.Operator) { in writeListEntry()
1006 writeInteger((uint8_t)Entry.Operator, OS, IsLittleEndian); in writeListEntry()
1008 StringRef EncodingName = dwarf::LocListEncodingString(Entry.Operator); in writeListEntry()
[all …]
H A DDWARFYAML.cpp308 IO.mapRequired("Operator", DWARFOperation.Operator); in mapping()
314 IO.mapRequired("Operator", RnglistEntry.Operator); in mapping()
320 IO.mapRequired("Operator", LoclistEntry.Operator); in mapping()
/src/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h390 explicit IntrinsicFunctionIdentifierNode(IntrinsicFunctionKind Operator) in IntrinsicFunctionIdentifierNode()
392 Operator(Operator) {} in IntrinsicFunctionIdentifierNode()
396 IntrinsicFunctionKind Operator; member
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DOperatorKinds.h31 const char *getOperatorSpelling(OverloadedOperatorKind Operator);
/src/sys/contrib/device-tree/Bindings/powerpc/opal/
H A Doppanel-opal.txt1 IBM OPAL Operator Panel Binding
/src/share/misc/
H A Doperator1 Operator Associativity
/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp1272 tok::TokenKind Operator, in ActOnCXXFoldExpr() argument
1313 BinaryOperatorKind Opc = ConvertTokenKindToBinaryOpcode(Operator); in ActOnCXXFoldExpr()
1338 BinaryOperatorKind Operator, in BuildCXXFoldExpr() argument
1343 CXXFoldExpr(Context.DependentTy, Callee, LParenLoc, LHS, Operator, in BuildCXXFoldExpr()
1348 BinaryOperatorKind Operator) { in BuildEmptyCXXFoldExpr() argument
1359 switch (Operator) { in BuildEmptyCXXFoldExpr()
1370 << BinaryOperator::getOpcodeStr(Operator); in BuildEmptyCXXFoldExpr()
/src/contrib/llvm-project/llvm/lib/IR/
H A DValue.cpp654 } else if (Operator::getOpcode(V) == Instruction::BitCast) { in stripPointerCastsAndOffsets()
655 Value *NewV = cast<Operator>(V)->getOperand(0); in stripPointerCastsAndOffsets()
660 Operator::getOpcode(V) == Instruction::AddrSpaceCast) { in stripPointerCastsAndOffsets()
663 V = cast<Operator>(V)->getOperand(0); in stripPointerCastsAndOffsets()
767 } else if (Operator::getOpcode(V) == Instruction::BitCast || in stripAndAccumulateConstantOffsets()
768 Operator::getOpcode(V) == Instruction::AddrSpaceCast) { in stripAndAccumulateConstantOffsets()
769 V = cast<Operator>(V)->getOperand(0); in stripAndAccumulateConstantOffsets()
H A DOperator.cpp21 bool Operator::hasPoisonGeneratingFlags() const { in hasPoisonGeneratingFlags()
60 bool Operator::hasPoisonGeneratingAnnotations() const { in hasPoisonGeneratingAnnotations()
/src/contrib/byacc/test/
H A Dbtyacc_demo.y22 enum Operator { ADD, SUB, MUL, MOD, DIV, DEREF }; enum
222 extern Expr * build_expr(Expr *left, enum Operator op, Expr *right);
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp884 AsmToken::TokenKind Operator; in LexToken() local
887 std::tie(Operator, OperatorLength) = in LexToken()
916 if (Operator != AsmToken::Percent) { in LexToken()
918 return AsmToken(Operator, StringRef(TokStart, OperatorLength)); in LexToken()

1234