LLVM 20.0.0git
Namespaces | Macros | Functions | Variables
AssumeBundleBuilder.cpp File Reference
#include "llvm/Transforms/Utils/AssumeBundleBuilder.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AssumeBundleQueries.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/DebugCounter.h"
#include "llvm/Transforms/Utils/Local.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "assume-builder"
 

Functions

cl::opt< boolllvm::EnableKnowledgeRetention ("enable-knowledge-retention", cl::init(false), cl::Hidden, cl::desc("enable preservation of attributes throughout code transformation"))
 
 STATISTIC (NumAssumeBuilt, "Number of assume built by the assume builder")
 
 STATISTIC (NumBundlesInAssumes, "Total number of Bundles in the assume built")
 
 STATISTIC (NumAssumesMerged, "Number of assume merged by the assume simplify pass")
 
 STATISTIC (NumAssumesRemoved, "Number of assume removed by the assume simplify pass")
 
 DEBUG_COUNTER (BuildAssumeCounter, "assume-builder-counter", "Controls which assumes gets created")
 

Variables

cl::opt< boolllvm::ShouldPreserveAllAttributes ("assume-preserve-all", cl::init(false), cl::Hidden, cl::desc("enable preservation of all attrbitues. even those that are " "unlikely to be usefull"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "assume-builder"

Definition at line 40 of file AssumeBundleBuilder.cpp.

Function Documentation

◆ DEBUG_COUNTER()

DEBUG_COUNTER ( BuildAssumeCounter  ,
"assume-builder-counter"  ,
"Controls which assumes gets created"   
)

◆ STATISTIC() [1/4]

STATISTIC ( NumAssumeBuilt  ,
"Number of assume built by the assume builder"   
)

◆ STATISTIC() [2/4]

STATISTIC ( NumAssumesMerged  ,
"Number of assume merged by the assume simplify pass"   
)

◆ STATISTIC() [3/4]

STATISTIC ( NumAssumesRemoved  ,
"Number of assume removed by the assume simplify pass"   
)

◆ STATISTIC() [4/4]

STATISTIC ( NumBundlesInAssumes  ,
"Total number of Bundles in the assume built"   
)