Namespaces |
namespace | llvm |
| List of target independent CodeGen pass IDs.
|
Functions |
bool | llvm::ConstantFoldTerminator (BasicBlock *BB, bool DeleteDeadConditions=false, const TargetLibraryInfo *TLI=nullptr) |
bool | llvm::isInstructionTriviallyDead (Instruction *I, const TargetLibraryInfo *TLI=nullptr) |
bool | llvm::RecursivelyDeleteTriviallyDeadInstructions (Value *V, const TargetLibraryInfo *TLI=nullptr) |
bool | llvm::RecursivelyDeleteDeadPHINode (PHINode *PN, const TargetLibraryInfo *TLI=nullptr) |
bool | llvm::SimplifyInstructionsInBlock (BasicBlock *BB, const DataLayout *TD=nullptr, const TargetLibraryInfo *TLI=nullptr) |
void | llvm::RemovePredecessorAndSimplify (BasicBlock *BB, BasicBlock *Pred, DataLayout *TD=nullptr) |
void | llvm::MergeBasicBlockIntoOnlyPred (BasicBlock *BB, Pass *P=nullptr) |
bool | llvm::TryToSimplifyUncondBranchFromEmptyBlock (BasicBlock *BB) |
bool | llvm::EliminateDuplicatePHINodes (BasicBlock *BB) |
bool | llvm::SimplifyCFG (BasicBlock *BB, const TargetTransformInfo &TTI, const DataLayout *TD=nullptr, AssumptionTracker *AT=nullptr) |
bool | llvm::FlattenCFG (BasicBlock *BB, AliasAnalysis *AA=nullptr) |
bool | llvm::FoldBranchToCommonDest (BranchInst *BI, const DataLayout *DL=nullptr) |
AllocaInst * | llvm::DemoteRegToStack (Instruction &X, bool VolatileLoads=false, Instruction *AllocaPoint=nullptr) |
AllocaInst * | llvm::DemotePHIToStack (PHINode *P, Instruction *AllocaPoint=nullptr) |
unsigned | llvm::getOrEnforceKnownAlignment (Value *V, unsigned PrefAlign, const DataLayout *TD=nullptr, AssumptionTracker *AT=nullptr, const Instruction *CxtI=nullptr, const DominatorTree *DT=nullptr) |
static unsigned | llvm::getKnownAlignment (Value *V, const DataLayout *TD=nullptr, AssumptionTracker *AT=nullptr, const Instruction *CxtI=nullptr, const DominatorTree *DT=nullptr) |
| getKnownAlignment - Try to infer an alignment for the specified pointer.
|
template<typename IRBuilderTy > |
Value * | llvm::EmitGEPOffset (IRBuilderTy *Builder, const DataLayout &TD, User *GEP, bool NoAssumptions=false) |
bool | llvm::ConvertDebugDeclareToDebugValue (DbgDeclareInst *DDI, StoreInst *SI, DIBuilder &Builder) |
bool | llvm::ConvertDebugDeclareToDebugValue (DbgDeclareInst *DDI, LoadInst *LI, DIBuilder &Builder) |
bool | llvm::LowerDbgDeclare (Function &F) |
DbgDeclareInst * | llvm::FindAllocaDbgDeclare (Value *V) |
bool | llvm::replaceDbgDeclareForAlloca (AllocaInst *AI, Value *NewAllocaAddress, DIBuilder &Builder) |
bool | llvm::removeUnreachableBlocks (Function &F) |
| Remove all blocks that can not be reached from the function's entry.
|
void | llvm::combineMetadata (Instruction *K, const Instruction *J, ArrayRef< unsigned > KnownIDs) |
| Combine the metadata of two instructions so that K can replace J.
|