mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Add new interfaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4647b7cd69
commit
a2631b0225
@ -47,6 +47,15 @@ bool ConstantFoldTerminator(BasicBlock *BB);
|
||||
Constant *ConstantFoldInstruction(Instruction *I);
|
||||
|
||||
|
||||
/// canConstantFoldCallTo - Return true if its even possible to fold a call to
|
||||
/// the specified function.
|
||||
bool canConstantFoldCallTo(Function *F);
|
||||
|
||||
/// ConstantFoldCall - Attempt to constant fold a call to the specified function
|
||||
/// with the specified arguments, returning null if unsuccessful.
|
||||
Constant *ConstantFoldCall(Function *F, const std::vector<Constant*> &Operands);
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Local dead code elimination...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user