Home
last modified time | relevance | path

Searched refs:BinExpr (Results 1 – 14 of 14) sorted by relevance

/external/javassist/src/main/javassist/compiler/ast/
DBinExpr.java27 public class BinExpr extends Expr { class
36 private BinExpr(int op, ASTree _head, ASTList _tail) { in BinExpr() method in BinExpr
40 public static BinExpr makeBin(int op, ASTree oprand1, ASTree oprand2) { in makeBin()
41 return new BinExpr(op, oprand1, new ASTList(oprand2)); in makeBin()
DVisitor.java37 public void atBinExpr(BinExpr n) throws CompileError {} in atBinExpr()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java31 import javassist.compiler.ast.BinExpr;
333 public void atBinExpr(BinExpr expr) throws CompileError { in atBinExpr()
373 private Expr atPlusExpr(BinExpr expr) throws CompileError { in atPlusExpr()
384 Expr newExpr = atPlusExpr((BinExpr)left); in atPlusExpr()
419 private boolean isConstant(BinExpr expr, int op, ASTree left, in isConstant()
445 if (expr instanceof BinExpr) { in stripPlusExpr()
446 BinExpr e = (BinExpr)expr; in stripPlusExpr()
505 if (expr instanceof BinExpr) { in isPlusExpr()
506 BinExpr bexpr = (BinExpr)expr; in isPlusExpr()
519 private void computeBinExprType(BinExpr expr, int token, int type1) in computeBinExprType()
[all …]
DCodeGen.java29 import javassist.compiler.ast.BinExpr;
1010 public void atBinExpr(BinExpr expr) throws CompileError { in atBinExpr()
1157 BinExpr bexpr = (BinExpr)expr; in booleanExpr()
1166 BinExpr bexpr = (BinExpr)expr; in booleanExpr()
1217 else if ((bexpr instanceof BinExpr) in getCompOperator()
1228 private int compileOprands(BinExpr expr) throws CompileError { in compileOprands()
1264 int token, int type1, BinExpr expr) in compareExpr()
DParser.java23 import javassist.compiler.ast.BinExpr;
828 return BinExpr.makeBin(t, expr, expr2); in binaryExpr2()
/external/python/jinja/src/jinja2/
Dnodes.py413 class BinExpr(Expr): class
807 class Mul(BinExpr):
813 class Div(BinExpr):
819 class FloorDiv(BinExpr):
827 class Add(BinExpr):
833 class Sub(BinExpr):
839 class Mod(BinExpr):
845 class Pow(BinExpr):
851 class And(BinExpr):
861 class Or(BinExpr):
/external/libchrome/third_party/jinja2/
Dnodes.py415 class BinExpr(Expr): class
795 class Mul(BinExpr):
800 class Div(BinExpr):
805 class FloorDiv(BinExpr):
812 class Add(BinExpr):
817 class Sub(BinExpr):
822 class Mod(BinExpr):
827 class Pow(BinExpr):
832 class And(BinExpr):
841 class Or(BinExpr):
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp474 if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Op.getExpr())) { in printTLSCall() local
475 RefExp = cast<MCSymbolRefExpr>(BinExpr->getLHS()); in printTLSCall()
476 ConstExp = cast<MCConstantExpr>(BinExpr->getRHS()); in printTLSCall()
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp533 if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Op.getExpr())) { in printTLSCall() local
534 RefExp = cast<MCSymbolRefExpr>(BinExpr->getLHS()); in printTLSCall()
535 ConstExp = cast<MCConstantExpr>(BinExpr->getRHS()); in printTLSCall()
/external/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp726 } else if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Expr)) { in addNegOperand() local
727 if (BinExpr->getOpcode() == MCBinaryExpr::Sub) { in addNegOperand()
728 const MCExpr *NE = MCBinaryExpr::createSub(BinExpr->getRHS(), in addNegOperand()
729 BinExpr->getLHS(), Ctx); in addNegOperand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp701 } else if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Expr)) { in addNegOperand() local
702 if (BinExpr->getOpcode() == MCBinaryExpr::Sub) { in addNegOperand()
703 const MCExpr *NE = MCBinaryExpr::createSub(BinExpr->getRHS(), in addNegOperand()
704 BinExpr->getLHS(), Ctx); in addNegOperand()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp828 } else if (const MCBinaryExpr *BinExpr = dyn_cast<MCBinaryExpr>(Expr)) { in addNegOperand() local
829 if (BinExpr->getOpcode() == MCBinaryExpr::Sub) { in addNegOperand()
830 const MCExpr *NE = MCBinaryExpr::createSub(BinExpr->getRHS(), in addNegOperand()
831 BinExpr->getLHS(), Ctx); in addNegOperand()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp560 if (const auto *BinExpr = Result.Nodes.getNodeAs<BinaryOperator>(Id)) { in retrieveBinOpIntegerConstantExpr() local
561 Opcode = BinExpr->getOpcode(); in retrieveBinOpIntegerConstantExpr()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp957 BinaryOperator *BinExpr = cast<BinaryOperator>(Op1); in optimizeCos() local
958 return B.CreateCall(Callee, BinExpr->getOperand(1), "cos"); in optimizeCos()