Displaying 2 results from an estimated 2 matches for "annotateattr".
2011 Sep 22
1
[LLVMdev] new annotations in IR?
How can they processed? I cant seem to find any solid information about how
they exist in IR form from a Passes perspective. I see things like
@llvm.var.annotation in dumps but no relevant sounding methods to get at
these.
Thank you
On Thu, Sep 22, 2011 at 1:20 PM, Julien Lerouge <jlerouge at apple.com> wrote:
> On Thu, Sep 22, 2011 at 02:46:05AM -0400, Mark Brown wrote:
> > With
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...) * 8;
+ unsigned Offset = SL->getElementOffset(MemberIndex);
+ BitStart -= Offset * 8;
+ LVAlign = MinAlign(LVAlign, Offset);
}
// If the FIELD_DECL has an annotate attribute on it, emit it.
@@ -6130,7 +6168,7 @@ LValue TreeToLLVM::EmitLV_COMPONENT_REF(
if (AnnotateAttr)
AnnotateAttr = lookup_attribute("annotate", AnnotateAttr);
}
- }
+ }
} else {
Value *Offset = Emit(field_offset, 0);
@@ -6150,6 +6188,7 @@ LValue TreeToLLVM::EmitLV_COMPONENT_REF(
Offset = Builder.CreateAdd(Offset,
ConstantInt::get(O...