| /src/external/apache2/llvm/dist/clang/lib/Tooling/ |
| FixIt.cpp | 21 StringRef getText(CharSourceRange Range, const ASTContext &Context) { 22 return Lexer::getSourceText(Range, Context.getSourceManager(), 23 Context.getLangOpts());
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| Z3Solver.cpp | 43 void Z3ErrorHandler(Z3_context Context, Z3_error_code Error) { 45 llvm::Twine(Z3_get_error_msg(Context, Error))); 48 /// Wrapper for Z3 context 51 Z3_context Context; 54 Context = Z3_mk_context_rc(Z3Config().Config); 55 // The error function is set here because the context is the first object 57 Z3_set_error_handler(Context, Z3ErrorHandler); 61 Z3_del_context(Context); 62 Context = nullptr; 70 Z3Context &Context; [all...] |
| BinaryStreamError.cpp | 19 BinaryStreamError::BinaryStreamError(StringRef Context) 20 : BinaryStreamError(stream_error_code::unspecified, Context) {} 22 BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) 43 if (!Context.empty()) { 45 ErrMsg += Context;
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| DataCollection.cpp | 19 ASTContext &Context, SourceLocation Loc) { 20 MacroStack << Lexer::getImmediateMacroName(Loc, Context.getSourceManager(), 21 Context.getLangOpts()); 33 std::string getMacroStack(SourceLocation Loc, ASTContext &Context) { 36 SourceManager &SM = Context.getSourceManager(); 41 printMacroName(MacroStackStream, Context, Loc);
|
| ASTStructuralEquivalence.cpp | 41 // static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 51 // IsStructurallyEquivalent(StructuralEquivalenceContext &Context, Decl *D1, 97 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 99 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 101 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 104 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 110 static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, 125 return IsStructurallyEquivalent(Context, Name1.getCXXNameType(), 130 Context, Name1.getCXXDeductionGuideTemplate()->getDeclName(), 133 return IsStructurallyEquivalent(Context, [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Transformer/ |
| SourceCode.h | 27 ASTContext &Context); 34 ASTContext &Context) { 36 Next, Context); 44 CharSourceRange getAssociatedRange(const Decl &D, ASTContext &Context); 47 StringRef getText(CharSourceRange Range, const ASTContext &Context); 51 StringRef getText(const T &Node, const ASTContext &Context) { 53 Context); 70 /// getText(S1, Context) = "if (!x) return foo()" 71 /// getExtendedText(S1, tok::TokenKind::semi, Context) 73 /// getExtendedText(*S1.getThen(), tok::TokenKind::semi, Context) [all...] |
| SourceCodeBuilders.h | 32 /// conservative because it lacks information about the target context. 54 const ASTContext &Context); 59 const ASTContext &Context); 64 const ASTContext &Context); 72 llvm::Optional<std::string> buildDot(const Expr &E, const ASTContext &Context); 81 const ASTContext &Context);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ |
| LinkAllIR.h | 43 llvm::LLVMContext Context; 44 (void)new llvm::Module("", Context); 45 (void)new llvm::UnreachableInst(Context);
|
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| ValueTypes.cpp | 19 LLVMContext &Context = LLVMTy->getContext(); 20 return getIntegerVT(Context, getSizeInBits()); 25 LLVMContext &Context = LLVMTy->getContext(); 26 EVT IntTy = getIntegerVT(Context, getScalarSizeInBits()); 27 return getVectorVT(Context, IntTy, getVectorNumElements(), 33 LLVMContext &Context = LLVMTy->getContext(); 34 return getVectorVT(Context, EltVT, getVectorElementCount()); 37 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { 39 VT.LLVMTy = IntegerType::get(Context, BitWidth); 44 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements [all...] |
| /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/clang/lib/Tooling/Refactoring/ |
| ASTSelectionRequirements.cpp | 16 ASTSelectionRequirement::evaluate(RefactoringRuleContext &Context) const { 19 SourceRangeSelectionRequirement::evaluate(Context); 24 findSelectedASTNodes(Context.getASTContext(), *Range); 26 return Context.createDiagnosticError( 32 RefactoringRuleContext &Context) const { 35 ASTSelectionRequirement::evaluate(Context); 41 Context.getSelectionRange(), *StoredSelection); 43 return Context.createDiagnosticError( 44 Context.getSelectionRange().getBegin(), 46 Context.setASTSelection(std::move(StoredSelection)) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| USRFinder.cpp | 38 const ASTContext &Context) 39 : RecursiveSymbolVisitor(Context.getSourceManager(), 40 Context.getLangOpts()), 41 Point(Point), Context(Context) {} 65 (Context.getSourceManager().isBeforeInTranslationUnit(Start, 67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); 72 const ASTContext &Context; 77 const NamedDecl *getNamedDeclAt(const ASTContext &Context, 79 const SourceManager &SM = Context.getSourceManager() [all...] |
| /src/external/apache2/llvm/dist/llvm/examples/Fibonacci/ |
| fibonacci.cpp | 51 static Function *CreateFibFunction(Module *M, LLVMContext &Context) { 54 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context), 55 {Type::getInt32Ty(Context)}, false); 60 BasicBlock *BB = BasicBlock::Create(Context, "EntryBlock", FibF); 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); 64 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); 71 BasicBlock *RetBB = BasicBlock::Create(Context, "return", FibF); 73 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF); 80 ReturnInst::Create(Context, One, RetBB); 97 ReturnInst::Create(Context, Sum, RecurseBB) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| HexagonMCShuffler.h | 31 HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII, 33 : HexagonShuffler(Context, Fatal, MCII, STI) { 37 HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII, 40 : HexagonShuffler(Context, Fatal, MCII, STI) { 56 bool HexagonMCShuffle(MCContext &Context, bool Fatal, MCInstrInfo const &MCII, 58 bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII, 61 bool HexagonMCShuffle(MCContext &Context, MCInstrInfo const &MCII,
|
| /src/external/gpl3/gdb/dist/gdb/cli/ |
| cli-option.h | 129 RetType is the restored type of the variable, and Context is the 130 restored type of the context pointer. */ 131 template<typename RetType, typename Context> 135 using unerased_ftype = RetType *(Context *); 137 return fun ((Context *) ctx); 158 template<typename Context> 162 bool *(*get_var_address_cb_) (Context *), 172 var_address.boolean = detail::get_var_address<bool, Context>; 180 template<typename Context = bool> 181 struct flag_option_def : boolean_option_def<Context> [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Index/ |
| CommentToXML.h | 30 const ASTContext &Context); 34 const ASTContext &Context); 38 const ASTContext &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...] |
| /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/include/llvm/IRReader/ |
| IRReader.h | 39 SMDiagnostic &Err, LLVMContext &Context, 48 getLazyIRFileModule(StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, 56 MemoryBufferRef Buffer, SMDiagnostic &Err, LLVMContext &Context, 64 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context,
|
| /src/external/apache2/llvm/dist/llvm/lib/MC/ |
| MCNullStreamer.cpp | 20 MCNullStreamer(MCContext &Context) : MCStreamer(Context) {} 47 MCStreamer *llvm::createNullStreamer(MCContext &Context) { 48 return new MCNullStreamer(Context);
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| AMDGPUELFStreamer.cpp | 21 AMDGPUELFStreamer(const Triple &T, MCContext &Context, 25 : MCELFStreamer(Context, std::move(MAB), std::move(OW), 32 const Triple &T, MCContext &Context, std::unique_ptr<MCAsmBackend> MAB, 35 return new AMDGPUELFStreamer(T, Context, std::move(MAB), std::move(OW),
|
| /src/external/gpl3/gdb.old/dist/gdb/cli/ |
| cli-option.h | 129 RetType is the restored type of the variable, and Context is the 130 restored type of the context pointer. */ 131 template<typename RetType, typename Context> 135 using unerased_ftype = RetType *(Context *); 137 return fun ((Context *) ctx); 158 template<typename Context> 162 bool *(*get_var_address_cb_) (Context *), 172 var_address.boolean = detail::get_var_address<bool, Context>; 180 template<typename Context = bool> 181 struct flag_option_def : boolean_option_def<Context> [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/ |
| USRFinder.h | 32 // Given an AST context and a point, returns a NamedDecl identifying the symbol 34 const NamedDecl *getNamedDeclAt(const ASTContext &Context, 37 // Given an AST context and a fully qualified name, returns a NamedDecl 40 const NamedDecl *getNamedDeclFor(const ASTContext &Context,
|
| /src/external/apache2/llvm/dist/clang/tools/clang-refactor/ |
| ToolRefactoringResultConsumer.h | 24 void beginTU(ASTContext &Context) { 26 Diags = &Context.getDiagnostics();
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| FilterExp.h | 30 FilterExp (Expression *_expr, Expression::Context *_ctx, bool _noParFilter) : 51 Expression::Context *ctx;
|