HomeSort by: relevance | last modified time | path
    Searched defs:Context (Results 1 - 25 of 312) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/apache2/llvm/dist/llvm/tools/llvm-split/
llvm-split.cpp 43 LLVMContext Context;
47 std::unique_ptr<Module> M = parseIRFile(InputFilename, Err, Context);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-modextract/
llvm-modextract.cpp 47 LLVMContext Context;
71 std::unique_ptr<Module> M = ExitOnErr(Ms[ModuleIndex].parseModule(Context));
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Context.cpp 1 //===--- Context.cpp - Context for the constexpr VM -------------*- C++ -*-===//
9 #include "Context.h"
25 Context::Context(ASTContext &Ctx) : Ctx(Ctx), P(new Program(*this)) {}
27 Context::~Context() {}
29 bool Context::isPotentialConstantExpr(State &Parent, const FunctionDecl *FD) {
49 bool Context::evaluateAsRValue(State &Parent, const Expr *E, APValue &Result) {
54 bool Context::evaluateAsInitializer(State &Parent, const VarDecl *VD
    [all...]
Context.h 1 //===--- Context.h - Context for the constexpr VM ---------------*- C++ -*-===//
9 // Defines the constexpr execution context.
11 // The execution context manages cached bytecode and the global context.
19 #include "Context.h"
38 class Context {
41 Context(ASTContext &Ctx);
44 ~Context();
55 /// Returns the AST context
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
DifferenceEngine.h 34 /// A RAII object for recording the current context.
35 struct Context {
36 Context(DifferenceEngine &Engine, Value *L, Value *R) : Engine(Engine) {
40 ~Context() {
llvm-diff.cpp 32 static std::unique_ptr<Module> readModule(LLVMContext &Context,
35 std::unique_ptr<Module> M = parseIRFile(Name, Diag, Context);
70 LLVMContext Context;
73 std::unique_ptr<Module> LModule = readModule(Context, LeftFilename);
74 std::unique_ptr<Module> RModule = readModule(Context, RightFilename);
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
EvaluatedExprVisitor.h 32 const ASTContext &Context;
40 explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
88 if (!CE->isUnevaluatedBuiltinCall(Context))
111 if (auto SubStmt = If->getNondiscardedCase(Context)) {
131 explicit EvaluatedExprVisitor(const ASTContext &Context)
132 : EvaluatedExprVisitorBase<std::add_pointer, ImplClass>(Context) {}
140 explicit ConstEvaluatedExprVisitor(const ASTContext &Context)
141 : EvaluatedExprVisitorBase<llvm::make_const_ptr, ImplClass>(Context) {}
    [all...]
PrettyDeclStackTrace.h 31 ASTContext &Context;
39 : Context(Ctx), TheDecl(D), Loc(Loc), Message(Msg) {}
  /src/external/apache2/llvm/dist/clang/lib/Index/
IndexingAction.cpp 102 void Initialize(ASTContext &Context) override {
103 IndexCtx->setASTContext(Context);
104 IndexCtx->getDataConsumer().initialize(Context);
182 static bool topLevelDeclVisitor(void *context, const Decl *D) {
183 IndexingContext &IndexCtx = *static_cast<IndexingContext*>(context);
  /src/external/apache2/llvm/dist/llvm/examples/ModuleMaker/
ModuleMaker.cpp 31 LLVMContext Context;
35 Module *M = new Module("test", Context);
39 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false);
47 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", F);
50 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2);
51 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3);
61 BB->getInstList().push_back(ReturnInst::Create(Context, Add));
  /src/external/apache2/llvm/dist/llvm/lib/AsmParser/
Parser.cpp 33 LLVMContext Context;
35 M ? M->getContext() : Context, Slots)
48 llvm::parseAssembly(MemoryBufferRef F, SMDiagnostic &Err, LLVMContext &Context,
52 std::make_unique<Module>(F.getBufferIdentifier(), Context);
62 LLVMContext &Context,
72 return parseAssembly(FileOrErr.get()->getMemBufferRef(), Err, Context, Slots);
77 LLVMContext &Context, SlotMapping *Slots,
81 std::make_unique<Module>(F.getBufferIdentifier(), Context);
94 LLVMContext &Context,
96 return ::parseAssemblyWithIndex(F, Err, Context, Slots
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/
AVRTargetStreamer.cpp 26 MCContext &Context = OS.getContext();
28 MCSymbol *DoCopyData = Context.getOrCreateSymbol("__do_copy_data");
29 MCSymbol *DoClearBss = Context.getOrCreateSymbol("__do_clear_bss");
  /src/external/apache2/llvm/dist/llvm/tools/llvm-as-fuzzer/
llvm-as-fuzzer.cpp 55 LLVMContext Context;
68 M = parseAssembly(MemBuf->getMemBufferRef(), Err, Context);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cat/
llvm-cat.cpp 55 LLVMContext Context;
75 std::unique_ptr<Module> M = parseIRFile(InputFilename, Err, Context);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/
llvm-reduce.cpp 115 LLVMContext Context;
117 parseInputFile(InputFilename, Context);
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
ExprMutationAnalyzer.h 25 ExprMutationAnalyzer(const Stmt &Stm, ASTContext &Context)
26 : Stm(Stm), Context(Context) {}
69 ASTContext &Context;
81 FunctionParmMutationAnalyzer(const FunctionDecl &Func, ASTContext &Context);
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/
AllTUsExecution.h 54 ExecutionContext *getExecutionContext() override { return &Context; };
67 ExecutionContext Context;
StandaloneExecution.h 67 ExecutionContext *getExecutionContext() override { return &Context; };
90 ExecutionContext Context;
  /src/external/apache2/llvm/dist/clang/lib/AST/
InheritViz.cpp 34 ASTContext& Context;
40 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out)
41 : Context(Context), Out(Out) { }
63 QualType CanonType = Context.getCanonicalType(Type);
96 QualType CanonBaseType = Context.getCanonicalType(Base.getType());
126 QualType CanonType = Context.getCanonicalType(Type);
136 void CXXRecordDecl::viewInheritance(ASTContext& Context) const {
137 QualType Self = Context.getTypeDeclType(this);
151 InheritanceHierarchyWriter Writer(Context, O)
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
reporter.cc 35 Context const &context) {
41 if (context.executable_name)
42 Out << "Running " << context.executable_name << "\n";
44 const CPUInfo &info = context.cpu_info;
80 const char *BenchmarkReporter::Context::executable_name;
82 BenchmarkReporter::Context::Context()
  /src/external/apache2/llvm/dist/llvm/examples/HowToUseJIT/
HowToUseJIT.cpp 65 LLVMContext Context;
68 std::unique_ptr<Module> Owner = std::make_unique<Module>("test", Context);
74 Function::Create(FunctionType::get(Type::getInt32Ty(Context),
75 {Type::getInt32Ty(Context)}, false),
80 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", Add1F);
105 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false),
109 BB = BasicBlock::Create(Context, "EntryBlock", FooF);
  /src/external/apache2/llvm/dist/llvm/examples/HowToUseLLJIT/
HowToUseLLJIT.cpp 42 auto Context = std::make_unique<LLVMContext>();
43 auto M = std::make_unique<Module>("test", *Context);
48 Function::Create(FunctionType::get(Type::getInt32Ty(*Context),
49 {Type::getInt32Ty(*Context)}, false),
54 BasicBlock *BB = BasicBlock::Create(*Context, "EntryBlock", Add1F);
74 return ThreadSafeModule(std::move(M), std::move(Context));
  /src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/
Demangle.h 92 /// Get the context name for a function. For "a::b::c", this function returns
123 void *Context;
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
MDBuilder.h 36 LLVMContext &Context;
39 MDBuilder(LLVMContext &context) : Context(context) {}
  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
ValueList.h 47 LLVMContext &Context;
55 : Context(C),

Completed in 31 milliseconds

1 2 3 4 5 6 7 8 91011>>