search for: tliwp

Displaying 14 results from an estimated 14 matches for "tliwp".

Did you mean: tlip
2016 Mar 23
2
Help with pass manager
...ABIType = FloatABIForCalls; std::unique_ptr<tool_output_file> objoutstream = getOutputFileStream(module, srcname); if (!objoutstream) return 1; legacy::PassManager passmanager; TargetLibraryInfoImpl TLII(moduletriple); TargetLibraryInfoWrapperPass *tliwp = new TargetLibraryInfoWrapperPass(TLII); passmanager.add(tliwp); module->setDataLayout(tmachine->createDataLayout()); setFunctionAttributes(cpuname, ftrlist, *module); if (RelaxAll.getNumOccurrences() > 0 && FileType != TargetMachine::CG...
2016 Mar 24
2
Help with pass manager
...es it doesn't crash because TargetRegistry::lookupTarget() returns an error which says it doesn't support the current target > On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > Assuming you are talking about this line: > > passmanager.add(tliwp); > > I don't see anything obviously wrong. > Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). > What does your debugger gives you as a stracktrace? > > -- > Mehdi > > > >> On Mar 23, 2016, at 3:44 PM,...
2016 Mar 24
0
Help with pass manager
Assuming you are talking about this line: passmanager.add(tliwp); I don't see anything obviously wrong. Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). What does your debugger gives you as a stracktrace? -- Mehdi > On Mar 23, 2016, at 3:44 PM, Lorenzo Laneve via llvm-dev <llvm-dev at lists.llvm...
2016 Mar 24
2
Help with pass manager
...rogram. > > -- > Mehdi > > > >> >> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >> >>> Assuming you are talking about this line: >>> >>> passmanager.add(tliwp); >>> >>> I don't see anything obviously wrong. >>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>> What does your debugger gives you as a stracktrace? >>> >>> -- >>> Mehdi...
2016 Mar 24
0
Help with pass manager
...hat's unexpected and I'd be worried about my program. -- Mehdi > > On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: > >> Assuming you are talking about this line: >> >> passmanager.add(tliwp); >> >> I don't see anything obviously wrong. >> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >> What does your debugger gives you as a stracktrace? >> >> -- >> Mehdi >> >> >>...
2016 Mar 24
2
Help with pass manager
...t; >>>> >>>> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >>>> >>>>> Assuming you are talking about this line: >>>>> >>>>> passmanager.add(tliwp); >>>>> >>>>> I don't see anything obviously wrong. >>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>> What does your debugger gives you as a stracktrace? >>>>&g...
2016 Mar 24
0
Help with pass manager
...t;> >> >> >>> >>> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >>> >>>> Assuming you are talking about this line: >>>> >>>> passmanager.add(tliwp); >>>> >>>> I don't see anything obviously wrong. >>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>> What does your debugger gives you as a stracktrace? >>>> >>>>...
2016 Mar 24
2
Help with pass manager
...t;> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >>>>>> >>>>>>> Assuming you are talking about this line: >>>>>>> >>>>>>> passmanager.add(tliwp); >>>>>>> >>>>>>> I don't see anything obviously wrong. >>>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>>>> What does your debugger gives you as a...
2016 Mar 24
0
Help with pass manager
...t;>> >>>>> >>>>>> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: >>>>>> >>>>>> Assuming you are talking about this line: >>>>>> >>>>>> passmanager.add(tliwp); >>>>>> >>>>>> I don't see anything obviously wrong. >>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>>> What does your debugger gives you as a stracktrace? &g...
2016 Mar 24
0
Help with pass manager
...t;>>>>>> On Mar 24, 2016, at 1:14 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: >>>>>>>> >>>>>>>> Assuming you are talking about this line: >>>>>>>> >>>>>>>> passmanager.add(tliwp); >>>>>>>> >>>>>>>> I don't see anything obviously wrong. >>>>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>>>>> What does your debugge...
2016 Mar 24
2
Help with pass manager
...AM, Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >>>>>>>> >>>>>>>>> Assuming you are talking about this line: >>>>>>>>> >>>>>>>>> passmanager.add(tliwp); >>>>>>>>> >>>>>>>>> I don't see anything obviously wrong. >>>>>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>>>>>> What d...
2016 Mar 24
0
Help with pass manager
...<mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote: >>>>>>>>> >>>>>>>>>> Assuming you are talking about this line: >>>>>>>>>> >>>>>>>>>> passmanager.add(tliwp); >>>>>>>>>> >>>>>>>>>> I don't see anything obviously wrong. >>>>>>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>>>>&gt...
2016 Mar 30
1
Help with pass manager
...:14 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: >>>>>>>>>>> >>>>>>>>>>> Assuming you are talking about this line: >>>>>>>>>>> >>>>>>>>>>> passmanager.add(tliwp); >>>>>>>>>>> >>>>>>>>>>> I don't see anything obviously wrong. >>>>>>>>>>> Are you hitting an assertion or a pure crash? (if LLVM not built with assertions, please rebuild). >>>>&gt...
2018 Sep 12
2
How to make LLVM go faster?
...PMBuilder->Inliner = createFunctionInliningPass(PMBuilder->OptLevel, PMBuilder->SizeLevel, false); } addCoroutinePassesToExtensionPoints(*PMBuilder); // Set up the per-function pass manager. legacy::FunctionPassManager FPM = legacy::FunctionPassManager(module); auto tliwp = new(std::nothrow) TargetLibraryInfoWrapperPass(tlii); FPM.add(tliwp); FPM.add(createTargetTransformInfoWrapperPass(target_machine->getTargetIRAnalysis())); if (assertions_on) { FPM.add(createVerifierPass()); } PMBuilder->populateFunctionPassManager(FPM); // Set...