Home | History | Annotate | Download | only in R600

Lines Matching refs:Function

27 #include "llvm/IR/Function.h"
55 bool runOnFunction(Function &F);
61 // Function to initiate all of the instruction level optimizations.
66 bool dumpAllIntoArena(Function &F);
69 // it later. This function does the conversions if required.
70 void doAtomicConversionIfNeeded(Function &F);
74 // which should allow the __amdil_is_constant function to be
135 Function *mF;
137 SmallVector< std::pair<CallInst *, Function *>, 16> atomicFuncs;
142 // A template function that has two levels of looping before calling the
143 // function with a pointer to the current iterator.
144 template<class InputIterator, class SecondIterator, class Function>
145 Function safeNestedForEach(InputIterator First, InputIterator Last,
146 SecondIterator S, Function F) {
212 AMDGPUPeepholeOpt::dumpAllIntoArena(Function &F) {
214 for (Function::const_arg_iterator cab = F.arg_begin(),
253 AMDGPUPeepholeOpt::doAtomicConversionIfNeeded(Function &F) {
258 // Change the function name for the atomic if it is required
273 AMDGPUPeepholeOpt::runOnFunction(Function &MF) {
360 Function *F = dyn_cast<Function>(CI->getOperand(CI->getNumOperands()-1));
367 F = dyn_cast<Function>(
393 dbgs() << "Null pointer passed into function.\n";
605 // Lets create the function signature.
614 Function *Func =
615 dyn_cast<Function>(inst->getParent()->getParent()->getParent()->
654 // function call dst = __amdil_ibit_extract(log2(C), B, A) For unsigned
655 // integers, it turns into the function call dst =
656 // __amdil_ubit_extract(log2(C), B, A) The function __amdil_[u|i]bit_extract
765 // Lets create the function signature.
777 // Lets create the function.
778 Function *Func =
779 dyn_cast<Function>(inst->getParent()->getParent()->getParent()->
945 "signed 24 bit operation to call this function!");
968 Function *Func = dyn_cast<Function>(
1000 Function *Func = dyn_cast<Function>(
1091 // reparse the __amdil_is_constant() function.
1175 assert(0 && "Should not be able to calculate the size of an function type");