Displaying 8 results from an estimated 8 matches for "loopinvariantcodemotion".
2017 Jan 19
2
Loop Invariants Detection questions
...the "real" In and Out of each
> Instruction.
> Maybe I should work on another level or with another object representation?
>
> Ty again :)
>
>
> Can you show me the complete function you're looking at? Have you run
> mem2reg on your IR?
>
I was looking the LoopInvariantCodeMotion::runOnLoop.
No I didn't run mem2reg on my IR…
Is it necessary?
I finally use the address of the operands and instruction to have a kind of
ID of each %<num>
It seems that it refers well what I want…
Let be the Instruction I:
%0 = mul nsw i32 %1, %2
&I = 0x3d9f850 → %0
operands(0)→...
2020 Jan 15
2
lld does not build
...::LoopInfo*, llvm::DominatorTree*,
llvm::TargetLibraryInfo*, llvm::TargetTransformInfo*, llvm::Loop*,
llvm::AliasSetTracker*, llvm::MemorySSAUpdater*, llvm::ICFLoopSafetyInfo*,
llvm::SinkAndHoistLICMFlags&, llvm::OptimizationRemarkEmitter*) (+0x66c)
#6 0x00000000014228f8 (anonymous
namespace)::LoopInvariantCodeMotion::runOnLoop(llvm::Loop*,
llvm::AAResults*, llvm::LoopInfo*, llvm::DominatorTree*,
llvm::TargetLibraryInfo*, llvm::TargetTransformInfo*,
llvm::ScalarEvolution*, llvm::MemorySSA*, llvm::OptimizationRemarkEmitter*,
bool)
(/opt/arm/arm-linux-compiler-20.0_Generic-AArch64_RHEL-7_aarch64-linux/llvm-bin/cl...
2017 Jan 20
2
Loop Invariants Detection questions
...uction.
>> Maybe I should work on another level or with another object
>> representation?
>>
>> Ty again :)
>>
>>
>> Can you show me the complete function you're looking at? Have you run
>> mem2reg on your IR?
>>
>
> I was looking the LoopInvariantCodeMotion::runOnLoop.
>
> No I didn't run mem2reg on my IR…
> Is it necessary?
>
>
> It's not necessary for correctness, but if you want to understand how the
> LLVM optimizer works in practice, you'll want to look at realistic input to
> LICM.
>
>
> I finally use...
2017 Jan 18
2
Loop Invariants Detection questions
Ty Eli for your answer.
On Tue, Jan 17, 2017 at 8:11 PM, Friedman, Eli <efriedma at codeaurora.org>
wrote:
> On 1/17/2017 7:12 AM, Thomas RUBIANO via llvm-dev wrote:
>
>> Hi all!
>>
>> I'm new here, and would like to implement my own Loop Invariant Detection
>> adding some more information on Quasi-Invariants.
>>
>> First, is there anything
2020 Feb 15
5
[flang-dev] About OpenMP dialect in MLIR
...he OpenMP
region. This goes against the likes of “map”, “firstprivate”, shared, etc
clauses and more.
2) Various loop operations (loop.for, affine.for, fir.do) have (or will
have) different transformations/ optimization passes which are different
from one another.
Example:
1.
AffineLoopInvariantCodeMotion.cpp is different from
LoopInvariantCodeMotion.cpp.
2.
Other Loop transformation passes for affine.for
These loops also use different Types and memory access operations in
general for transformations. Example, most Affine dialect transformations
(if not all) work on affine.load and affin...
2020 Feb 17
3
[flang-dev] About OpenMP dialect in MLIR
...ses and more.
>>
>>
>> 2) Various loop operations (loop.for, affine.for, fir.do) have (or will
>> have) different transformations/ optimization passes which are different
>> from one another.
>>
>> Example:
>>
>> 1.
>>
>> AffineLoopInvariantCodeMotion.cpp is different from
>> LoopInvariantCodeMotion.cpp.
>> 2.
>>
>> Other Loop transformation passes for affine.for
>>
>>
>> These loops also use different Types and memory access operations in
>> general for transformations. Example, most Affi...
2020 Feb 18
2
[flang-dev] About OpenMP dialect in MLIR
...ons (loop.for, affine.for, fir.do) have (or will
>>>> have) different transformations/ optimization passes which are different
>>>> from one another.
>>>>
>>>> Example:
>>>>
>>>> 1.
>>>>
>>>> AffineLoopInvariantCodeMotion.cpp is different from
>>>> LoopInvariantCodeMotion.cpp.
>>>> 2.
>>>>
>>>> Other Loop transformation passes for affine.for
>>>>
>>>>
>>>> These loops also use different Types and memory access operations in...
2020 Feb 13
6
About OpenMP dialect in MLIR
Hi,
I have few questions / concerns regarding the design of OpenMP dialect in
MLIR that is currently being implemented, mainly for the f18 compiler.
Below, I summarize the current state of various efforts in clang / f18 /
MLIR / LLVM regarding this. Feel free to add to the list in case I have
missed something.
1. [May 2019] An OpenMPIRBuilder in LLVM was proposed for flang and clang
frontends.