Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: lib/Bitcode/NaCl/Analysis/NaClBitcodeSubblockDist.cpp

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //===-- NaClBitcodeSubblockDist.cpp ---------------------------------------===//
2 // implements distribution maps for subblock values within an
3 // (externally specified) block.
4 //
5 // The LLVM Compiler Infrastructure
6 //
7 // This file is distributed under the University of Illinois Open Source
8 // License. See LICENSE.TXT for details.
9 //
10 //===----------------------------------------------------------------------===//
11
12 #include "llvm/Bitcode/NaCl/NaClBitcodeSubblockDist.h"
13 #include "llvm/Bitcode/NaCl/NaClBitcodeBlockDist.h"
14
15 using namespace llvm;
16
17 NaClBitcodeSubblockDistElement NaClBitcodeSubblockDist::DefaultSentinal;
18
19 NaClBitcodeSubblockDistElement::~NaClBitcodeSubblockDistElement() {}
20
21 NaClBitcodeDistElement *NaClBitcodeSubblockDistElement::
22 CreateElement(NaClBitcodeDistValue Value) const {
23 return new NaClBitcodeSubblockDistElement();
24 }
25
26 const char *NaClBitcodeSubblockDistElement::GetTitle() const {
27 return "Subblocks";
28 }
29
30 const char *NaClBitcodeSubblockDistElement::GetValueHeader() const {
31 return "Subblock";
32 }
33
34 void NaClBitcodeSubblockDistElement::
35 PrintRowValue(raw_ostream &Stream, NaClBitcodeDistValue Value,
36 const NaClBitcodeDist *Distribution) const {
37 Stream << NaClBitcodeBlockDist::GetName(Value);
38 }
39
40 NaClBitcodeSubblockDist::~NaClBitcodeSubblockDist() {}
OLDNEW
« no previous file with comments | « lib/Bitcode/NaCl/Analysis/NaClBitcodeSizeDist.cpp ('k') | lib/Bitcode/NaCl/Analysis/NaClBitcodeValueDist.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698