Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Function

16 // function arguments are rank = 1, and other values are assigned ranks
17 // corresponding to the reverse post order traversal of current function
28 #include "llvm/Function.h"
87 bool runOnFunction(Function &F);
93 void BuildRankMap(Function &F);
148 void Reassociate::BuildRankMap(Function &F) {
151 // Assign distinct ranks to function arguments
152 for (Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); I != E; ++I)
155 ReversePostOrderTraversal<Function*> RPOT(&F);
156 for (ReversePostOrderTraversal<Function*>::rpo_iterator I = RPOT.begin(),
173 if (isa<Argument>(V)) return ValueRankMap[V]; // Function argument.
342 // linearized and optimized, emit them in-order. This function is written to be
443 // Verify that the negate is in this function, V might be a constant expr.
1096 bool Reassociate::runOnFunction(Function &F) {
1101 for (Function::iterator FI = F.begin(), FE = F.end(); FI != FE; ++FI)