Home
last modified time | relevance | path

Searched refs:LeftOp (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheckImpl.h154 BinaryOperation(binop_eval_t EvalBinop, std::unique_ptr<ExpressionAST> LeftOp, in BinaryOperation() argument
157 LeftOperand = std::move(LeftOp); in BinaryOperation()
559 parseBinop(StringRef &Expr, std::unique_ptr<ExpressionAST> LeftOp,
DFileCheck.cpp37 Expected<uint64_t> LeftOp = LeftOperand->eval(); in eval() local
42 if (!LeftOp || !RightOp) { in eval()
44 if (!LeftOp) in eval()
45 Err = joinErrors(std::move(Err), LeftOp.takeError()); in eval()
51 return EvalBinop(*LeftOp, *RightOp); in eval()
208 static uint64_t add(uint64_t LeftOp, uint64_t RightOp) { in add() argument
209 return LeftOp + RightOp; in add()
212 static uint64_t sub(uint64_t LeftOp, uint64_t RightOp) { in sub() argument
213 return LeftOp - RightOp; in sub()
217 Pattern::parseBinop(StringRef &Expr, std::unique_ptr<ExpressionAST> LeftOp, in parseBinop() argument
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheckImpl.h361 std::unique_ptr<ExpressionAST> LeftOp, in BinaryOperation() argument
364 LeftOperand = std::move(LeftOp); in BinaryOperation()
783 std::unique_ptr<ExpressionAST> LeftOp, bool IsLegacyLineExpr,
DFileCheck.cpp356 Expected<ExpressionValue> LeftOp = LeftOperand->eval(); in eval() local
361 if (!LeftOp || !RightOp) { in eval()
363 if (!LeftOp) in eval()
364 Err = joinErrors(std::move(Err), LeftOp.takeError()); in eval()
370 return EvalBinop(*LeftOp, *RightOp); in eval()
629 std::unique_ptr<ExpressionAST> LeftOp, in parseBinop() argument
634 return std::move(LeftOp); in parseBinop()
668 return std::make_unique<BinaryOperation>(Expr, EvalBinop, std::move(LeftOp), in parseBinop()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8296 SDValue LeftOp = ShiftOperand.getOperand(0); in combineShiftToMULH() local
8298 bool IsSignExt = LeftOp.getOpcode() == ISD::SIGN_EXTEND; in combineShiftToMULH()
8299 bool IsZeroExt = LeftOp.getOpcode() == ISD::ZERO_EXTEND; in combineShiftToMULH()
8301 if ((!(IsSignExt || IsZeroExt)) || LeftOp.getOpcode() != RightOp.getOpcode()) in combineShiftToMULH()
8304 EVT WideVT1 = LeftOp.getValueType(); in combineShiftToMULH()
8311 EVT NarrowVT = LeftOp.getOperand(0).getValueType(); in combineShiftToMULH()
8337 SDValue Result = DAG.getNode(MulhOpcode, DL, NarrowVT, LeftOp.getOperand(0), in combineShiftToMULH()