Displaying 4 results from an estimated 4 matches for "get_var_name_c".
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
...t;< std::endl;
return (void *)ConstantInt::get(Type::getInt1Ty(getGlobalContext()), value, false);
}
return (void *)ConstantInt::get(Type::getInt16Ty(getGlobalContext()), value, false);
}
void *visit(symbolic_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....
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
...se);
> }
> return (void
> *)ConstantInt::get(Type::getInt16Ty(getGlobalContext()), value,
> false);
> }
>
> void *visit(symbolic_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_e...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
...getGlobalContext()),
> value, false);
> }
> return (void *)ConstantInt::get(Type::**
> getInt16Ty(getGlobalContext())**, value, false);
> }
>
> void *visit(symbolic_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)**;
&g...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
...lse);
>> }
>> return (void
>> *)ConstantInt::get(Type::getInt16Ty(getGlobalContext()), value, false);
>> }
>>
>> void *visit(symbolic_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 *)sy...