search for: lookup_attribute

Displaying 4 results from an estimated 4 matches for "lookup_attribute".

2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
...AL Radar 5741731, typedefs used in '@try' blocks */ +#include "c-common.h" ^ Including a C language header!!! ... + /* APPLE LOCAL begin Radar 5741731, typedefs used in '@try' blocks */ + if (is_volatile_type + && c_dialect_objc () + && lookup_attribute ("objc_volatilized", TYPE_ATTRIBUTES (type))) + { + is_volatile_type = 0; + if (TYPE_NAME (type) && TREE_TYPE (TYPE_NAME (type))) + type = TREE_TYPE (TYPE_NAME (type)); + } + /* APPLE LOCAL end Radar 5741731, typedefs used in '@try' blocks */ ^ U...
2007 Jan 06
0
[LLVMdev] General LLVM question
...ecial > "information" for them at codegen stage (so, actually, I'm wanting to > find "marked" functions at some pass, etc). > > I can introduce special attribute to allow user mark function as > void foo() __attribute__(("mark_me")); > and than do lookup_attribute() call inside llvv-gcc backend. > > Is there any "standard" way to introduce some flags for Functions/GVs > inside LLVM? Or I should introduce some new "structure", change bytecode > format, etc. > > It seems to me, that such feature can also be useful for >...
2008 Jul 30
3
[LLVMdev] llvm-gcc fortran bootstrap broken
On x86-64 linux, in stage 2, I get: c++ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o f951 \ fortran/arith.o fortran/array.o fortran/bbt.o fortran/check.o fortran/data.o fortran/decl.o
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...tElementOffset(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(Offset->getType(), ByteOffset)); Bi...