Displaying 12 results from an estimated 12 matches for "stringconst".
2010 Jan 11
0
[LLVMdev] Operations on constant array value?
Does the C API have an equivalent of stack storage? Via the C++ APIs one can shove the string constant on the stack via
a store instruction operation on an alloca instruction--the address needed is the alloca. For example:
llvm::Value* stringVar = builder.CreateAlloca(stringConstant->getType());
builder.CreateStore(stringConstant, stringVar);
The stringVar is your address.
Garrison
On Jan 11, 2010, at 10:07, James Williams wrote:
> Hi,
>
> I've read http://llvm.org/docs/LangRef.html#t_array and http://llvm.org/docs/GetElementPtr.html and if I've und...
2010 Jan 11
4
[LLVMdev] Operations on constant array value?
Hi,
I've read http://llvm.org/docs/LangRef.html#t_array and
http://llvm.org/docs/GetElementPtr.html and if I've understood right there
are no operations that act directly on arrays - instead I need to use
getelementptr on a pointer to an array to get a pointer to an array element.
I also understand that there is no 'address of' operation.
As a result I can't figure out how to
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
...ncing the performance of V8
javascript engine using LLVM as a back-end".
Now i'm writing code for shift left(SHL) operator. I had my own Value
Structure .. it's like this
Struct Value
{
void *val ;
char type;
}
The "char type" holds DoubleType,DoubleConst,StringType,StringConst...
when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is
returning an integer value as output.. i'm unable to store the value in my
structure....(because my structure can hold Doubles,Strings).
Is there any way to store the integer output in my structure( i used
Create...
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
...; Now i'm writing code for shift left(SHL) operator. I had my own Value
>> Structure .. it's like this
>>
>> Struct Value
>> {
>> void *val ;
>> char type;
>> }
>>
>> The "char type" holds DoubleType,DoubleConst,StringType,StringConst...
>>
>> when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is
>> returning an integer value as output.. i'm unable to store the value in my
>> structure....(because my structure can hold Doubles,Strings).
>>
>> Is there any way to store...
2011 Sep 22
0
[LLVMdev] FW: Need help in converting int to double
...ncing the performance of V8 javascript engine using LLVM as a back-end".
Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this
Struct Value
{
void *val ;
char type;
}
The "char type" holds DoubleType,DoubleConst,StringType,StringConst...
when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is returning an integer value as output.. i'm unable to store the value in my structure....(because my structure can hold Doubles,Strings).
Is there any way to store the integer output in my structure( i used Create...
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
...hancing the performance of V8 javascript engine using LLVM as a back-end".
Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this
Struct Value
{
void *val ;
char type;
}
The "char type" holds DoubleType,DoubleConst,StringType,StringConst...
when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is returning an integer value as output.. i'm unable to store the value in my structure....(because my structure can hold Doubles,Strings).
Is there any way to store the integer output in my structure( i used CreateSI...
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
...g LLVM as a back-end".
>
> Now i'm writing code for shift left(SHL) operator. I had my own Value
> Structure .. it's like this
>
> Struct Value
> {
> void *val ;
> char type;
> }
>
> The "char type" holds DoubleType,DoubleConst,StringType,StringConst...
>
> when i'm executing the IrBuilder.CreateShl(LHS,RHS) instruction it is
> returning an integer value as output.. i'm unable to store the value in my
> structure....(because my structure can hold Doubles,Strings).
>
> Is there any way to store the integer output in m...
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
...1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
- case '-':
+ case '-':
return LexDigitOrNegative();
}
}
@@ -254,11 +254,11 @@ int LLLexer::LexAt() {
// Handle AtStringConstant: @\"[^\"]*\"
if (CurPtr[0] == '"') {
++CurPtr;
-
+
while (1) {
int CurChar = getNextChar();
-
- if (CurChar == EOF) {
+
+ if (CurChar == EOF) {
GenerateError("End of file in global variable name");
ret...
2006 Jan 11
4
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
...warning: this is the location of the previous definition
llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
warning: this is the location of the previous definition
llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
/home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:152:...
2006 Jan 11
0
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
...location of the previous definition
> llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
> warning: this is the location of the previous definition
> llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/...
2006 Jan 11
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
...previous definition
>> llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
>> /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
>> warning: this is the location of the previous definition
>> llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
>> /home/wanderer/pkg/build/llvm/src/llv...
2006 Jan 11
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
...vious definition
> > llvmAsmParser.tab.h:294:1: warning: "LABELSTR" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:150:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:295:1: warning: "STRINGCONSTANT" redefined
> > /home/wanderer/pkg/build/llvm/src/llvm/lib/AsmParser/llvmAsmParser.h:151:1:
> > warning: this is the location of the previous definition
> > llvmAsmParser.tab.h:296:1: warning: "IMPLEMENTATION" redefined
> > /home/wanderer/pkg/build/llvm/src...