search for: getextend

Displaying 11 results from an estimated 11 matches for "getextend".

2003 Mar 31
1
setIs?
I've recently updated from an early February version of 1.7.0 to Version 1.7.0 Under development (unstable) (2003-03-25) and am now having problems with errors giving the message: ' getExtends(ClassDef) : @ must be used on an object with a formal class' which seems to be caused by 'setIs("character","character or NULL")' which attempts to define 'character' as an extension of the virtual class 'character or NULL' defined in 'setClass(...
2015 Jul 23
0
[LLVMdev] signext on function parameters and return.
...e in the IR is target specific since it already contains some ABI information at this point. I know Mips would use the definition above but other targets may vary. The target hook is classifyArgumentType() and classifyReturnType() in tools/clang/lib/CodeGen/TargetInfo.cpp and returning ABIArgInfo::getExtend() causes the signext/zeroexts to be emitted appropriately for the type. > 2) Does the presence of the signext mean it's imperative to sign > extend, or that extension, only if needed, should be signed? It's an agreement between the caller and callee to ensure the value is sign-exten...
2015 Jul 23
2
[LLVMdev] signext on function parameters and return.
Hello, For a simple function taking a short and returning a short, clang generates IR with this function signature: define signext i16 @foo(i16 signext %x) Some questions please: 1) For the input parameter and return value, does the target control whether clang uses signext vs something else? If so, how does this target query work? 2) Does the presence of the signext mean it's imperative
2012 Jun 13
2
[LLVMdev] Structs passed by value
...t(0) - Default] %struct.myType = type { i64 } define i32 @convert(%struct.myType* nocapture byval %in) nounwind readonly { entry: %val = getelementptr inbounds %struct.myType* %in, i64 0, i32 0 %0 = load i64* %val, align 8, !tbaa !0 %conv = trunc i64 %0 to i32 ret i32 %conv } [ABIArgInfo::getExtend(), ABIArgInfo::getDirect(), ABIArgInfo::getExpand()] define i32 @convert(i64 %in.coerce0) nounwind readnone { entry: %conv = trunc i64 %in.coerce0 to i32 ret i32 %conv } -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev...
2012 Jun 14
0
[LLVMdev] Structs passed by value
...nly > {**** > > entry:**** > > %val = getelementptr inbounds %struct.myType* %in, i64 0, i32 0**** > > %0 = load i64* %val, align 8, !tbaa !0**** > > %conv = trunc i64 %0 to i32**** > > ret i32 %conv**** > > }**** > > ** ** > > [ABIArgInfo::getExtend(), ABIArgInfo::getDirect(), ABIArgInfo::getExpand()] > **** > > define i32 @convert(i64 %in.coerce0) nounwind readnone {**** > > entry:**** > > %conv = trunc i64 %in.coerce0 to i32**** > > ret i32 %conv**** > > }**** > > ** ** > > ___________________...
2015 Jul 23
1
[LLVMdev] signext on function parameters and return.
On Thu, Jul 23, 2015 at 3:59 AM, Daniel Sanders <Daniel.Sanders at imgtec.com> wrote: > > The target hook is classifyArgumentType() and classifyReturnType() in tools/clang/lib/CodeGen/TargetInfo.cpp and returning ABIArgInfo::getExtend() causes the signext/zeroexts to be emitted appropriately for the type. Thanks for the great help. Should these classify calls be moved down into the ABIInfo base class? They also are not marked virtual yet targets are expected override as needed.
2008 Oct 20
2
R 2.8.0 is released
...ndent' family "symbol" is defunct: use font=5 (base) or fontface=5 (grid) instead. o gammaCody() is defunct. o par("gamma") is defunct. o 'methods' package functions getAccess(), getAllMethods(), getClassName(), getClassPackage(), getExtends(), getProperties(), getPrototype(), getSubclasses, getVirtual(), mlistMetaName(), removeMethodsObject() and seemsS4Object() are defunct. o Use of a non-integer .Random.seed is now an error. (R itself has never generated such values, but user code has, and...
2008 Oct 20
2
R 2.8.0 is released
...ndent' family "symbol" is defunct: use font=5 (base) or fontface=5 (grid) instead. o gammaCody() is defunct. o par("gamma") is defunct. o 'methods' package functions getAccess(), getAllMethods(), getClassName(), getClassPackage(), getExtends(), getProperties(), getPrototype(), getSubclasses, getVirtual(), mlistMetaName(), removeMethodsObject() and seemsS4Object() are defunct. o Use of a non-integer .Random.seed is now an error. (R itself has never generated such values, but user code has, and...
2020 Apr 24
0
R 4.0.0 is released
...12) is required: the deprecated provision for 8.20-8.31 has been removed. * Defunct functions mem.limits(), .readRDS(), .saveRDS(),..find.package(), and .path.package() from package base and allGenerics(), getAccess(), getAllMethods(), getClassName(), getClassPackage(), getExtends(), getProperties(), getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(), removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn() from methods have been removed. C-LEVEL FACILITIES: * installChar is now remapped in Rinternals.h to installTrChar, of...
2020 Apr 24
0
R 4.0.0 is released
...12) is required: the deprecated provision for 8.20-8.31 has been removed. * Defunct functions mem.limits(), .readRDS(), .saveRDS(),..find.package(), and .path.package() from package base and allGenerics(), getAccess(), getAllMethods(), getClassName(), getClassPackage(), getExtends(), getProperties(), getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(), removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn() from methods have been removed. C-LEVEL FACILITIES: * installChar is now remapped in Rinternals.h to installTrChar, of...
2020 Apr 24
0
R 4.0.0 is released
...12) is required: the deprecated provision for 8.20-8.31 has been removed. * Defunct functions mem.limits(), .readRDS(), .saveRDS(),..find.package(), and .path.package() from package base and allGenerics(), getAccess(), getAllMethods(), getClassName(), getClassPackage(), getExtends(), getProperties(), getPrototype(), getSubclasses(), getVirtual(), mlistMetaName(), removeMethodsObject(), seemsS4Object(), traceOff(), and traceOn() from methods have been removed. C-LEVEL FACILITIES: * installChar is now remapped in Rinternals.h to installTrChar, of...