mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Comment-ify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80009 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -361,6 +361,9 @@ Function *CodeExtractor::constructFunction(const Values &inputs,
|
|||||||
return newFunction;
|
return newFunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// FindPhiPredForUseInBlock - Given a value and a basic block, find a PHI
|
||||||
|
/// that uses the value within the basic block, and return the predecessor
|
||||||
|
/// block associated with that use, or return 0 if none is found.
|
||||||
static BasicBlock* FindPhiPredForUseInBlock(Value* Used, BasicBlock* BB) {
|
static BasicBlock* FindPhiPredForUseInBlock(Value* Used, BasicBlock* BB) {
|
||||||
for (Value::use_iterator UI = Used->use_begin(),
|
for (Value::use_iterator UI = Used->use_begin(),
|
||||||
UE = Used->use_end(); UI != UE; ++UI) {
|
UE = Used->use_end(); UI != UE; ++UI) {
|
||||||
|
Reference in New Issue
Block a user