Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/llvm/dist/clang Mark files without clang-209886...
details: https://anonhg.NetBSD.org/src/rev/ffd58a821860
branches: trunk
changeset: 796403:ffd58a821860
user: joerg <joerg%NetBSD.org@localhost>
date: Sat May 31 22:40:30 2014 +0000
description:
Mark files without clang-209886 tag as dead.
diffstat:
external/bsd/llvm/dist/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h | 342 -
external/bsd/llvm/dist/clang/include/clang/Basic/OnDiskHashTable.h | 485 --
external/bsd/llvm/dist/clang/include/clang/Basic/OpenCL.h | 29 -
external/bsd/llvm/dist/clang/include/clang/Lex/CMakeLists.txt | 5 -
external/bsd/llvm/dist/clang/include/clang/Lex/Makefile | 13 -
external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftVBTables.cpp | 233 -
external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftVBTables.h | 129 -
external/bsd/llvm/dist/clang/lib/Frontend/Warnings.cpp | 203 -
external/bsd/llvm/dist/clang/lib/Headers/module.map | 156 -
external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.h | 146 -
external/bsd/llvm/dist/clang/lib/Sema/TargetAttributesSema.cpp | 295 -
external/bsd/llvm/dist/clang/lib/Sema/TargetAttributesSema.h | 27 -
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IdempotentOperationChecker.cpp | 736 ---
external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.h | 43 -
external/bsd/llvm/dist/clang/test/ARCMT/objcmt-deprecated-category.m | 48 -
external/bsd/llvm/dist/clang/test/ARCMT/objcmt-deprecated-category.m.result | 48 -
external/bsd/llvm/dist/clang/test/Analysis/idempotent-operations-limited-loops.c | 21 -
external/bsd/llvm/dist/clang/test/Analysis/idempotent-operations.c | 244 -
external/bsd/llvm/dist/clang/test/Analysis/idempotent-operations.cpp | 34 -
external/bsd/llvm/dist/clang/test/Analysis/idempotent-operations.m | 55 -
external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/generic-lambda-unimplemented-1y.cpp | 31 -
external/bsd/llvm/dist/clang/test/CodeGen/Inputs/instr-attribute.pgodata | 39 -
external/bsd/llvm/dist/clang/test/CodeGen/Inputs/instr-profile.pgodata | 134 -
external/bsd/llvm/dist/clang/test/CodeGen/a15.c | 5 -
external/bsd/llvm/dist/clang/test/CodeGen/a5.c | 5 -
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-arguments.c | 199 -
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-copy.c | 1416 -----
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-crypto.c | 94 -
external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-ld-sideeffect.c | 14 -
external/bsd/llvm/dist/clang/test/CodeGen/builtins-aarch64.c | 6 -
external/bsd/llvm/dist/clang/test/CodeGen/debug-dead-local-var.c | 15 -
external/bsd/llvm/dist/clang/test/CodeGen/debug-info-iv.c | 36 -
external/bsd/llvm/dist/clang/test/CodeGen/dllimport-dllexport.c | 22 -
external/bsd/llvm/dist/clang/test/CodeGen/instr-attribute.c | 47 -
external/bsd/llvm/dist/clang/test/CodeGen/instr-profile.c | 529 --
external/bsd/llvm/dist/clang/test/CodeGen/long-double-x86-nacl.c | 7 -
external/bsd/llvm/dist/clang/test/CodeGen/mips-target-data.c | 16 -
external/bsd/llvm/dist/clang/test/CodeGen/r5.c | 5 -
external/bsd/llvm/dist/clang/test/CodeGen/sparc-target-data.c | 5 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile-class.pgodata | 20 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile-throws.pgodata | 14 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/instr-profile.pgodata | 16 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-pubtypes.cpp | 16 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile-class.cpp | 82 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile-throws.cpp | 76 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/instr-profile.cpp | 76 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance.cpp | 579 --
external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-pr18967.cpp | 27 -
external/bsd/llvm/dist/clang/test/CodeGenCXX/unary-type-trait.cpp | 4 -
external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/instr-profile.profdata | 7 -
external/bsd/llvm/dist/clang/test/CodeGenObjC/instr-profile.m | 38 -
external/bsd/llvm/dist/clang/test/Driver/bounds-checking.c | 11 -
external/bsd/llvm/dist/clang/test/Driver/cfi.c | 9 -
external/bsd/llvm/dist/clang/test/Driver/darwin-eabi.c | 12 -
external/bsd/llvm/dist/clang/test/Driver/dwarf2-cfi-asm.c | 35 -
external/bsd/llvm/dist/clang/test/Driver/mips-cs-header-search.cpp | 257 -
external/bsd/llvm/dist/clang/test/Driver/mips-cs-ld.c | 288 -
external/bsd/llvm/dist/clang/test/Headers/carbon.c | 4 -
external/bsd/llvm/dist/clang/test/Headers/warn-sysheader.cpp | 33 -
external/bsd/llvm/dist/clang/test/Lexer/clang-keywords.cpp | 4 -
external/bsd/llvm/dist/clang/test/Lexer/cxx0x_keyword.cpp | 2 -
external/bsd/llvm/dist/clang/test/Lexer/gnu_keywords.c | 13 -
external/bsd/llvm/dist/clang/test/PCH/cocoa.m | 7 -
external/bsd/llvm/dist/clang/test/Preprocessor/macro-multiline.c.ignoreme | 8 -
external/bsd/llvm/dist/clang/test/Rewriter/dllimport-typedef.c | 17 -
external/bsd/llvm/dist/clang/test/Sema/alloc_size.c | 27 -
external/bsd/llvm/dist/clang/test/Sema/carbon.c | 4 -
external/bsd/llvm/dist/clang/test/Sema/dllimport-dllexport.c | 48 -
external/bsd/llvm/dist/clang/test/SemaCUDA/cuda.h | 20 -
external/bsd/llvm/dist/clang/test/SemaCXX/warn-func-as-bool.cpp | 40 -
external/bsd/llvm/dist/clang/test/SemaObjC/attr-ns-bridged.m | 15 -
external/bsd/llvm/dist/clang/test/SemaObjC/cocoa.m | 5 -
external/bsd/llvm/dist/clang/test/SemaObjC/unsued-backing-ivar-warning.m | 76 -
external/bsd/llvm/dist/clang/tools/libclang/RecursiveASTVisitor.h | 2384 ----------
external/bsd/llvm/dist/clang/utils/clangVisualizers.txt | 391 -
external/bsd/llvm/dist/clang/www/analyzer/images/tree/bullet.gif | Bin
external/bsd/llvm/dist/clang/www/analyzer/images/tree/minus.gif | Bin
external/bsd/llvm/dist/clang/www/analyzer/images/tree/plus.gif | Bin
external/bsd/llvm/dist/clang/www/analyzer/scripts/dbtree.js | 1 -
79 files changed, 0 insertions(+), 10583 deletions(-)
diffs (truncated from 10893 to 300 lines):
diff -r f71d6171b258 -r ffd58a821860 external/bsd/llvm/dist/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h
--- a/external/bsd/llvm/dist/clang/include/clang/Analysis/FlowSensitive/DataflowSolver.h Sat May 31 22:37:05 2014 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,342 +0,0 @@
-//===--- DataflowSolver.h - Skeleton Dataflow Analysis Code -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines skeleton code for implementing dataflow analyses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ANALYSES_DATAFLOW_SOLVER
-#define LLVM_CLANG_ANALYSES_DATAFLOW_SOLVER
-
-#include "clang/Analysis/CFG.h"
-#include "clang/Analysis/FlowSensitive/DataflowValues.h"
-#include "clang/Analysis/ProgramPoint.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/SmallVector.h"
-#include <functional>
-
-namespace clang {
-
-//===----------------------------------------------------------------------===//
-/// DataflowWorkListTy - Data structure representing the worklist used for
-/// dataflow algorithms.
-//===----------------------------------------------------------------------===//
-
-class DataflowWorkListTy {
- llvm::DenseMap<const CFGBlock*, unsigned char> BlockSet;
- SmallVector<const CFGBlock *, 10> BlockQueue;
-public:
- /// enqueue - Add a block to the worklist. Blocks already on the
- /// worklist are not added a second time.
- void enqueue(const CFGBlock *B) {
- unsigned char &x = BlockSet[B];
- if (x == 1)
- return;
- x = 1;
- BlockQueue.push_back(B);
- }
-
- /// dequeue - Remove a block from the worklist.
- const CFGBlock *dequeue() {
- assert(!BlockQueue.empty());
- const CFGBlock *B = BlockQueue.pop_back_val();
- BlockSet[B] = 0;
- return B;
- }
-
- /// isEmpty - Return true if the worklist is empty.
- bool isEmpty() const { return BlockQueue.empty(); }
-};
-
-//===----------------------------------------------------------------------===//
-// BlockItrTraits - Traits classes that allow transparent iteration
-// over successors/predecessors of a block depending on the direction
-// of our dataflow analysis.
-//===----------------------------------------------------------------------===//
-
-namespace dataflow {
-template<typename Tag> struct ItrTraits {};
-
-template <> struct ItrTraits<forward_analysis_tag> {
- typedef CFGBlock::const_pred_iterator PrevBItr;
- typedef CFGBlock::const_succ_iterator NextBItr;
- typedef CFGBlock::const_iterator StmtItr;
-
- static PrevBItr PrevBegin(const CFGBlock *B) { return B->pred_begin(); }
- static PrevBItr PrevEnd(const CFGBlock *B) { return B->pred_end(); }
-
- static NextBItr NextBegin(const CFGBlock *B) { return B->succ_begin(); }
- static NextBItr NextEnd(const CFGBlock *B) { return B->succ_end(); }
-
- static StmtItr StmtBegin(const CFGBlock *B) { return B->begin(); }
- static StmtItr StmtEnd(const CFGBlock *B) { return B->end(); }
-
- static BlockEdge PrevEdge(const CFGBlock *B, const CFGBlock *Prev) {
- return BlockEdge(Prev, B, 0);
- }
-
- static BlockEdge NextEdge(const CFGBlock *B, const CFGBlock *Next) {
- return BlockEdge(B, Next, 0);
- }
-};
-
-template <> struct ItrTraits<backward_analysis_tag> {
- typedef CFGBlock::const_succ_iterator PrevBItr;
- typedef CFGBlock::const_pred_iterator NextBItr;
- typedef CFGBlock::const_reverse_iterator StmtItr;
-
- static PrevBItr PrevBegin(const CFGBlock *B) { return B->succ_begin(); }
- static PrevBItr PrevEnd(const CFGBlock *B) { return B->succ_end(); }
-
- static NextBItr NextBegin(const CFGBlock *B) { return B->pred_begin(); }
- static NextBItr NextEnd(const CFGBlock *B) { return B->pred_end(); }
-
- static StmtItr StmtBegin(const CFGBlock *B) { return B->rbegin(); }
- static StmtItr StmtEnd(const CFGBlock *B) { return B->rend(); }
-
- static BlockEdge PrevEdge(const CFGBlock *B, const CFGBlock *Prev) {
- return BlockEdge(B, Prev, 0);
- }
-
- static BlockEdge NextEdge(const CFGBlock *B, const CFGBlock *Next) {
- return BlockEdge(Next, B, 0);
- }
-};
-} // end namespace dataflow
-
-//===----------------------------------------------------------------------===//
-/// DataflowSolverTy - Generic dataflow solver.
-//===----------------------------------------------------------------------===//
-
-template <typename _DFValuesTy, // Usually a subclass of DataflowValues
- typename _TransferFuncsTy,
- typename _MergeOperatorTy,
- typename _Equal = std::equal_to<typename _DFValuesTy::ValTy> >
-class DataflowSolver {
-
- //===----------------------------------------------------===//
- // Type declarations.
- //===----------------------------------------------------===//
-
-public:
- typedef _DFValuesTy DFValuesTy;
- typedef _TransferFuncsTy TransferFuncsTy;
- typedef _MergeOperatorTy MergeOperatorTy;
-
- typedef typename _DFValuesTy::AnalysisDirTag AnalysisDirTag;
- typedef typename _DFValuesTy::ValTy ValTy;
- typedef typename _DFValuesTy::EdgeDataMapTy EdgeDataMapTy;
- typedef typename _DFValuesTy::BlockDataMapTy BlockDataMapTy;
-
- typedef dataflow::ItrTraits<AnalysisDirTag> ItrTraits;
- typedef typename ItrTraits::NextBItr NextBItr;
- typedef typename ItrTraits::PrevBItr PrevBItr;
- typedef typename ItrTraits::StmtItr StmtItr;
-
- //===----------------------------------------------------===//
- // External interface: constructing and running the solver.
- //===----------------------------------------------------===//
-
-public:
- DataflowSolver(DFValuesTy& d) : D(d), TF(d.getAnalysisData()) {}
- ~DataflowSolver() {}
-
- /// runOnCFG - Computes dataflow values for all blocks in a CFG.
- void runOnCFG(CFG& cfg, bool recordStmtValues = false) {
- // Set initial dataflow values and boundary conditions.
- D.InitializeValues(cfg);
- // Solve the dataflow equations. This will populate D.EdgeDataMap
- // with dataflow values.
- SolveDataflowEquations(cfg, recordStmtValues);
- }
-
- /// runOnBlock - Computes dataflow values for a given block. This
- /// should usually be invoked only after previously computing
- /// dataflow values using runOnCFG, as runOnBlock is intended to
- /// only be used for querying the dataflow values within a block
- /// with and Observer object.
- void runOnBlock(const CFGBlock *B, bool recordStmtValues) {
- BlockDataMapTy& M = D.getBlockDataMap();
- typename BlockDataMapTy::iterator I = M.find(B);
-
- if (I != M.end()) {
- TF.getVal().copyValues(I->second);
- ProcessBlock(B, recordStmtValues, AnalysisDirTag());
- }
- }
-
- void runOnBlock(const CFGBlock &B, bool recordStmtValues) {
- runOnBlock(&B, recordStmtValues);
- }
- void runOnBlock(CFG::iterator &I, bool recordStmtValues) {
- runOnBlock(*I, recordStmtValues);
- }
- void runOnBlock(CFG::const_iterator &I, bool recordStmtValues) {
- runOnBlock(*I, recordStmtValues);
- }
-
- void runOnAllBlocks(const CFG& cfg, bool recordStmtValues = false) {
- for (CFG::const_iterator I=cfg.begin(), E=cfg.end(); I!=E; ++I)
- runOnBlock(I, recordStmtValues);
- }
-
- //===----------------------------------------------------===//
- // Internal solver logic.
- //===----------------------------------------------------===//
-
-private:
-
- /// SolveDataflowEquations - Perform the actual worklist algorithm
- /// to compute dataflow values.
- void SolveDataflowEquations(CFG& cfg, bool recordStmtValues) {
- EnqueueBlocksOnWorklist(cfg, AnalysisDirTag());
-
- while (!WorkList.isEmpty()) {
- const CFGBlock *B = WorkList.dequeue();
- ProcessMerge(cfg, B);
- ProcessBlock(B, recordStmtValues, AnalysisDirTag());
- UpdateEdges(cfg, B, TF.getVal());
- }
- }
-
- void EnqueueBlocksOnWorklist(CFG &cfg, dataflow::forward_analysis_tag) {
- // Enqueue all blocks to ensure the dataflow values are computed
- // for every block. Not all blocks are guaranteed to reach the exit block.
- for (CFG::iterator I=cfg.begin(), E=cfg.end(); I!=E; ++I)
- WorkList.enqueue(&**I);
- }
-
- void EnqueueBlocksOnWorklist(CFG &cfg, dataflow::backward_analysis_tag) {
- // Enqueue all blocks to ensure the dataflow values are computed
- // for every block. Not all blocks are guaranteed to reach the exit block.
- // Enqueue in reverse order since that will more likely match with
- // the order they should ideally processed by the dataflow algorithm.
- for (CFG::reverse_iterator I=cfg.rbegin(), E=cfg.rend(); I!=E; ++I)
- WorkList.enqueue(&**I);
- }
-
- void ProcessMerge(CFG& cfg, const CFGBlock *B) {
- ValTy& V = TF.getVal();
- TF.SetTopValue(V);
-
- // Merge dataflow values from all predecessors of this block.
- MergeOperatorTy Merge;
-
- EdgeDataMapTy& M = D.getEdgeDataMap();
- bool firstMerge = true;
- bool noEdges = true;
- for (PrevBItr I=ItrTraits::PrevBegin(B),E=ItrTraits::PrevEnd(B); I!=E; ++I){
-
- CFGBlock *PrevBlk = *I;
-
- if (!PrevBlk)
- continue;
-
- typename EdgeDataMapTy::iterator EI =
- M.find(ItrTraits::PrevEdge(B, PrevBlk));
-
- if (EI != M.end()) {
- noEdges = false;
- if (firstMerge) {
- firstMerge = false;
- V.copyValues(EI->second);
- }
- else
- Merge(V, EI->second);
- }
- }
-
- bool isInitialized = true;
- typename BlockDataMapTy::iterator BI = D.getBlockDataMap().find(B);
- if(BI == D.getBlockDataMap().end()) {
- isInitialized = false;
- BI = D.getBlockDataMap().insert( std::make_pair(B,ValTy()) ).first;
- }
- // If no edges have been found, it means this is the first time the solver
- // has been called on block B, we copy the initialization values (if any)
- // as current value for V (which will be used as edge data)
- if(noEdges && isInitialized)
- Merge(V, BI->second);
-
- // Set the data for the block.
- BI->second.copyValues(V);
- }
-
- /// ProcessBlock - Process the transfer functions for a given block.
- void ProcessBlock(const CFGBlock *B, bool recordStmtValues,
- dataflow::forward_analysis_tag) {
-
- TF.setCurrentBlock(B);
-
- for (StmtItr I=ItrTraits::StmtBegin(B), E=ItrTraits::StmtEnd(B); I!=E;++I) {
- CFGElement El = *I;
- if (const CFGStmt *S = El.getAs<CFGStmt>())
- ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag());
- }
-
- TF.VisitTerminator(const_cast<CFGBlock*>(B));
- }
-
- void ProcessBlock(const CFGBlock *B, bool recordStmtValues,
- dataflow::backward_analysis_tag) {
-
- TF.setCurrentBlock(B);
-
- TF.VisitTerminator(const_cast<CFGBlock*>(B));
-
- for (StmtItr I=ItrTraits::StmtBegin(B), E=ItrTraits::StmtEnd(B); I!=E;++I) {
- CFGElement El = *I;
- if (const CFGStmt *S = El.getAs<CFGStmt>())
- ProcessStmt(S->getStmt(), recordStmtValues, AnalysisDirTag());
Home |
Main Index |
Thread Index |
Old Index