Home
last modified time | relevance | path

Searched refs:Oper (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/nom/tests/
Darithmetic_ast.rs26 pub enum Oper { enum
79 fn fold_exprs(initial: Expr, remainder: Vec<(Oper, Expr)>) -> Expr { in fold_exprs() argument
83 Oper::Add => Expr::Add(Box::new(acc), Box::new(expr)), in fold_exprs()
84 Oper::Sub => Expr::Sub(Box::new(acc), Box::new(expr)), in fold_exprs()
85 Oper::Mul => Expr::Mul(Box::new(acc), Box::new(expr)), in fold_exprs()
86 Oper::Div => Expr::Div(Box::new(acc), Box::new(expr)), in fold_exprs()
96 Ok((i, (Oper::Mul, mul))) in term()
100 Ok((i, (Oper::Div, div))) in term()
112 Ok((i, (Oper::Add, add))) in expr()
116 Ok((i, (Oper::Sub, sub))) in expr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp253 for (const SDValue &Oper : Op->op_values()) in LegalizeOp() local
254 Ops.push_back(LegalizeOp(Oper)); in LegalizeOp()
324 for (const SDValue &Oper : Node->op_values()) in LegalizeOp() local
325 HasVectorValueOrOp |= Oper.getValueType().isVector(); in LegalizeOp()
1511 SDValue Oper = Node->getOperand(j); in UnrollStrictFPOp() local
1512 EVT OperVT = Oper.getValueType(); in UnrollStrictFPOp()
1515 Oper = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, in UnrollStrictFPOp()
1516 OperVT.getVectorElementType(), Oper, Idx); in UnrollStrictFPOp()
1518 Opers.push_back(Oper); in UnrollStrictFPOp()
DLegalizeVectorTypes.cpp216 SDValue Oper = N->getOperand(i); in ScalarizeVecRes_StrictFPOp() local
218 if (Oper.getValueType().isVector()) in ScalarizeVecRes_StrictFPOp()
219 Oper = GetScalarizedVector(Oper); in ScalarizeVecRes_StrictFPOp()
221 Opers[i] = Oper; in ScalarizeVecRes_StrictFPOp()
3092 SDValue Oper = N->getOperand(i); in WidenVecRes_StrictFP() local
3094 if (Oper.getValueType().isVector()) { in WidenVecRes_StrictFP()
3095 assert(Oper.getValueType() == N->getValueType(0) && in WidenVecRes_StrictFP()
3097 Oper = GetWidenedVector(Oper); in WidenVecRes_StrictFP()
3100 InOps.push_back(Oper); in WidenVecRes_StrictFP()
3124 SDValue Oper = DAG.getNode(Opcode, dl, OperVT, EOps); in WidenVecRes_StrictFP() local
[all …]
/third_party/skia/src/core/
DSkRegion.cpp456 return !Oper(rgn, *this, kDifference_Op, nullptr); in contains()
546 return Oper(*this, rgn, kIntersect_Op, nullptr); in intersects()
1032 bool SkRegion::Oper(const SkRegion& rgnaOrig, const SkRegion& rgnbOrig, Op op, in Oper() function in SkRegion
1136 return SkRegion::Oper(rgna, rgnb, op, this); in op()
/third_party/skia/include/core/
DSkRegion.h669 static bool Oper(const SkRegion&, const SkRegion&, SkRegion::Op, SkRegion*);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonPatterns.td2801 multiclass Memopxr_base_pat<PatFrag Load, PatFrag Store, SDNode Oper,
2804 def: Pat<(Store (Oper (Load I32:$Rs), I32:$A), I32:$Rs),
2807 def: Pat<(Store (Oper (Load AddrFI:$Rs), I32:$A), AddrFI:$Rs),
2812 SDNode Oper, InstHexagon MI> {
2814 def: Pat<(Store (Oper (Load (add I32:$Rs, ImmPred:$Off)), I32:$A),
2817 def: Pat<(Store (Oper (Load (IsOrAdd I32:$Rs, ImmPred:$Off)), I32:$A),
2821 def: Pat<(Store (Oper (Load (add AddrFI:$Rs, ImmPred:$Off)), I32:$A),
2824 def: Pat<(Store (Oper (Load (IsOrAdd AddrFI:$Rs, ImmPred:$Off)), I32:$A),
2830 SDNode Oper, InstHexagon MI> {
2832 defm: Memopxr_base_pat <Load, Store, Oper, MI>;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp202 const auto *Oper = Op.toOperand(); in operator <<() local
203 Out << "(Operand*)" << Oper; in operator <<()
204 if (Oper) { in operator <<()
205 Out << "::" << Oper->getType(); in operator <<()
DIceTargetLoweringARM32.cpp4677 InstArithmetic::OpKind Oper; in createArithInst() local
4684 Oper = InstArithmetic::Add; in createArithInst()
4687 Oper = InstArithmetic::And; in createArithInst()
4690 Oper = InstArithmetic::Sub; in createArithInst()
4693 Oper = InstArithmetic::Or; in createArithInst()
4696 Oper = InstArithmetic::Xor; in createArithInst()
4699 return InstArithmetic::create(Func, Oper, Dest, Src0, Src1); in createArithInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1017 Instruction *Oper = getIVIncOperand(IncV, InsertPos, /*allowScale*/true); in hoistIVInc() local
1018 if (!Oper) in hoistIVInc()
1022 IncV = Oper; in hoistIVInc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp2722 if (Instruction *Oper = dyn_cast<Instruction>(*OI)) { in findIVOperand() local
2723 if (!SE.isSCEVable(Oper->getType())) in findIVOperand()
2727 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
2738 static Value *getWideOperand(Value *Oper) { in getWideOperand() argument
2739 if (TruncInst *Trunc = dyn_cast<TruncInst>(Oper)) in getWideOperand()
2741 return Oper; in getWideOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h3265 Node *Oper = getDerived().parseOperatorName(/*NameState=*/nullptr); in parseBaseUnresolvedName() local
3266 if (Oper == nullptr) in parseBaseUnresolvedName()
3272 return make<NameWithTemplateArgs>(Oper, TA); in parseBaseUnresolvedName()
3274 return Oper; in parseBaseUnresolvedName()