Home
last modified time | relevance | path

Searched refs:getOperator (Results 1 – 25 of 165) sorted by relevance

1234567

/external/skia/src/sksl/ir/
DSkSLPrefixExpression.h41 Operator getOperator() const { in getOperator() function
55 (this->getOperator().kind() == Token::Kind::TK_PLUSPLUS || in hasProperty()
56 this->getOperator().kind() == Token::Kind::TK_MINUSMINUS)) { in hasProperty()
63 return std::make_unique<PrefixExpression>(this->getOperator(), this->operand()->clone()); in clone()
67 return this->getOperator().operatorName() + this->operand()->description(); in description()
DSkSLPostfixExpression.h39 Operator getOperator() const { in getOperator() function
57 return std::make_unique<PostfixExpression>(this->operand()->clone(), this->getOperator()); in clone()
61 return this->operand()->description() + this->getOperator().operatorName(); in description()
DSkSLBinaryExpression.h79 Operator getOperator() const { in getOperator() function
88 if (property == Property::kSideEffects && this->getOperator().isAssignment()) { in hasProperty()
/external/llvm/utils/TableGen/
DDAGISelMatcherGen.cpp287 if (N->getOperator()->isSubClassOf("ComplexPattern")) { in EmitOperatorMatchCode()
291 std::string PatternName = N->getOperator()->getName(); in EmitOperatorMatchCode()
305 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); in EmitOperatorMatchCode()
317 if ((N->getOperator()->getName() == "and" || in EmitOperatorMatchCode()
318 N->getOperator()->getName() == "or") && in EmitOperatorMatchCode()
330 if (N->getOperator()->getName() == "and") in EmitOperatorMatchCode()
357 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName() + in EmitOperatorMatchCode()
399 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator()); in EmitOperatorMatchCode()
401 Root->getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode()
402 Root->getOperator() == CGP.get_intrinsic_w_chain_sdnode() || in EmitOperatorMatchCode()
[all …]
DCodeGenDAGPatterns.cpp795 Record *Op = PatFragRec->getOnlyTree()->getOperator(); in getCodeToRunOnSDNode()
1026 TP.error(N->getOperator()->getName() + " expects a VT operand!"); in ApplyTypeConstraint()
1236 if (DefInit *DI = dyn_cast<DefInit>(Tree->getOperator())) in GetNumNodeResults()
1279 OS << '(' << getOperator()->getName(); in print()
1334 if (N->getOperator() != getOperator() || in isIsomorphicTo()
1353 New = new TreePatternNode(getOperator(), CChildren, getNumTypes()); in clone()
1410 Record *Op = getOperator(); in InlinePatternFragments()
1585 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
1586 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
1587 getOperator() != CDP.get_intrinsic_wo_chain_sdnode()) in getIntrinsicInfo()
[all …]
DFastISelEmitter.cpp183 if (InstPatNode->getOperator()->getName() == "imm") { in initialize()
188 if (InstPatNode->getOperator()->getName() == "fpimm") { in initialize()
199 if (!Op->isLeaf() && Op->getOperator()->getName() == "imm") { in initialize()
235 if (Op->getOperator()->getName() == "fpimm") { in initialize()
456 Record *Op = Dst->getOperator(); in collectPatterns()
469 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns()
510 Record *InstPatOp = InstPatNode->getOperator(); in collectPatterns()
531 if (InstPatNode->getOperator()->getName() == "imm" || in collectPatterns()
532 InstPatNode->getOperator()->getName() == "fpimm") in collectPatterns()
577 Pattern.getDstPattern()->getOperator()->getName(), in collectPatterns()
DDAGISelEmitter.cpp46 Record *Op = P->getOperator(); in getResultPatternCost()
65 Record *Op = P->getOperator(); in getResultPatternSize()
DCodeGenInstruction.cpp35 if (DefInit *Init = dyn_cast<DefInit>(OutDI->getOperator())) { in CGIOperandList()
44 if (DefInit *Init = dyn_cast<DefInit>(InDI->getOperator())) { in CGIOperandList()
89 if (!isa<DefInit>(MIOpInfo->getOperator()) || in CGIOperandList()
90 cast<DefInit>(MIOpInfo->getOperator())->getDef()->getName() != "ops") in CGIOperandList()
587 DefInit *DI = dyn_cast<DefInit>(Result->getOperator()); in CodeGenInstAlias()
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCodeBuilders.cpp44 return Op->getOperator() != OO_Call && Op->getOperator() != OO_Subscript && in mayEverNeedParens()
45 Op->getOperator() != OO_Arrow; in mayEverNeedParens()
56 return Op->getNumArgs() == 2 && Op->getOperator() != OO_PlusPlus && in needParensAfterUnaryOperator()
57 Op->getOperator() != OO_MinusMinus && Op->getOperator() != OO_Call && in needParensAfterUnaryOperator()
58 Op->getOperator() != OO_Subscript; in needParensAfterUnaryOperator()
/external/llvm-project/llvm/utils/TableGen/
DDAGISelMatcherGen.cpp310 if (N->getOperator()->isSubClassOf("ComplexPattern")) { in EmitOperatorMatchCode()
314 std::string PatternName = std::string(N->getOperator()->getName()); in EmitOperatorMatchCode()
328 const SDNodeInfo &CInfo = CGP.getSDNodeInfo(N->getOperator()); in EmitOperatorMatchCode()
340 if ((N->getOperator()->getName() == "and" || in EmitOperatorMatchCode()
341 N->getOperator()->getName() == "or") && in EmitOperatorMatchCode()
353 if (N->getOperator()->getName() == "and") in EmitOperatorMatchCode()
380 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() + in EmitOperatorMatchCode()
422 const SDNodeInfo &PInfo = CGP.getSDNodeInfo(Root->getOperator()); in EmitOperatorMatchCode()
424 Root->getOperator() == CGP.get_intrinsic_void_sdnode() || in EmitOperatorMatchCode()
425 Root->getOperator() == CGP.get_intrinsic_w_chain_sdnode() || in EmitOperatorMatchCode()
[all …]
DCodeGenDAGPatterns.cpp1333 Record *Op = Tree->getOperator(); in getCodeToRunOnSDNode()
1579 TP.error(N->getOperator()->getName() + " expects a VT operand!"); in ApplyTypeConstraint()
1805 if (DefInit *DI = dyn_cast<DefInit>(Dag->getOperator())) in GetNumNodeResults()
1850 OS << '(' << getOperator()->getName(); in print()
1913 if (N->getOperator() != getOperator() || in isIsomorphicTo()
1932 New = std::make_shared<TreePatternNode>(getOperator(), std::move(CChildren), in clone()
1997 Record *Op = getOperator(); in InlinePatternFragments()
2032 getOperator(), std::move(NewChildren), getNumTypes()); in InlinePatternFragments()
2240 if (getOperator() != CDP.get_intrinsic_void_sdnode() && in getIntrinsicInfo()
2241 getOperator() != CDP.get_intrinsic_w_chain_sdnode() && in getIntrinsicInfo()
[all …]
DFastISelEmitter.cpp194 if (InstPatNode->getOperator()->getName() == "imm") { in initialize()
199 if (InstPatNode->getOperator()->getName() == "fpimm") { in initialize()
210 if (!Op->isLeaf() && Op->getOperator()->getName() == "imm") { in initialize()
242 if (Op->getOperator()->getName() == "fpimm") { in initialize()
459 Record *Op = Dst->getOperator(); in collectPatterns()
479 if (ChildOp->getOperator()->isSubClassOf("Instruction")) { in collectPatterns()
520 Record *InstPatOp = InstPatNode->getOperator(); in collectPatterns()
541 if (InstPatNode->getOperator()->getName() == "imm" || in collectPatterns()
542 InstPatNode->getOperator()->getName() == "fpimm") in collectPatterns()
586 Pattern.getDstPattern()->getOperator()->getName(), in collectPatterns()
DSubtargetFeatureInfo.cpp123 std::string CombineType = D->getOperator()->getAsString(); in emitComputeAssemblerAvailableFeatures()
142 if (NotArg->getOperator()->getAsString() != "not" || in emitComputeAssemblerAvailableFeatures()
DDAGISelEmitter.cpp46 Record *Op = P->getOperator(); in getResultPatternCost()
65 Record *Op = P->getOperator(); in getResultPatternSize()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantStringCStrCheck.cpp34 return Op->getNumArgs() == 2 && Op->getOperator() != OO_PlusPlus && in needParensAfterUnaryOperator()
35 Op->getOperator() != OO_MinusMinus && Op->getOperator() != OO_Call && in needParensAfterUnaryOperator()
36 Op->getOperator() != OO_Subscript; in needParensAfterUnaryOperator()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java239 int op = expr.getOperator(); in atAssignExpr()
249 if (e.getOperator() == ARRAY) { in atAssignExpr()
334 int token = expr.getOperator(); in atBinExpr()
447 if (e.getOperator() == '+' && e.oprand2() == null) in stripPlusExpr()
452 int op = e.getOperator(); in stripPlusExpr()
507 int token = bexpr.getOperator(); in isPlusExpr()
590 int token = expr.getOperator(); in atExpr()
680 int op = e.getOperator(); in atCallExpr()
741 if (e.getOperator() == '.') { in isDotSuper()
878 int op = e.getOperator(); in fieldAccess()
[all …]
DCodeGen.java332 if (body.getOperator() == BLOCK) in needsSuperCall()
335 if (body != null && body.getOperator() == EXPR) { in needsSuperCall()
338 && ((Expr)expr).getOperator() == CALL) { in needsSuperCall()
357 int op = st.getOperator(); in atStmnt()
365 atPlusPlus(e.getOperator(), e.oprand1(), e, false); in atStmnt()
558 if (((Stmnt)list.head()).getOperator() == CASE) in atSwitchStmnt()
572 int op = label.getOperator(); in atSwitchStmnt()
747 int op = ((Expr)expr).getOperator(); in isPlusPlusExpr()
791 int op = expr.getOperator(); in atAssignExpr()
801 if (e.getOperator() == ARRAY) { in atAssignExpr()
[all …]
/external/skia/src/sksl/
DSkSLASTNode.cpp20 getOperator().operatorName() + " " + in description()
165 return this->begin()->description() + getOperator().operatorName(); in description()
167 return getOperator().operatorName() + this->begin()->description(); in description()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp224 return OpCall->getOperator() == OO_Star && OpCall->getNumArgs() == 1 in getDereferenceOperand()
315 return OpCall->getOperator() == OO_Star && OpCall->getNumArgs() == 1 && in isDereferenceOfOpCall()
392 if (OpCall->getOperator() == OO_Star) in isAliasDecl()
394 if (OpCall->getOperator() == OO_Subscript) { in isAliasDecl()
554 if (Call->getOperator() == OO_Arrow) { in TraverseMemberExpr()
646 switch (OpCall->getOperator()) { in TraverseCXXOperatorCallExpr()
/external/javassist/src/test/javassist/compiler/
DCompTest.java53 assertEquals('#', expr.getOperator()); in testStaticMember()
64 assertEquals('#', expr.getOperator()); in testStaticMember2()
/external/llvm-project/mlir/lib/TableGen/
DPattern.cpp106 if (auto *defInit = dyn_cast_or_null<llvm::DefInit>(node->getOperator())) in isNativeCodeCall()
117 return cast<llvm::DefInit>(node->getOperator()) in getNativeCodeTemplate()
125 llvm::Record *opDef = cast<llvm::DefInit>(node->getOperator())->getDef(); in getDialectOp()
162 auto *dagOpDef = cast<llvm::DefInit>(node->getOperator())->getDef(); in isReplaceWithValue()
167 auto *dagOpDef = cast<llvm::DefInit>(node->getOperator())->getDef(); in isLocationDirective()
584 ret.emplace_back(cast<llvm::DefInit>(dagInit->getOperator())->getDef(), in getConstraints()
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/
DCXXOperatorCallExprTraverser.cpp21 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DTypeExtractor.java103 switch (node.getOperator()) { in visit()
108 …rn facade.getBinaryTypeConcrete(node.getLeft(), node.getRight(), solveLambdas, node.getOperator()); in visit()
127 throw new UnsupportedOperationException("Operator " + node.getOperator().name()); in visit()
326 switch (node.getOperator()) { in visit()
338 throw new UnsupportedOperationException(node.getOperator().name()); in visit()
/external/javassist/src/main/javassist/compiler/ast/
DStmnt.java55 public int getOperator() { return operatorId; } in getOperator() method in Stmnt
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestCallVisitor.cpp105 Match(getOperatorSpelling(CE->getOperator()), CE->getExprLoc()); in TraverseCXXOperatorCallExpr()

1234567