search for: funattr

Displaying 2 results from an estimated 2 matches for "funattr".

Did you mean: unattr
2007 Dec 09
1
[LLVMdev] Next GC patch for review
...a string attribute to each function which enables GC codegen and selects the metadata format to generate. In order to avoid adding a word to each Function for programs which do not use garbage collection (e.g. llvm-gcc, clang), this value is stored in an on-the- side table. — Gordon gc-5a-funattr.patch (+222 -22): docs/LangRef.html (+22 -3) test/CodeGen/Generic/GC/alloc_loop.ll (+1 -1) test/Assembler/2007-09-29-GC.ll (+12) include/llvm/Function.h (+7) lib/VMCore/Function.cpp (+33) include/llvm/Support/ManagedStatic.h (+4) lib/Support/ManagedStatic.cpp (+20) include/...
2007 Nov 30
0
[LLVMdev] GC patches again
...StrStart, const char *StrEnd); and: PooledStringPtr intern(const char *CStr) { return intern(CStr, CStr+strlen(CStr); } This discourages string abuse/copying: std::string is not very efficient. Also, in PooledStringPtr, please make the accessor not return an std::string. //===-- gc-5-funattr.patch (+120 -47) -------------------------===// Adds these methods to Function and makes corresponding changes to assembly and bitcode: The assembly representation is as such: define void @f() gc "shadow-stack" { ... Uses StringPool to unique collector names, which are extremely lik...