Displaying 4 results from an estimated 4 matches for "l_exp".
Did you mean:
u_exp
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
..._variable_c *symbol) {
std::string varName;
AllocaInst *alloc;
varName = get_var_name_c::get_name(symbol->var_name)->value;
alloc = locals[varName];
return (void *)alloc;
}
void *visit(equ_expression_c *symbol) {
Value *lValue;
Value *rValue;
lValue = (Value *)symbol->l_exp->accept(*this);
rValue = (Value *)symbol->r_exp->accept(*this);
return Builder.CreateICmpEQ (lValue, rValue, "cond");
}
Cheers,
Manuele
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
...e_c::get_name(symbol->var_name)->value;
> alloc = locals[varName];
>
> return (void *)alloc;
> }
>
> void *visit(equ_expression_c *symbol) {
> Value *lValue;
> Value *rValue;
>
> lValue = (Value *)symbol->l_exp->accept(*this);
> rValue = (Value *)symbol->r_exp->accept(*this);
>
> return Builder.CreateICmpEQ (lValue, rValue, "cond");
>
> }
>
> Cheers,
> Manuele
>
>
>
>
> ______________________________________...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
...t; varName = get_var_name_c::get_name(**symbol->var_name)->value;
> alloc = locals[varName];
>
> return (void *)alloc;
> }
>
> void *visit(equ_expression_c *symbol) {
> Value *lValue;
> Value *rValue;
>
> lValue = (Value *)symbol->l_exp->accept(*this)**;
> rValue = (Value *)symbol->r_exp->accept(*this)**;
>
> return Builder.CreateICmpEQ (lValue, rValue, "cond");
>
> }
>
> Cheers,
> Manuele
>
>
>
>
> ______________________________**_________________
> LLV...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
...e(symbol->var_name)->value;
>> alloc = locals[varName];
>>
>> return (void *)alloc;
>> }
>>
>> void *visit(equ_expression_c *symbol) {
>> Value *lValue;
>> Value *rValue;
>>
>> lValue = (Value *)symbol->l_exp->accept(*this);
>> rValue = (Value *)symbol->r_exp->accept(*this);
>>
>> return Builder.CreateICmpEQ (lValue, rValue, "cond");
>>
>> }
>>
>> Cheers,
>> Manuele
>>
>>
>>
>>
>> __________...