HomeSort by relevance Sort by last modified time
    Searched refs:Expr (Results 1 - 25 of 573) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/unittests/Tooling/
LookupTest.cpp 19 bool VisitCallExpr(CallExpr *Expr) {
20 OnCall(Expr);
35 auto replaceCallExpr = [&](const CallExpr *Expr,
37 const auto *Callee = cast<DeclRefExpr>(Expr->getCallee()->IgnoreImplicit());
44 Visitor.OnCall = [&](CallExpr *Expr) {
45 EXPECT_EQ("bar", replaceCallExpr(Expr, "::bar"));
50 Visitor.OnCall = [&](CallExpr *Expr) {
51 EXPECT_EQ("bar", replaceCallExpr(Expr, "::a::bar"));
56 Visitor.OnCall = [&](CallExpr *Expr) {
57 EXPECT_EQ("a::bar", replaceCallExpr(Expr, "::a::bar"))
    [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
Dependency.java 14 package android.databinding.tool.expr;
17 final Expr mDependant;
18 final Expr mOther;
19 final Expr mCondition;
29 public Dependency(Expr dependant, Expr other) {
37 public Dependency(Expr dependant, Expr other, Expr condition, boolean expectedOutput) {
57 public Expr getOther()
    [all...]
ExprModel.java 17 package android.databinding.tool.expr;
40 Map<String, Expr> mExprMap = new HashMap<String, Expr>();
42 List<Expr> mBindingExpressions = new ArrayList<Expr>();
63 private List<Expr> mPendingExpressions;
75 private List<Expr> mObservables;
87 * @param expr The new parsed expression
90 public <T extends Expr> T register(T expr) {
111 mExprMap.put(expr.getUniqueKey(), expr); local
    [all...]
TernaryExpr.java 17 package android.databinding.tool.expr;
27 public class TernaryExpr extends Expr {
28 TernaryExpr(Expr pred, Expr ifTrue, Expr ifFalse) {
32 public Expr getPred() {
36 public Expr getIfTrue() {
40 public Expr getIfFalse() {
65 final Expr ifTrue = getIfTrue();
66 final Expr ifFalse = getIfFalse()
    [all...]
  /external/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCExpr.cpp 20 HexagonNoExtendOperand *HexagonNoExtendOperand::Create(MCExpr const *Expr,
22 return new (Ctx) HexagonNoExtendOperand(Expr);
27 return Expr->evaluateAsRelocatable(Res, Layout, Fixup);
33 return Expr->findAssociatedFragment();
38 MCExpr const *HexagonNoExtendOperand::getExpr() const { return Expr; }
44 HexagonNoExtendOperand::HexagonNoExtendOperand(MCExpr const *Expr)
45 : Expr(Expr) {}
48 Expr->print(OS, MAI);
HexagonMCExpr.h 19 static HexagonNoExtendOperand *Create(MCExpr const *Expr, MCContext &Ctx);
30 HexagonNoExtendOperand(MCExpr const *Expr);
31 MCExpr const *Expr;
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCExpr.cpp 19 ARMMCExpr::create(VariantKind Kind, const MCExpr *Expr,
21 return new (Ctx) ARMMCExpr(Kind, Expr);
31 const MCExpr *Expr = getSubExpr();
32 if (Expr->getKind() != MCExpr::SymbolRef)
34 Expr->print(OS, MAI);
35 if (Expr->getKind() != MCExpr::SymbolRef)
ARMMCExpr.h 27 const MCExpr *Expr;
29 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr)
30 : Kind(Kind), Expr(Expr) {}
36 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr,
39 static const ARMMCExpr *createUpper16(const MCExpr *Expr, MCContext &Ctx) {
40 return create(VK_ARM_HI16, Expr, Ctx);
43 static const ARMMCExpr *createLower16(const MCExpr *Expr, MCContext &Ctx) {
44 return create(VK_ARM_LO16, Expr, Ctx);
55 const MCExpr *getSubExpr() const { return Expr; }
    [all...]
  /external/clang/lib/AST/
ExprClassification.cpp 10 // This file implements Expr::classify.
14 #include "clang/AST/Expr.h"
24 typedef Expr::Classification Cl;
26 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E);
32 const Expr *trueExpr,
33 const Expr *falseExpr);
34 static Cl::ModifiableType IsModifiable(ASTContext &Ctx, const Expr *E,
37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const {
89 const Expr *E,
102 static Cl::Kinds ClassifyInternal(ASTContext &Ctx, const Expr *E)
    [all...]
OpenMPClause.cpp 32 void OMPPrivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
41 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL) {
44 llvm::alignOf<Expr *>()) +
45 2 * sizeof(Expr *) * VL.size());
56 llvm::alignOf<Expr *>()) +
57 2 * sizeof(Expr *) * N);
61 void OMPFirstprivateClause::setPrivateCopies(ArrayRef<Expr *> VL) {
67 void OMPFirstprivateClause::setInits(ArrayRef<Expr *> VL) {
76 ArrayRef<Expr *> VL, ArrayRef<Expr *> PrivateVL
    [all...]
DeclOpenMP.cpp 18 #include "clang/AST/Expr.h"
31 ArrayRef<Expr *> VL) {
32 OMPThreadPrivateDecl *D = new (C, DC, VL.size() * sizeof(Expr *))
42 OMPThreadPrivateDecl *D = new (C, ID, N * sizeof(Expr *))
48 void OMPThreadPrivateDecl::setVars(ArrayRef<Expr *> VL) {
51 Expr **Vars = reinterpret_cast<Expr **>(this + 1);
  /external/opencv3/modules/cudev/include/opencv2/cudev/expr/
expr.hpp 57 template <class Body> struct Expr
63 __host__ Expr<Body> makeExpr(const Body& body)
65 Expr<Body> e;
70 template <class Body> struct PtrTraits< Expr<Body> >
72 typedef Expr<Body> ptr_sz_type;
77 __host__ static ptr_type shrinkPtr(const Expr<Body>& expr)
79 return PtrTraits<Body>::shrinkPtr(expr.body);
82 __host__ static int getRows(const Expr<Body>& expr)
    [all...]
deriv.hpp 52 #include "expr.hpp"
62 __host__ Expr<DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
71 __host__ Expr<DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
80 __host__ Expr<SobelXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
89 __host__ Expr<SobelYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
98 __host__ Expr<ScharrXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
107 __host__ Expr<ScharrYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
116 __host__ Expr<LaplacianPtrSz<ksize, typename PtrTraits<SrcPtr>::ptr_type> >
  /external/clang/include/clang/AST/
ExprOpenMP.h 10 // This file defines the Expr interface and subclasses.
17 #include "clang/AST/Expr.h"
45 class OMPArraySectionExpr : public Expr {
52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type,
55 : Expr(
77 : Expr(OMPArraySectionExprClass, Shell) {}
82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]);
    [all...]
DeclOpenMP.h 22 class Expr;
45 ArrayRef<const Expr *> getVars() const {
46 return llvm::makeArrayRef(reinterpret_cast<const Expr * const *>(this + 1),
50 MutableArrayRef<Expr *> getVars() {
51 return MutableArrayRef<Expr *>(
52 reinterpret_cast<Expr **>(this + 1),
56 void setVars(ArrayRef<Expr *> VL);
61 ArrayRef<Expr *> VL);
65 typedef MutableArrayRef<Expr *>::iterator varlist_iterator;
66 typedef ArrayRef<const Expr *>::iterator varlist_const_iterator
    [all...]
Expr.h 1 //===--- Expr.h - Classes for representing expressions ----------*- C++ -*-===//
10 // This file defines the Expr interface and subclasses.
72 Expr *RHS;
93 SubobjectAdjustment(const MemberPointerType *MPT, Expr *RHS)
100 /// Expr - This represents one expression. Note that Expr's are subclasses of
104 class Expr : public Stmt {
108 Expr(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK,
122 explicit Expr(StmtClass SC, EmptyShell) : Stmt(SC) { }
128 // will not have reference type (C++ [expr]p6). Us
    [all...]
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMCExpr.h 34 const MCExpr *Expr;
39 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr, bool IsDarwin)
40 : Kind(Kind), Expr(Expr), IsDarwin(IsDarwin) {}
46 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr,
49 static const PPCMCExpr *createLo(const MCExpr *Expr,
51 return create(VK_PPC_LO, Expr, isDarwin, Ctx);
54 static const PPCMCExpr *createHi(const MCExpr *Expr,
56 return create(VK_PPC_HI, Expr, isDarwin, Ctx);
59 static const PPCMCExpr *createHa(const MCExpr *Expr,
    [all...]
  /bootable/recovery/edify/
expr.h 27 typedef struct Expr Expr;
66 int argc, Expr* argv[]);
68 struct Expr {
72 Expr** argv;
76 // Take one of the Expr*s passed to the function as an argument,
79 Value* EvaluateValue(State* state, Expr* expr);
81 // Take one of the Expr*s passed to the function as an argument,
86 char* Evaluate(State* state, Expr* expr)
    [all...]
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsMCExpr.h 31 const MCExpr *Expr;
33 explicit MipsMCExpr(VariantKind Kind, const MCExpr *Expr)
34 : Kind(Kind), Expr(Expr) {}
41 const MCExpr *Expr, MCContext &Ctx);
47 const MCExpr *getSubExpr() const { return Expr; }
  /external/llvm/lib/TableGen/
SetTheory.cpp 30 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
32 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc);
38 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts,
40 if (Expr->arg_size() < 2)
42 Expr->getAsString());
44 ST.evaluate(*Expr->arg_begin(), Add, Loc);
45 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc);
54 void apply(SetTheory &ST, DagInit *Expr, RecSet &Elts
    [all...]
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86ELFRelocationInfo.cpp 48 const MCExpr *Expr = nullptr;
49 // If hasAddend is true, then we need to add Addend (r_addend) to Expr.
85 Expr = MCSymbolRefExpr::create(Sym, Ctx);
94 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOT, Ctx);
99 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_PLT, Ctx);
104 Expr = MCSymbolRefExpr::create(Sym, Ctx);
110 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx);
114 Expr = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx);
122 Expr = MCConstantExpr::create(SymSize, Ctx);
125 Expr = MCSymbolRefExpr::create(Sym, Ctx)
    [all...]
  /external/clang/lib/Sema/
SemaFixItUtils.cpp 51 bool ConversionFixItGenerator::tryToFixConversion(const Expr *FullExpr,
66 const Expr* Expr = FullExpr->IgnoreImpCasts();
69 if (isa<ArraySubscriptExpr>(Expr) ||
70 isa<CallExpr>(Expr) ||
71 isa<DeclRefExpr>(Expr) ||
72 isa<CastExpr>(Expr) ||
73 isa<CXXNewExpr>(Expr) ||
74 isa<CXXConstructExpr>(Expr) ||
75 isa<CXXDeleteExpr>(Expr) ||
    [all...]
SemaExceptionSpec.cpp 17 #include "clang/AST/Expr.h"
332 assert(OldProto->getNoexceptExpr() != nullptr && "Expected non-null Expr");
797 bool Sema::CheckExceptionSpecCompatibility(Expr *From, QualType ToType) {
    [all...]
  /external/javassist/src/main/javassist/compiler/ast/
Expr.java 24 public class Expr extends ASTList implements TokenId {
33 Expr(int op, ASTree _head, ASTList _tail) {
38 Expr(int op, ASTree _head) {
43 public static Expr make(int op, ASTree oprand1, ASTree oprand2) {
44 return new Expr(op, oprand1, new ASTList(oprand2));
47 public static Expr make(int op, ASTree oprand1) {
48 return new Expr(op, oprand1);
57 public void setOprand1(ASTree expr) {
58 setLeft(expr);
63 public void setOprand2(ASTree expr) {
    [all...]
  /frameworks/compile/slang/
slang_rs_foreach_lowering.h 25 class Expr;
55 const clang::FunctionDecl* matchFunctionDesignator(clang::Expr* expr);
60 clang::Expr* CreateCalleeExprForInternalForEach();

Completed in 1127 milliseconds

1 2 3 4 5 6 7 8 91011>>