HomeSort by: relevance | last modified time | path
    Searched refs:CFG (Results 1 - 25 of 58) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
CFGReachabilityAnalysis.h 11 // is reachable within the CFG.
23 class CFG;
39 CFGReverseBlockReachabilityAnalysis(const CFG &cfg);
PostOrderCFGView.h 1 //===- PostOrderCFGView.h - Post order view of CFG blocks -------*- C++ -*-===//
9 // This file implements post order view of the blocks in a CFG.
17 #include "clang/Analysis/CFG.h"
47 CFGBlockSet(const CFG *G) : VisitedBlockIDs(G->getNumBlockIDs(), false) {}
73 using po_iterator = llvm::po_iterator<const CFG *, CFGBlockSet, true>;
85 PostOrderCFGView(const CFG *cfg);
UninitializedValues.h 23 class CFG;
128 void runUninitializedVariablesAnalysis(const DeclContext &dc, const CFG &cfg,
Dominators.h 1 //- Dominators.h - Implementation of dominators tree for Clang CFG -*- C++ -*-//
17 #include "clang/Analysis/CFG.h"
40 /// Dominator tree builder for Clang's CFG based on llvm::DominatorTreeBase.
50 CFGDominatorTreeImpl(CFG *cfg) {
51 buildDominatorTree(cfg);
58 CFG *getCFG() { return cfg; }
86 /// Builds the dominator tree for a given CFG.
87 void buildDominatorTree(CFG *cfg)
178 CFG *cfg; member in class:clang::CFGDominatorTreeImpl
255 CFG *cfg = PostDomTree.getCFG(); local
    [all...]
CalledOnceCheck.h 21 class CFG;
109 /// Check given CFG for 'called once' parameter violations.
LiveVariables.h 22 class CFG;
72 /// Compute the liveness information for a given CFG.
ThreadSafetyCommon.h 13 // * Generalize clang CFG visitors.
14 // * Conversion of the clang CFG to SSA form.
30 #include "clang/Analysis/CFG.h"
97 // This class defines the interface of a clang CFG Visitor.
101 // Enter the CFG for Decl D, and perform any initial setup operations.
102 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First) {}
140 // Leave the CFG, and perform any final cleanup operations.
144 // Walks the clang CFG, and invokes methods on a given CFGVisitor.
150 // if there are multiple passes over the CFG
    [all...]
  /src/sys/arch/hpc/stand/dspgen/
gen_template.sh 91 CFG="%%% NAME %%% - $ARCH_CFG"
92 echo "!MESSAGE \"$CFG $DEBUG_VER\" (\"$ARCH_CFG $PROJECTTYPE\")" >> $TEMPLATE
93 echo "!MESSAGE \"$CFG $RELEASE_VER\" (\"$ARCH_CFG $PROJECTTYPE\")" >> $TEMPLATE
108 CFG="%%% NAME %%% - $ARCH_CFG"
109 echo "!IF \"\$(CFG)\" == \"$CFG $DEBUG_VER\"" >> $TEMPLATE
120 echo "!IF \"\$(CFG)\" == \"$CFG $RELEASE_VER\"" >> $TEMPLATE
142 CFG="%%% NAME %%% - $ARCH_CFG"
143 echo "# Name \"$CFG $DEBUG_VER\"" >> $TEMPLAT
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/FlowSensitive/
DataflowWorklist.h 16 #include "clang/Analysis/CFG.h"
30 DataflowWorklistBase(const CFG &Cfg, PostOrderCFGView *POV, Comp C)
31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), POV(POV), WorkList(C) {}
64 ForwardDataflowWorklist(const CFG &Cfg, AnalysisDeclContext &Ctx)
66 Cfg, Ctx.getAnalysis<PostOrderCFGView>(),
81 BackwardDataflowWorklist(const CFG &Cfg, AnalysisDeclContext &Ctx)
83 Cfg, Ctx.getAnalysis<PostOrderCFGView>()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Analysis/
CFGStmtMap.h 17 #include "clang/Analysis/CFG.h"
33 /// Returns a new CFGMap for the given CFG. It is the caller's
35 static CFGStmtMap *Build(CFG* C, ParentMap *PM);
AnalysisDeclContext.h 22 #include "clang/Analysis/CFG.h"
79 std::unique_ptr<CFG> cfg, completeCFG; member in class:clang::AnalysisDeclContext
82 CFG::BuildOptions cfgBuildOptions;
83 CFG::BuildOptions::ForcedBlkExprs *forcedBlkExprs = nullptr;
100 const CFG::BuildOptions &BuildOptions);
110 CFG::BuildOptions &getCFGBuildOptions() { return cfgBuildOptions; }
112 const CFG::BuildOptions &getCFGBuildOptions() const {
118 /// can appear to be dead in the CFG, analysis passes must cope with that.
152 CFG *getCFG()
    [all...]
CFG.h 1 //===- CFG.h - Classes for representing and building CFGs -------*- C++ -*-===//
9 // This file defines the CFG and CFGBuilder classes for representing and
41 class CFG;
155 /// this is only used by the analyzer's CFG.
183 /// analyzer's CFG.
266 /// This element is is only produced when building the CFG for the static
267 /// analyzer and hidden behind the 'cfg-loopexit' analyzer config flag.
550 /// Represents a single basic block in a source-level CFG.
782 /// A numerical ID assigned to a CFGBlock during construction of the CFG.
786 /// This class represents a potential adjacent block in the CFG. It encode
    [all...]
  /src/external/gpl2/xcvs/dist/diff/
libdiff.mak 2 !IF "$(CFG)" == ""
3 CFG=libdiff - Win32 Debug
7 !IF "$(CFG)" != "libdiff - Win32 Release" && "$(CFG)" != "libdiff - Win32 Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
10 !MESSAGE by defining the macro CFG on the command line. For example:
12 !MESSAGE NMAKE /f "libdiff.mak" CFG="libdiff - Win32 Debug"
28 !IF "$(CFG)" == "libdiff - Win32 Release"
131 !ELSEIF "$(CFG)" == "libdiff - Win32 Debug"
246 !IF "$(CFG)" == "libdiff - Win32 Release" || "$(CFG)" == "libdiff - Win32 Debug
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
PostOrderCFGView.cpp 1 //===- PostOrderCFGView.cpp - Post order view of CFG blocks ---------------===//
9 // This file implements post order view of the blocks in a CFG.
15 #include "clang/Analysis/CFG.h"
21 PostOrderCFGView::PostOrderCFGView(const CFG *cfg) {
22 Blocks.reserve(cfg->getNumBlockIDs());
23 CFGBlockSet BSet(cfg);
25 for (po_iterator I = po_iterator::begin(cfg, BSet),
26 E = po_iterator::end(cfg, BSet); I != E; ++I) {
34 const CFG *cfg = ctx.getCFG() local
    [all...]
CFGStmtMap.cpp 16 #include "clang/Analysis/CFG.h"
77 CFGStmtMap *CFGStmtMap::Build(CFG *C, ParentMap *PM) {
85 for (CFG::iterator I = C->begin(), E = C->end(); I != E; ++I)
AnalysisDeclContext.cpp 30 #include "clang/Analysis/CFG.h"
57 const CFG::BuildOptions &Options)
182 forcedBlkExprs = new CFG::BuildOptions::ForcedBlkExprs();
194 CFG::BuildOptions::ForcedBlkExprs::const_iterator itr =
200 /// Add each synthetic statement in the CFG to the parent map, using the
202 static void addParentsForSyntheticStmts(const CFG *TheCFG, ParentMap &PM) {
206 for (CFG::synthetic_stmt_iterator I = TheCFG->synthetic_stmt_begin(),
213 CFG *AnalysisDeclContext::getCFG() {
218 cfg = CFG::buildCFG(D, getBody(), &D->getASTContext(), cfgBuildOptions)
    [all...]
CFGReachabilityAnalysis.cpp 11 // is reachable within the CFG.
16 #include "clang/Analysis/CFG.h"
23 const CFG &cfg)
24 : analyzed(cfg.getNumBlockIDs(), false) {}
  /src/external/apache2/llvm/lib/libclangAnalysis/
Makefile 13 CFG.cpp \
  /src/sys/arch/mips/bonito/
bonitoreg.h 408 #define BONITO_PCIMEMBASECFG_SIZE(WIN,CFG) (((((~(CFG)) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK)) << (BONITO_PCIMEMBASECFG_ASHIFT - BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT)) | BONITO_PCIMEMBASECFG_AMASK)
410 #define BONITO_PCIMEMBASECFG_ADDRMASK(WIN,CFG) ((((CFG) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK) >> BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT) << BONITO_PCIMEMBASECFG_ASHIFT)
411 #define BONITO_PCIMEMBASECFG_ADDRMASK(WIN,CFG) ((((CFG) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK) >> BONITO_PCIMEMBASECFG_MEMBASE##WIN##_MASK_SHIFT) << BONITO_PCIMEMBASECFG_ASHIFT)
412 #define BONITO_PCIMEMBASECFG_ADDRTRANS(WIN,CFG) ((((CFG) & BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS) >> BONITO_PCIMEMBASECFG_MEMBASE##WIN##_TRANS_SHIFT) << BONITO_PCIMEMBASECFG_ASHIFT)
414 #define BONITO_PCITOPHYS(WIN,ADDR,CFG) ( \
415 (((ADDR) & (~(BONITO_PCIMEMBASECFG_MASK))) & (~(BONITO_PCIMEMBASECFG_ADDRMASK(WIN,CFG)))) | \
    [all...]
  /src/external/gpl2/xcvs/dist/lib/
libcvs.mak 2 !IF "$(CFG)" == ""
3 CFG=libcvs - Win32 Debug
7 !IF "$(CFG)" != "libcvs - Win32 Release" && "$(CFG)" != "libcvs - Win32 Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
10 !MESSAGE by defining the macro CFG on the command line. For example:
12 !MESSAGE NMAKE /f "libcvs.mak" CFG="libcvs - Win32 Debug"
28 !IF "$(CFG)" == "libcvs - Win32 Release"
211 !ELSEIF "$(CFG)" == "libcvs - Win32 Debug"
403 !IF "$(CFG)" == "libcvs - Win32 Release" || "$(CFG)" == "libcvs - Win32 Debug
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
VPlan.cpp 29 #include "llvm/IR/CFG.h"
250 VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG) {
253 BasicBlock *PrevBB = CFG.PrevBB;
255 PrevBB->getParent(), CFG.LastBB);
262 BasicBlock *PredBB = CFG.VPBB2IRBB[PredVPBB];
273 CFG.VPBBsToFix.push_back(PredVPBB);
299 VPBasicBlock *PrevVPBB = State->CFG.PrevVPBB;
301 BasicBlock *NewBB = State->CFG.PrevBB; // Reuse it if possible.
316 NewBB = createEmptyBasicBlock(State->CFG);
318 // Temporarily terminate with unreachable until CFG is rewired
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/
parseoptions.d 35 * initialize members of struct CFG from rt_config options
42 bool initConfigOptions(CFG)(ref CFG cfg, string cfgname)
46 if (!parseOptions(cfg, opt))
55 * initialize members of struct CFG from a string of sub-options.
70 bool parseOptions(CFG)(ref CFG cfg, string opt)
72 static if (is(typeof(__traits(getMember, CFG, "errorName")))
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Passes/
StandardInstrumentations.h 118 // CFG is a map BB -> {(Succ, Multiplicity)}, where BB is a non-leaf basic
121 // unordered the order of successors is not tracked by the CFG. In other words
123 // reporting a CFG change. CFG can be guarded by basic block tracking pointers
125 // then the CFG is treated poisoned and no block pointer of the Graph is used.
126 struct CFG {
130 CFG(const Function *F, bool TrackBBLifetime);
132 bool operator==(const CFG &G) const {
142 static void printDiff(raw_ostream &out, const CFG &Before,
143 const CFG &After)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
AnalyzerStatsChecker.cpp 43 const CFG *C = nullptr;
68 // Get the CFG and the Decl of this block.
74 for (CFG::const_iterator I = C->begin(); I != C->end(); ++I) {
DeadStoresChecker.cpp 69 const CFG &cfg; member in class:__anon3323::ReachableCode
72 ReachableCode(const CFG &cfg)
73 : cfg(cfg), reachable(cfg.getNumBlockIDs(), false) {}
84 if (!cfg.getNumBlockIDs())
88 worklist.push_back(&cfg.getEntry());
134 const CFG &cfg member in class:__anon3324::DeadStoreObs
    [all...]

Completed in 28 milliseconds

1 2 3