aboutsummaryrefslogtreecommitdiff
path: root/third_party/subzero/src/IceCfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/subzero/src/IceCfg.h')
-rw-r--r--third_party/subzero/src/IceCfg.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/third_party/subzero/src/IceCfg.h b/third_party/subzero/src/IceCfg.h
index da676bee5..3729e3cbb 100644
--- a/third_party/subzero/src/IceCfg.h
+++ b/third_party/subzero/src/IceCfg.h
@@ -175,13 +175,8 @@ public:
bool hasComputedFrame() const;
bool getFocusedTiming() const { return FocusedTiming; }
void setFocusedTiming() { FocusedTiming = true; }
- uint32_t getConstantBlindingCookie() const { return ConstantBlindingCookie; }
/// @}
- /// Returns true if Var is a global variable that is used by the profiling
- /// code.
- static bool isProfileGlobal(const VariableDeclaration &Var);
-
/// Passes over the CFG.
void translate();
/// After the CFG is fully constructed, iterate over the nodes and compute the
@@ -202,7 +197,6 @@ public:
void deletePhis();
void advancedPhiLowering();
void reorderNodes();
- void shuffleNodes();
void localCSE(bool AssumeSSA);
void floatConstantCSE();
void shortCircuitJumps();
@@ -217,7 +211,6 @@ public:
/// replaced by a shufflevector instruction.
void materializeVectorShuffles();
void doArgLowering();
- void doNopInsertion();
void genCode();
void genFrame();
void generateLoopInfo();
@@ -282,15 +275,6 @@ private:
Cfg(GlobalContext *Ctx, uint32_t SequenceNumber);
- /// Adds a call to the ProfileSummary runtime function as the first
- /// instruction in this CFG's entry block.
- void addCallToProfileSummary();
-
- /// Iterates over the basic blocks in this CFG, adding profiling code to each
- /// one of them. It returns a list with all the globals that the profiling
- /// code needs to be defined.
- void profileBlocks();
-
void createNodeNameDeclaration(const std::string &NodeAsmName);
void
createBlockProfilingInfoDeclaration(const std::string &NodeAsmName,
@@ -316,7 +300,6 @@ private:
GlobalContext *Ctx;
uint32_t SequenceNumber; /// output order for emission
OptLevel OptimizationLevel = Opt_m1;
- uint32_t ConstantBlindingCookie = 0; /// cookie for constant blinding
VerboseMask VMask;
GlobalString FunctionName;
Type ReturnType = IceType_void;
@@ -338,7 +321,7 @@ private:
std::unique_ptr<TargetLowering> Target;
std::unique_ptr<VariablesMetadata> VMetadata;
std::unique_ptr<Assembler> TargetAssembler;
- /// Globals required by this CFG. Mostly used for the profiler's globals.
+ /// Globals required by this CFG.
std::unique_ptr<VariableDeclarationList> GlobalInits;
CfgVector<InstJumpTable *> JumpTables;
/// CurrentNode is maintained during dumping/emitting just for validating