X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=utils%2Fllvm.grm;h=92a4053173d64f87b08460cc956d83a0e46da449;hb=26ba182fdf0c07f90cf6cd85850e017c7c38a68f;hp=d391e2aeab9e7e742f2ac1e4c6d70539e1a92d2b;hpb=c235a0c3886d9c9104e2b4f7e5ec703e5609d46a;p=oota-llvm.git diff --git a/utils/llvm.grm b/utils/llvm.grm index d391e2aeab9..92a4053173d 100644 --- a/utils/llvm.grm +++ b/utils/llvm.grm @@ -8,6 +8,8 @@ It is strictly syntax-based, and makes no attempt to generate IR that is semantically valid. Most of the IR produced doesn't pass the Verifier. +TODO: Metadata, in all its forms + *) I ::= "title: LLVM assembly language\n" @@ -168,6 +170,11 @@ FuncAttr ::= noreturn | optsize | ssp | sspreq + | returns_twice + | nonlazybind + | sanitize_address + | sanitize_thread + | sanitize_memory ; OptFuncAttrs ::= + _ | OptFuncAttrs FuncAttr ; @@ -398,7 +405,7 @@ OptVolatile ::= - volatile | _ ; OptExact ::= - exact | _ ; OptNSW ::= - nsw | _ ; OptNUW ::= - nuw | _ ; -OptNW ::= OptNUW OptNSW ; +OptNW ::= OptNUW OptNSW | OptNSW OptNUW ; OptInBounds ::= - inbounds | _ ; MemoryInst ::= malloc Types OptCAlign