Displaying 6 results from an estimated 6 matches for "builtintyp".
Did you mean:
builtintype
2005 May 03
2
[LLVMdev] VC++ build broken
...recently added code:
static Constant *Div(const ConstantClass *V1, const ConstantClass *V2) {
if (V2->isExactlyValue(0.0)) return ConstantClass::get(*Ty, INFINITY);
if (V2->isExactlyValue(-0.0)) return ConstantClass::get(*Ty, -INFINITY);
if (V2->isNullValue()) return 0;
BuiltinType R = (BuiltinType)V1->getValue() /
(BuiltinType)V2->getValue();
return ConstantClass::get(*Ty, R);
}
does not compile with VC++. The symbol INFINITY is undefined, nor is
there an equivalent I can find.
2005 May 03
0
[LLVMdev] VC++ build broken
...d code:
> static Constant *Div(const ConstantClass *V1, const ConstantClass *V2) {
> if (V2->isExactlyValue(0.0)) return ConstantClass::get(*Ty, INFINITY);
> if (V2->isExactlyValue(-0.0)) return ConstantClass::get(*Ty, -INFINITY);
> if (V2->isNullValue()) return 0;
> BuiltinType R = (BuiltinType)V1->getValue() / (BuiltinType)V2->getValue();
> return ConstantClass::get(*Ty, R);
> }
>
> does not compile with VC++. The symbol INFINITY is undefined, nor is there
> an equivalent I can find.
Can std::numeric_limits be used?
-Chris
--
http://nondot.o...
2005 May 03
2
[LLVMdev] VC++ build broken
...nt *Div(const ConstantClass *V1, const ConstantClass *V2) {
>> if (V2->isExactlyValue(0.0)) return ConstantClass::get(*Ty, INFINITY);
>> if (V2->isExactlyValue(-0.0)) return ConstantClass::get(*Ty,
>> -INFINITY);
>> if (V2->isNullValue()) return 0;
>> BuiltinType R = (BuiltinType)V1->getValue() /
>> (BuiltinType)V2->getValue();
>> return ConstantClass::get(*Ty, R);
>> }
>>
>> does not compile with VC++. The symbol INFINITY is undefined, nor is
>> there an equivalent I can find.
>
>
> Can std::numeric_...
2005 May 03
0
[LLVMdev] VC++ build broken
...v(const ConstantClass *V1, const ConstantClass *V2) {
>>> if (V2->isExactlyValue(0.0)) return ConstantClass::get(*Ty, INFINITY);
>>> if (V2->isExactlyValue(-0.0)) return ConstantClass::get(*Ty, -INFINITY);
>>> if (V2->isNullValue()) return 0;
>>> BuiltinType R = (BuiltinType)V1->getValue() /
>>> (BuiltinType)V2->getValue();
>>> return ConstantClass::get(*Ty, R);
>>> }
>>>
>>> does not compile with VC++. The symbol INFINITY is undefined, nor is
>>> there an equivalent I can find.
>>...
2016 Feb 18
2
Question about __NSConstantString and __NSConstantString_tag
...re not there before.
Using "clang -Xclang -ast-dump” on a c++ file, I get the following result:
TranslationUnitDecl 0x8e41ab0 <<invalid sloc>> <invalid sloc>
|-TypedefDecl 0x8e41fe8 <<invalid sloc>> <invalid sloc> implicit __int128_t '__int128'
| `-BuiltinType 0x8e41d00 '__int128'
|-TypedefDecl 0x8e42048 <<invalid sloc>> <invalid sloc> implicit __uint128_t 'unsigned __int128'
| `-BuiltinType 0x8e41d20 'unsigned __int128'
|-TypedefDecl 0x8e42378 <<invalid sloc>> <invalid sloc> implicit __NSConst...
2020 Mar 16
3
GSOC Projects
Hey, I am Swapnil Raj I am student in Trinity College Dublin and I am interested
in working on LLVM. I am really interested in two projects listed, the first
one is the extending the clang AST with template information and the second is
finding smart null pointer dereferences. I am passionate about compilers and
interpreters, I have written a few small language based on lambda calculus. I am