HomeSort by: relevance | last modified time | path
    Searched defs:AST (Results 1 - 19 of 19) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/
RefactoringRuleContext.h 45 bool hasASTContext() const { return AST; }
48 assert(AST && "no AST!");
49 return *AST;
52 void setASTContext(ASTContext &Context) { AST = &Context; }
76 /// An optional AST for the translation unit on which a refactoring action
78 ASTContext *AST = nullptr;
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/
Extract.cpp 16 #include "clang/AST/ASTContext.h"
17 #include "clang/AST/DeclCXX.h"
18 #include "clang/AST/Expr.h"
19 #include "clang/AST/ExprObjC.h"
108 ASTContext &AST = Context.getASTContext();
109 SourceManager &SM = AST.getSourceManager();
110 const LangOptions &LangOpts = AST.getLangOpts();
116 QualType ReturnType = AST.VoidTy;
142 PrintingPolicy PP = AST.getPrintingPolicy();
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
Lookup.cpp 14 #include "clang/AST/ASTContext.h"
15 #include "clang/AST/Decl.h"
16 #include "clang/AST/DeclCXX.h"
17 #include "clang/AST/DeclarationName.h"
143 auto &AST = UseContext.getParentASTContext();
156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head)));
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ExternalASTMerger.h 1 //===--- ExternalASTMerger.h - Merging External AST Interface ---*- C++ -*-===//
16 #include "clang/AST/ASTImporter.h"
17 #include "clang/AST/ASTImporterSharedState.h"
18 #include "clang/AST/ExternalASTSource.h"
54 ASTContext *AST;
74 ASTContext *
84 ASTContext *
95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM,
97 : AST(AST), FM(FM), OM(OM), Temporary(Temporary), Merger(Merger) {
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/clang-import-test/
clang-import-test.cpp 9 #include "clang/AST/ASTContext.h"
10 #include "clang/AST/ASTImporter.h"
11 #include "clang/AST/DeclObjC.h"
12 #include "clang/AST/ExternalASTMerger.h"
71 static llvm::cl::opt<bool> DumpAST("dump-ast", llvm::cl::init(false),
72 llvm::cl::desc("Dump combined AST"));
221 auto AST = std::make_unique<ASTContext>(
224 AST->InitBuiltinTypes(CI.getTarget());
225 return AST;
282 std::unique_ptr<ASTContext> AST = init_convenience::BuildASTContext
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
Z3Solver.cpp 147 Z3_ast AST;
150 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) {
151 Z3_inc_ref(Context.Context, AST);
155 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) {
156 Z3_inc_ref(Context.Context, AST);
162 Z3_inc_ref(Context.Context, Other.AST);
163 Z3_dec_ref(Context.Context, AST);
164 AST = Other.AST;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARC/
ARCOptAddrMode.cpp 59 const ARCSubtarget *AST = nullptr;
459 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode));
491 AST = &MF.getSubtarget<ARCSubtarget>();
492 AII = AST->getInstrInfo();
  /src/external/apache2/llvm/dist/clang/lib/Tooling/
