search for: elementtyp

Displaying 20 results from an estimated 21 matches for "elementtyp".

Did you mean: elementtype
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...test annotations also in Java, with VMKit. These are the commands that I run: javac -Xlint -g -O Main.java ../Release+Asserts/bin/vmjc Main ../Release+Asserts/bin/j3 Main ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly My small program is : import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @interface Red { String info() default ""; } class Annotated {...
2010 Feb 10
0
[LLVMdev] [patch] Union Types - work in progress
...se && "Implement replaceUsesOfWithOnConstant for unions"); +} + Still not implemented? +UnionType *UnionType::get(const Type *type, ...) { + va_list ap; + std::vector<const llvm::Type*> UnionFields; + va_start(ap, type); Please use smallvector. +bool UnionType::isValidElementType(const Type *ElemTy) { + return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && + !ElemTy->isMetadataTy() && !isa<FunctionType>(ElemTy); +} Isn't there a better predicate somewhere? +LLVMTypeRef LLVMUnionTypeInContext(LLVMContextRef C, LLVMTypeRe...
2013 Jun 17
2
[LLVMdev] vmkit java annotations
...> are the commands that I run: > > javac -Xlint -g -O Main.java > ../Release+Asserts/bin/vmjc Main > ../Release+Asserts/bin/j3 Main > ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly > > My small program is : > > import java.lang.annotation.ElementType; > import java.lang.annotation.Retention; > import java.lang.annotation.RetentionPolicy; > import java.lang.annotation.Target; > import java.lang.reflect.Method; > > @Target(ElementType.METHOD) > @Retention(RetentionPolicy.RUNTIME) > @interface Red { > String info()...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...These are the commands that I run: > > javac -Xlint -g -O Main.java > ../Release+Asserts/bin/vmjc Main > ../Release+Asserts/bin/j3 Main > ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly > > My small program is : > > import java.lang.annotation.ElementType; > import java.lang.annotation.Retention; > import java.lang.annotation.RetentionPolicy; > import java.lang.annotation.Target; > import java.lang.reflect.Method; > > @Target(ElementType.METHOD) > @Retention(RetentionPolicy.RUNTIME) > @interface Red { > String info()...
2017 Mar 07
2
[RFC][SVE] Extend vector types to support SVE registers.
...ally adding two vectors of int32_ts: (2) ADD <Zd>.s, <Zn>.s, <Zm>.s operates on (VL x 4) int32_ts. In both cases the bit length of the data processed is the same (i.e. VL * 128). Given the equivalent instructions for Neon make use of MVTs of the form: v <#Elements> <ElementType> it seems logical to use the same scheme for SVE but also incorporate the implicit (VL x) to distinguish from existing vector types. Hence we are proposing each vector MVT have a scalable vector MVT equivalent. MVT::v2i32 -> MVT::nxv2i32 MVT::v2i64 -> MVT::nxv2i64 MVT::v4i32 -> M...
2010 Feb 10
3
[LLVMdev] [patch] Union Types - work in progress
...stant has type that matches one of the elements of the union. >> >> @@ -928,7 +949,7 @@ >> /// if the elements of the array are all ConstantInt's. >> bool ConstantArray::isString() const { >> // Check the element type for i8... >> - if (!getType()->getElementType()->isInteger(8)) >> + if (getType()->getElementType() != Type::getInt8Ty(getContext())) >> return false; >> // Check the elements to make sure they are all integers, not constant >> // expressions. >> >> You have a couple of these things which rev...
2013 Jun 17
0
[LLVMdev] vmkit java annotations
...vac -Xlint -g -O Main.java >> ../Release+Asserts/bin/vmjc Main >> ../Release+Asserts/bin/j3 Main >> ../../llvm_new/Release+Asserts/bin/llvm-dis < Main.bc > Main_assembly >> >> My small program is : >> >> import java.lang.annotation.ElementType; >> import java.lang.annotation.Retention; >> import java.lang.annotation.RetentionPolicy; >> import java.lang.annotation.Target; >> import java.lang.reflect.Method; >> >> @Target(ElementType.METHOD) >> @Retention(RetentionPolicy.RU...
2010 Jan 10
1
xmlToDataFrame#Help!!!#follow-up
...e is the xml file <xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'> <s:Schema id='RowsetSchema'> <s:ElementType name='row' content='eltOnly'> <s:AttributeType name='Name' rs:number='1'> <s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='8' rs:maybenull='false'/> </s:AttributeType>...
2010 Oct 27
1
install RSPerl on Fedora
Hi I have R 2.11.1 installed at Fedora 13. when I tried to install RSPerl by command line sudo R CMD INSTALL ~/Download/RSPerl_0.92-1.tar.gz It failed with following errors, could some one offer help? Thanks Yuan Converters.c: In function ?PerlAllocHomogeneousVector?: Converters.c:1003: error: ?elementType? undeclared (first use in this function) Converters.c:1004: error: ?SVt_IV? undeclared (first use in this function) Converters.c:1005: error: ?SVt_PVIV? undeclared (first use in this function) Converters.c:1008: error: ?SVt_NV? undeclared (first use in this function) Converters.c:1009: error: ?SVt...
2010 Feb 12
1
[LLVMdev] [patch] Union Types - work in progress
.... > +UnionType *UnionType::get(const Type *type, ...) { > + va_list ap; > + std::vector<const llvm::Type*> UnionFields; > + va_start(ap, type); > > Please use smallvector. > Done - although I was just copying from what Struct does. > > +bool UnionType::isValidElementType(const Type *ElemTy) { > + return !ElemTy->isVoidTy() && !ElemTy->isLabelTy() && > + !ElemTy->isMetadataTy() && !isa<FunctionType>(ElemTy); > +} > > Isn't there a better predicate somewhere? > Apparently there is now. Done. &gt...
2012 Aug 28
0
[LLVMdev] Please help to fix -Wdocumentation warninigs
.../// \param argBegin,argEnd the arguments to evaluate and pass to the ^~~~~~~~~~~~~~~ /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGDecl.cpp:1434:12: warning: parameter 'array' not found in the function declaration [-Wdocumentation] /// \param array - a value of type elementType* ^~~~~ /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGDecl.cpp:1435:12: warning: parameter 'destructionKind' not found in the function declaration [-Wdocumentation] /// \param destructionKind - the kind of destruction required ^~~~~~~~~~~~~~~ /home/grib/cla...
2020 Mar 09
8
[RFC] Refactor class hierarchy of VectorType in the IR
...new FixedVectorType which inherits from both VectorType and SequentialType. In turn, VectorType will no longer inherit from SequentialType. An example of what this will look like, with some misc. functions omitted for clarity: class VectorType : public Type { public: static VectorType *get(Type *ElementType, ElementCount EC); Type *getElementType() const; ElementCount getElementCount() const; bool isScalable() const; }; class FixedVectorType : public VectorType, public SequentialType { public: static FixedVectorType *get(Type *ElementType, unsigned NumElts); }; class SequentialType : publi...
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...LValue TreeToLLVM::EmitLV_ARRAY_REF(tree // of ElementTy in the case of ARRAY_RANGE_REF. tree Array = TREE_OPERAND(exp, 0); - tree ArrayType = TREE_TYPE(Array); + tree ArrayTreeType = TREE_TYPE(Array); tree Index = TREE_OPERAND(exp, 1); tree IndexType = TREE_TYPE(Index); - tree ElementType = TREE_TYPE(ArrayType); + tree ElementType = TREE_TYPE(ArrayTreeType); - assert((TREE_CODE (ArrayType) == ARRAY_TYPE || - TREE_CODE (ArrayType) == POINTER_TYPE || - TREE_CODE (ArrayType) == REFERENCE_TYPE || - TREE_CODE (ArrayType) == BLOCK_POINTER_TYPE) && +...
2020 Apr 22
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...new FixedVectorType which inherits from both VectorType and SequentialType. In turn, VectorType will no longer inherit from SequentialType. An example of what this will look like, with some misc. functions omitted for clarity: class VectorType : public Type { public: static VectorType *get(Type *ElementType, ElementCount EC); Type *getElementType() const; ElementCount getElementCount() const; bool isScalable() const; }; class FixedVectorType : public VectorType, public SequentialType { public: static FixedVectorType *get(Type *ElementType, unsigned NumElts); }; class SequentialType : publi...
2006 Mar 24
1
Multiple table relationships
Hello, I''m just starting out with some Rails development and have the following table structure. I understand how to do a two table has many join but I actually need to relate a third table. Here is my structure: components id name updated_at elements id name updated_at element_types id name updated_at components_elements component_id element_id
2013 Feb 06
0
slotName defined in object, present in instance, but inaccessible [SCL:4]
...hSegs) R> plotOccupancy(foo) Error in slot(object, "states") : no slot of name "states" for this object of class "Occupancy" R> slotNames(foo) [1] "states" "rownames" "nrows" "listData" [5] "elementType" "elementMetadata" "metadata" R> foo@states Error: no slot of name "states" for this object of class "Occupancy" Any ideas as to what's going on here? R> sessionInfo() R Under development (unstable) (2013-01-29 r61783) Platform: x86_64...
2013 Feb 06
0
slotName defined in object, present in instance, but inaccessible [SCL:4]
...hSegs) R> plotOccupancy(foo) Error in slot(object, "states") : no slot of name "states" for this object of class "Occupancy" R> slotNames(foo) [1] "states" "rownames" "nrows" "listData" [5] "elementType" "elementMetadata" "metadata" R> foo@states Error: no slot of name "states" for this object of class "Occupancy" Any ideas as to what's going on here? R> sessionInfo() R Under development (unstable) (2013-01-29 r61783) Platform: x86_64...
2010 Jun 22
0
XMLSchema:::processSchemaTypes() fails with XMLSchema.xsd [was: SSOAP fails with .types[[1]] : subscript out of bounds]
...type, name) : <fixme> Skipping children in <attribute> definition > > traceback() 12: stop(msg, " ", errors, domain = NA) 11: validObject(.Object) 10: initialize(value, ...) 9: initialize(value, ...) 8: new("RestrictedListType", name = name, elType = elType, elementType = type) 7: processSimpleList(type[[1]], xmlGetAttr(type, "name")) 6: FUN(X[[2L]], ...) 5: lapply(xmlChildren(u), processSchemaType, types = types) 4: processSchemaType(el, substitutionGroups = substGroups) 3: FUN(1:156[[11L]], ...) 2: lapply(seq(length = xmlSize(node)), function(i) {...
2020 May 05
2
[Update][RFC] Refactor class hierarchy of VectorType in the IR
...erits from both VectorType and SequentialType. In turn, VectorType will no longer inherit from SequentialType. An example of what this will look like, with some misc. functions omitted for clarity: > > class VectorType : public Type { > > public: > > static VectorType *get(Type *ElementType, ElementCount EC); > > > > Type *getElementType() const; > > ElementCount getElementCount() const; > > bool isScalable() const; > > }; > > > > class FixedVectorType : public VectorType, public SequentialType { > > public: > > static Fix...
2020 May 21
3
[RFC] Refactor class hierarchy of VectorType in the IR
...a new FixedVectorType which inherits from both VectorType and SequentialType. In turn, VectorType will no longer inherit from SequentialType. An example of what this will look like, with some misc. functions omitted for clarity: class VectorType : public Type { public: static VectorType *get(Type *ElementType, ElementCount EC); Type *getElementType() const; ElementCount getElementCount() const; bool isScalable() const; }; class FixedVectorType : public VectorType, public SequentialType { public: static FixedVectorType *get(Type *ElementType, unsigned NumElts); }; class SequentialType : public Compos...