Lines Matching refs:Function

48   SmallPtrSet<Function *, 8> collectReachableCallees(Function *K) {  in collectReachableCallees()
49 SmallPtrSet<Function *, 8> ReachableCallees; in collectReachableCallees()
100 DenseMap<Function *, SmallPtrSet<Function *, 8>> &KernelToCallees) { in collectReachableCallees() argument
102 for (Function &F : M.functions()) { in collectReachableCallees()
105 Function *K = &F; in collectReachableCallees()
113 DenseMap<Function *, SmallPtrSet<Function *, 8>> &KernelToCallees) { in collectReachableCallees() argument
118 SmallPtrSet<Function *, 8> collectNonKernelAccessorsOfLDS(GlobalVariable *GV) { in collectNonKernelAccessorsOfLDS()
119 SmallPtrSet<Function *, 8> LDSAccessors; in collectNonKernelAccessorsOfLDS()
132 return SmallPtrSet<Function *, 8>(); in collectNonKernelAccessorsOfLDS()
142 Function *F = cast<Instruction>(U)->getFunction(); in collectNonKernelAccessorsOfLDS()
150 DenseMap<Function *, SmallPtrSet<Instruction *, 8>>
152 DenseMap<Function *, SmallPtrSet<Instruction *, 8>> FunctionToInsts; in getFunctionToInstsMap()
173 Function *F = I->getFunction(); in getFunctionToInstsMap()
191 bool isKernelCC(const Function *Func) { in isKernelCC()
200 static void collectFunctionUses(User *U, const Function *F, in collectFunctionUses()
220 void replaceConstantUsesInFunction(ConstantExpr *C, const Function *F) { in replaceConstantUsesInFunction()
248 bool shouldLowerLDSToStruct(const GlobalVariable &GV, const Function *F) { in shouldLowerLDSToStruct()
277 const Function *UF = I->getFunction(); in shouldLowerLDSToStruct()
307 const Function *F) { in findVariablesToLower()