Tooling.cpp 584 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation(
590 if (!AST)
593 ASTs.push_back(std::move(AST));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
AliasSetTracker.h 112 AliasSet *getAliasSet(AliasSetTracker &AST) {
116 AS = OldAS->getForwardedTarget(AST);
118 OldAS->dropRef(AST);
188 void dropRef(AliasSetTracker &AST) {
191 removeFromTracker(AST);
214 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
285 AliasSet *getForwardedTarget(AliasSetTracker &AST) {
288 AliasSet *Dest = Forward->getForwardedTarget(AST);
291 Forward->dropRef(AST);
297 void removeFromTracker(AliasSetTracker &AST);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Demangle/
ItaniumDemangle.cpp 338 Node *AST = Parser.parse();
340 if (AST == nullptr)
346 AST->print(S);
378 // Demangle MangledName into an AST, storing it into this->RootNode.
MicrosoftDemangle.cpp 2346 SymbolNode *AST = D.parse(Name);
2369 AST->output(S, OF);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
FrontendAction.cpp 10 #include "clang/AST/ASTConsumer.h"
11 #include "clang/AST/ASTContext.h"
12 #include "clang/AST/DeclGroup.h"
138 std::unique_ptr<ASTUnit> AST) {
140 CurrentASTUnit = std::move(AST);
564 // If we're replaying the build of an AST file, import it and set up
569 // The AST unit populates its own diagnostics engine rather than ours.
578 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
582 if (!AST)
586 // are inherited from the AST unit
    [all...]
ASTUnit.cpp 14 #include "clang/AST/ASTConsumer.h"
15 #include "clang/AST/ASTContext.h"
16 #include "clang/AST/CommentCommandTraits.h"
17 #include "clang/AST/Decl.h"
18 #include "clang/AST/DeclBase.h"
19 #include "clang/AST/DeclCXX.h"
20 #include "clang/AST/DeclGroup.h"
21 #include "clang/AST/DeclObjC.h"
22 #include "clang/AST/DeclTemplate.h"
23 #include "clang/AST/DeclarationName.h
    [all...]
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexCodeCompletion.cpp 21 #include "clang/AST/Decl.h"
22 #include "clang/AST/DeclObjC.h"
23 #include "clang/AST/Type.h"
711 ASTUnit *AST = cxtu::getASTUnit(TU);
712 if (!AST)
719 ASTUnit::ConcurrencyCheck Check(*AST);
736 &AST->getFileManager());
758 AST->CodeComplete(complete_filename, complete_line, complete_column,
772 Results->CachedCompletionAllocator = AST->getCachedCompletionAllocator();
  /src/external/apache2/llvm/dist/llvm/lib/FileCheck/
FileCheckImpl.h 172 /// Base class representing the AST of a given expression.
185 /// AST or an error if evaluation fails.
188 /// \returns either the implicit format of this AST, a diagnostic against
189 /// \p SM if implicit formats of the AST's components conflict, or NoFormat
190 /// if the AST has no implicit format (e.g. AST is made up of a single
198 /// Class representing an unsigned literal in the AST of an expression.
239 /// Pointer to AST of the expression.
240 std::unique_ptr<ExpressionAST> AST;
246 /// Generic constructor for an expression represented by the given \p AST an
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
ASTDiff.cpp 1 //===- ASTDiff.cpp - AST differencing implementation-----------*- C++ -*- -===//
9 // This file contains definitons for the AST differencing interface.
14 #include "clang/AST/ParentMapContext.h"
15 #include "clang/AST/RecursiveASTVisitor.h"
111 /// Represents the AST of a TranslationUnit.
114 Impl(SyntaxTree *Parent, ASTContext &AST);
115 /// Constructs a tree from an AST node.
116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
121 ASTContext &AST)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
LoopAccessAnalysis.cpp 511 : TheLoop(TheLoop), AST(*AA), LI(LI), DepCands(DA),
517 AST.add(Ptr, LocationSize::beforeOrAfterPointer(), Loc.AATags);
526 AST.add(Ptr, LocationSize::beforeOrAfterPointer(), Loc.AATags);
596 AliasSetTracker AST;
714 for (auto &AS : AST) {
851 LLVM_DEBUG(dbgs() << " AST: "; AST.dump());
864 for (const auto &AS : AST) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMFrameLowering.cpp 360 const ARMSubtarget &AST =
362 const bool CanUseBFC = AST.hasV6T2Ops() || AST.hasV7Ops();
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LICM.cpp 183 AliasSetTracker *AST, MemorySSAUpdater *MSSAU);
485 LI, DT, TLI, L, /*AST*/nullptr, MSSAU.get(), &SafetyInfo, ORE);
1122 /// Return true if all of the alias sets within this AST are known not to
1521 AliasSetTracker *AST, MemorySSAUpdater *MSSAU) {
1522 if (AST)
1523 AST->deleteValue(&I);
1846 AliasSetTracker *AST;
1878 AliasSetTracker *ast, MemorySSAUpdater *MSSAU, LoopInfo &li,
1883 PredCache(PIC), AST(ast), MSSAU(MSSAU), LI(li), DL(std::move(dl))
    [all...]

Completed in 38 milliseconds