LLVM 17.0.0git
|
#include "llvm/Transforms/Utils/PredicateInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/IR/AssemblyAnnotationWriter.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PatternMatch.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/DebugCounter.h"
#include "llvm/Support/FormattedStream.h"
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | llvm::ValueDFS |
struct | llvm::ValueDFS_Compare |
class | llvm::PredicateInfoBuilder |
class | llvm::PredicateInfoAnnotatedWriter |
An assembly annotator class to print PredicateInfo information in comments. More... | |
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
Macros | |
#define | DEBUG_TYPE "predicateinfo" |
Enumerations | |
enum | llvm::LocalNum { llvm::LN_First , llvm::LN_Middle , llvm::LN_Last } |
Functions | |
INITIALIZE_PASS_BEGIN (PredicateInfoPrinterLegacyPass, "print-predicateinfo", "PredicateInfo Printer", false, false) INITIALIZE_PASS_END(PredicateInfoPrinterLegacyPass | |
print PredicateInfo static false cl::opt< bool > | VerifyPredicateInfo ("verify-predicateinfo", cl::init(false), cl::Hidden, cl::desc("Verify PredicateInfo in legacy printer pass.")) |
DEBUG_COUNTER (RenameCounter, "predicateinfo-rename", "Controls which variables are renamed with predicateinfo") | |
static bool | llvm::valueComesBefore (const Value *A, const Value *B) |
bool | llvm::shouldRename (Value *V) |
void | llvm::collectCmpOps (CmpInst *Comparison, SmallVectorImpl< Value * > &CmpOperands) |
static void | llvm::replaceCreatedSSACopys (PredicateInfo &PredInfo, Function &F) |
Variables | |
predicateinfo | |
print PredicateInfo | Printer |
print PredicateInfo | false |
static const unsigned | MaxCondsPerBranch = 8 |
#define DEBUG_TYPE "predicateinfo" |
Definition at line 32 of file PredicateInfo.cpp.
DEBUG_COUNTER | ( | RenameCounter | , |
"predicateinfo-rename" | , | ||
"Controls which variables are renamed with predicateinfo" | |||
) |
INITIALIZE_PASS_BEGIN | ( | PredicateInfoPrinterLegacyPass | , |
"print-predicateinfo" | , | ||
"PredicateInfo Printer" | , | ||
false | , | ||
false | |||
) |
|
static |
Referenced by llvm::PredicateInfoPrinterLegacyPass::runOnFunction().
print PredicateInfo false |
Definition at line 41 of file PredicateInfo.cpp.
Definition at line 50 of file PredicateInfo.cpp.
print predicateinfo |
Definition at line 40 of file PredicateInfo.cpp.
print PredicateInfo Printer |
Definition at line 41 of file PredicateInfo.cpp.