Displaying 4 results from an estimated 4 matches for "cgsccanalysismanag".
Did you mean:
cgsccanalysismanager
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
Dear all,
I would like to use the PostDominatorTree in ArgPromotion. I did not find an example of how to use function level analysis inside CallGraphSCCPass. I tried to follow an example of how to use function-level pass in a module pass, but I hit "llvm_unreachable" in PMDataManager::addLowerLevelRequiredPass.
What would be a proper way to make PostDominatorTree available in
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
...> function analyses from within an CGSCC pass. Here's an example of
> using it:
>
> ```
> class MyCGSCCPass : public llvm::PassInfoMixin<MyCGSCCPass> {
> public:
> llvm::PreservedAnalyses run(llvm::LazyCallGraph::SCC &C,
> llvm::CGSCCAnalysisManager &AM,
> llvm::LazyCallGraph &CG,
> llvm::CGSCCUpdateResult &UR) {
> llvm::FunctionAnalysisManager &FAM =
> AM.getResult<llvm::FunctionAnalysisManagerCGSCCProxy>(C, CG)
> .getMan...
2018 Aug 21
2
Function optimization pass
Hi Philip,
Thanks for the response. Under llvm-5.0.2 and llvm-6.0.1 in Debug mode, the
crash hit at the same assertion:
/usr/local/include/llvm/IR/PassManager.h:689: typename PassT::Result&
llvm::AnalysisManager<IRUnitT, ExtraArgTs>::getResult(IRUnitT&, ExtraArgTs
...) [with PassT =
llvm::InnerAnalysisManagerProxy<llvm::AnalysisManager<llvm::Loop,
2019 Aug 07
2
Status of the New Pass Manager
On 8/7/19 6:20 PM, Hiroshi Yamauchi wrote:
> I basically run "clang
> -fexperimental-new-pass-manager -print-after-all ..."
>
> It's conceivable that something is different in our setup or in clang
> (from opt)... I'll see if I can reproduce it outside our setup.
Does it depend on machine architecture?
I generally use x86...
regards,
Fedor.
>
> Thanks.