Searched refs:FnAccumulator (Results 1 – 2 of 2) sorted by relevance
/frameworks/compile/slang/ |
D | slang_rs_export_reduce.cpp | 112 FnAccumulator(nullptr), in StateOfAnalyzeTranslationUnit() 142 clang::FunctionDecl *FnAccumulator; member 295 slangAssert(S.FnAccumulator); in analyzeAccumulator() 298 checkVoidReturn(S, FN_IDENT_ACCUMULATOR, S.FnAccumulator); in analyzeAccumulator() 303 if (S.FnAccumulator->getNumParams() < 2) { in analyzeAccumulator() 304 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator() 311 S.FnAccumulatorParamFirst = S.FnAccumulator->getParamDecl(0); in analyzeAccumulator() 316 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator() 331 !S.FnAccumulator->getASTContext().hasSameUnqualifiedType( in analyzeAccumulator() 336 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | RSKernelExpand.cpp | 1145 …bool ExpandReduceAccumulator(llvm::Function *FnAccumulator, uint32_t Signature, size_t NumInputs) { in ExpandReduceAccumulator() argument 1147 FnAccumulator->getName().str().c_str()); in ExpandReduceAccumulator() 1165 auto AccumulatorArgIter = FnAccumulator->arg_begin(); in ExpandReduceAccumulator() 1169 createEmptyExpandedReduceAccumulator(FnAccumulator->getName(), in ExpandReduceAccumulator() 1206 finishArgList(RootArgs, CalleeArgs, CalleeArgsContextIdx, *FnAccumulator, Builder); in ExpandReduceAccumulator() 1207 Builder.CreateCall(FnAccumulator, RootArgs); in ExpandReduceAccumulator() 1225 bool CreateReduceCombinerFromAccumulator(llvm::Function *FnAccumulator) { in CreateReduceCombinerFromAccumulator() argument 1227 FnAccumulator->getName().str().c_str()); in CreateReduceCombinerFromAccumulator() 1231 bccAssert(FnAccumulator->arg_size() == 2); in CreateReduceCombinerFromAccumulator() 1232 auto AccumulatorArgIter = FnAccumulator->arg_begin(); in CreateReduceCombinerFromAccumulator() [all …]
|