示例#1
0
        public static LLVMAttributeRef[] GetCallSiteAttributes(LLVMValueRef C, LLVMAttributeIndex Idx)
        {
            var arr = new LLVMAttributeRef[GetCallSiteAttributeCount(C, Idx)];

            GetCallSiteAttributes(C, Idx, out arr[0]);

            return(arr);
        }
示例#2
0
        public static LLVMAttributeRef[] GetAttributesAtIndex(LLVMValueRef F, LLVMAttributeIndex Idx)
        {
            var arr = new LLVMAttributeRef[GetAttributeCountAtIndex(F, Idx)];

            GetAttributesAtIndex(F, Idx, out arr[0]);

            return(arr);
        }
示例#3
0
 public static string GetStringAttributeValue(LLVMAttributeRef A)
 {
     return(GetStringAttributeValue(A, out uint length));
 }