Home | History | Annotate | Download | only in src

Lines Matching defs:Cfg

11 /// \brief Implements the Cfg class.
37 Cfg::Cfg(GlobalContext *Ctx, uint32_t SequenceNumber)
58 Cfg::~Cfg() {
68 // Called in the initalizer list of Cfg's constructor to create the Allocator
71 ArenaAllocator *Cfg::createAllocator() {
83 std::string Cfg::getFunctionNameAndSize() const {
101 void Cfg::setError(const std::string &Message) {
106 CfgNode *Cfg::makeNode() {
113 void Cfg::swapNodes(NodeList &NewNodes) {
120 template <> Variable *Cfg::makeVariable<Variable>(Type Ty) {
134 void Cfg::addArg(Variable *Arg) {
139 void Cfg::addImplicitArg(Variable *Arg) {
146 bool Cfg::hasComputedFrame() const { return getTarget()->hasComputedFrame(); }
153 void Cfg::createNodeNameDeclaration(const std::string &NodeAsmName) {
164 void Cfg::createBlockProfilingInfoDeclaration(
180 void Cfg::profileBlocks() {
192 bool Cfg::isProfileGlobal(const VariableDeclaration &Var) {
198 void Cfg::addCallToProfileSummary() {
212 void Cfg::translate() {
239 dump("Initial CFG");
248 dump("Profiled CFG");
260 // Instrument the Cfg, e.g. with AddressSanitizer
263 dump("Instrumented CFG");
276 void Cfg::fixPhiNodes() {
292 void Cfg::computeInOutEdges() {
334 void Cfg::renumberInstructions() {
350 void Cfg::placePhiLoads() {
357 void Cfg::placePhiStores() {
363 void Cfg::deletePhis() {
369 void Cfg::advancedPhiLowering() {
416 void Cfg::reorderNodes() {
506 void Cfg::shuffleNodes() {
535 void Cfg::localCSE(bool AssumeSSA) {
671 void Cfg::loopInvariantCodeMotion() {
696 Cfg::findLoopInvariantInstructions(const CfgUnorderedSet<SizeT> &Body) {
756 void Cfg::shortCircuitJumps() {
819 void Cfg::floatConstantCSE() {
905 void Cfg::doArgLowering() {
910 void Cfg::sortAndCombineAllocas(CfgVector<InstAlloca *> &Allocas,
1002 void Cfg::processAllocas(bool SortAndCombine) {
1185 void Cfg::findRematerializable() {
1210 void Cfg::doAddressOpt() {
1240 bool findAllInserts(Cfg *Func, GlobalContext *Ctx, VariablesMetadata *VM,
1335 bool findAllExtracts(Cfg *Func, GlobalContext *Ctx, VariablesMetadata *VM,
1412 void Cfg::materializeVectorShuffles() {
1522 void Cfg::doNopInsertion() {
1532 void Cfg::genCode() {
1539 void Cfg::genFrame() {
1547 void Cfg::generateLoopInfo() {
1556 void Cfg::livenessLightweight() {
1563 void Cfg::liveness(LivenessMode Mode) {
1646 bool Cfg::validateLiveness() const {
1697 void Cfg::contractEmptyNodes() {
1710 void Cfg::doBranchOpt() {
1718 void Cfg::markNodesForSandboxing() {
1729 void Cfg::emitTextHeader(GlobalString Name, GlobalContext *Ctx,
1749 void Cfg::emitJumpTables() {
1767 void Cfg::emit() {
1802 void Cfg::emitIAS() {
1815 size_t Cfg::getTotalMemoryMB() const {
1822 size_t Cfg::getLivenessMemoryMB() const {
1831 void Cfg::dump(const char *Message) {