search for: unmodeled

Displaying 20 results from an estimated 39 matches for "unmodeled".

2011 Jun 24
1
[LLVMdev] unmodeled side effects
Hi A bunch of instructions that I have defined in tablegen files get tagged with unmodeledSideEffect property. I have defined these instructions with no corresponding dag patterns. Is there a way i can avoid this property and say they do not have any side effects thanks shrey
2016 Mar 22
1
New intrinsic property IntrOnlyWrite
...t; > I'm not sure what is the semantics of "hasSideEffects" at the MI level. I'm surprised we can consider correct that something that writes to memory is not "having side effects". Answer to myself, I finally found the MI API (thanks Matthias), and it is called hasUnmodeledSideEffects. I think the "unmodeled" part of the name is important here :) Here is the doxygen: /// \brief Return true if this instruction has side /// effects that are not modeled by other flags. This does not return true /// for instructions whose effects are captured by: ///...
2013 Nov 09
4
[LLVMdev] Loads moving across barriers
...s is pretty clearly undesirable behavior for > CL, even if it may (or may not) be technically permitted by the C > specification. I’d be in favor of clarifying our definition of > noalias to disallow this transformation. So we're specifically talking about intrinsics tagged as having unmodeled side effects? Or arbitrary functions? -Hal > > —Owen > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -- Hal Finkel Assistant Co...
2012 Oct 03
2
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...be relatively easy to have the intrinsics > serve as code-motion barriers for other code that might be threads > sensitive (like other external function calls), we would need to think > through exactly how this would work. The easiest thing would be to make > the intrinsics have having unmodeled side effects, although we might > want to do something more intelligent. Yes, that's exactly the idea. > Where do you propose placing the parallel loop intrinsics calls > relative to the loop code? In preloop ("opening" intrinsic) and postloop ("closing" one). &...
2012 Nov 06
2
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...de that might be > > > threads > > > sensitive (like other external function calls), we would need to > > > think > > > through exactly how this would work. The easiest thing would be > > > to > > > make > > > the intrinsics have having unmodeled side effects, although we > > > might > > > want to do something more intelligent. > > > > Yes, that's exactly the idea. > > Right. You should verify that using the 'unmodeled side effects' tag > does not inhibit the optimizations you seek to pre...
2012 Oct 10
0
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...cs > > serve as code-motion barriers for other code that might be threads > > sensitive (like other external function calls), we would need to > > think > > through exactly how this would work. The easiest thing would be to > > make > > the intrinsics have having unmodeled side effects, although we > > might > > want to do something more intelligent. > > Yes, that's exactly the idea. Right. You should verify that using the 'unmodeled side effects' tag does not inhibit the optimizations you seek to preserve. If we need to work out some...
2013 Nov 09
0
[LLVMdev] Loads moving across barriers
...desirable behavior for >> CL, even if it may (or may not) be technically permitted by the C >> specification. I’d be in favor of clarifying our definition of >> noalias to disallow this transformation. > > So we're specifically talking about intrinsics tagged as having unmodeled side effects? Or arbitrary functions? We don't have such a tag for intrinsics to my knowledge. -Owen > -Hal > >> >> —Owen >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs...
2012 Nov 07
0
[LLVMdev] [RFC] OpenMP Representation in LLVM IR
...t; > threads >> > > sensitive (like other external function calls), we would need to >> > > think >> > > through exactly how this would work. The easiest thing would be >> > > to >> > > make >> > > the intrinsics have having unmodeled side effects, although we >> > > might >> > > want to do something more intelligent. >> > >> > Yes, that's exactly the idea. >> >> Right. You should verify that using the 'unmodeled side effects' tag >> does not inhibit the opt...
2018 Mar 06
1
[cfe-dev] Why is #pragma STDC FENV_ACCESS not supported?
...end knowing that it should model traps? In D43515 the issue of what to do with STRICT_FP_TO_UINT is still unsolved. > that set (those bits in) the FP status register -- but the latter is > probably automatically done as long as those latter instructions are > described as having unmodeled side effects. Note that this will in > effect again create a dependency chain across all FP instructions, so > that B) should be implicitly covered as well here. > Did I miss anything here? I'm assuming that the behavior on FP > instructions on Intel (and other architect...
2018 Sep 16
2
How to add a barrier pseudo instruction?
Hello all, I want to add a custom intrinsic to the LLVM IR which would be lowered into a pseudo instruction since it doesn't correspond to any real instruction defined by the architecture. The speciality of this intrinsic/pseudo instruction that it should behave like a scheduling barrier: every instruction before the intrinsic has to be emitted before the intrinsic, the same goes for all
2006 Jan 08
1
lmer with nested/nonnested groupings?
...an't quite figure out how to do it), but I don't see any references to situations such as age, edu, and age*edu . For the article, we used Bugs, which is fine, but I'd like to see how far I can take it using lmer. I could kludge it by, for example, including age, edu, and region as unmodeled factors: lmer (y ~ black*female + (1 | state) + factor(region) + factor(age) + factor(edu) + (1 | age.edu), family=binomial(link="logit")) but I'd like to do the full multilevel version. Thanks! Andrew -- Andrew Gelman Professor, Department of Statistics Professor, Department of...
2013 Nov 09
0
[LLVMdev] Loads moving across barriers
...desirable behavior for >> CL, even if it may (or may not) be technically permitted by the C >> specification. I’d be in favor of clarifying our definition of >> noalias to disallow this transformation. > > So we're specifically talking about intrinsics tagged as having unmodeled side effects? Or arbitrary functions? Arbitrary functions calls can contain barriers ( in CL) or thread joins (in C), so I think the same reasoning had to apply to them as well. -Owen > -Hal > >> >> —Owen >> _______________________________________________ >> LLVM...
2020 Apr 01
2
[RFC] [Windows SEH] Local_Unwind (Jumping out of a _finally) and -EHa (Hardware Exception Handling)
...9;s at least makes control flow well-defined. Adding "volatile" to every IR load and store instruction, including accesses to local variables, seems terrible for both optimization and correctness. Our handling of setjmp is already a complete mess; I don't want to add another way for unmodeled control flow to break code. (See also http://nondot.org/sabre/LLVMNotes/ExceptionHandlingChanges.txt, for a proposal to make invoke less messy.) -Eli From: llvm-dev <llvm-dev-bounces at lists.llvm.org<mailto:llvm-dev-bounces at lists.llvm.org>> On Behalf Of Ten Tzen via llvm-dev Sent...
2015 Mar 17
2
[LLVMdev] possible addrspacecast problem
On 16 Mar 2015, at 08:25, Sanjoy Das <sanjoy at playingwithpointers.com> wrote: > > The LangRef says this about addrspacecast: "Note that if the address > space conversion is legal then both result and operand refer to the > same memory location.". This brings forth two related questions: > > 1. what happens if you execute an "invalid" addrspacecast?
2018 Jan 09
2
[cfe-dev] Why is #pragma STDC FENV_ACCESS not supported?
...that we should be using implicit control register dependencies, which will at least prevent moving floating-point operations across instructions that e.g. change rounding modes. However, the main property we need to model is that floating-point operations may *trap*. I guess this can be done using UnmodeledSideEffects, but I'm not quite clear on how to make this dependent on whether or not a "strict" operation is requested (without duplicating all the instruction patterns ...). Once we do use something like UnmodeledSideEffects, I think MachineIR passes should handle everything correctl...
2020 Apr 02
2
[RFC] [Windows SEH] Local_Unwind (Jumping out of a _finally) and -EHa (Hardware Exception Handling)
...less restricted "write-through" concept for memory access inside a _try. But I think the benefit of it is minor and it's not worth it as the amount of code directly under _try is very small, and usually is not performance critical code. ? ..I don't want to add another way for unmodeled control flow to break code. I would really love to hear (and find a way to improve) if there is any place in this design & implementation which is not sound or robust. Thanks, --Ten From: Eli Friedman <efriedma at quicinc.com<mailto:efriedma at quicinc.com>> Sent: Wednesday, Apr...
2015 Feb 16
3
[LLVMdev] LLVM parallel annotations
Hi all, I'm a grad student from MIT and as part of my thesis, I will be propagating parallelism in the IR level. I will be modifying clang and adding LLVM IR metadata annotations to indicate parallel regions and loops, then write optimizer passes that will run on top of the annotated LLVM IR. There has been a lot of research lately on Parallel IRs, such as SPIR[1
2018 May 23
3
Update on strict FP status
...the result is now safe but maybe not optimal -- which can be improved upon over time by teaching the specific semantics of those intrinsics to optimization passes. However, some open questions remain. If at some point we want to model the constrained FP semantics more precisely than just as "unmodeled side effects", this may have to be reflected at the IR level directly. For example, to model rounding mode behavior, at some point we might require explicit tracking of data dependencies on the rounding mode by representing the rounding mode as SSA values defined by function calls and used by...
2011 Jun 26
1
[LLVMdev] ARM instructions clobbering frame pointer
On 2011-06-26, at 8:44 AM, Jakob Stoklund Olesen wrote: > On Jun 25, 2011, at 11:39 PM, Cameron Zwarich wrote: > >> Someone hit a bug (not in bugs.llvm.org) caused by the non-Darwin call instructions not being marked as using the frame pointer. Is it safe to just add r11 / r7 as uses to the appropriate instructions like we do on Darwin? Does anyone care about the slight pessimization
2018 May 23
0
Update on strict FP status
...aybe not optimal > -- which can be improved upon over time by teaching the specific > semantics of those intrinsics to optimization passes. > > However, some open questions remain. If at some point we want > to model the constrained FP semantics more precisely than just > as "unmodeled side effects", this may have to be reflected at > the IR level directly. For example, to model rounding mode > behavior, at some point we might require explicit tracking of > data dependencies on the rounding mode by representing the > rounding mode as SSA values defined by functio...