Displaying 4 results from an estimated 4 matches for "symbolic_variable_c".
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
...:bool_type_name)) {
std::cout << "Creating integer: " << value << 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->a...
2013 Jan 11
2
[LLVMdev] Make a comparation with IR builder
...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) {
>...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
..." << value << 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;
&g...
2013 Jan 11
0
[LLVMdev] Make a comparation with IR builder
...;< 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 *sy...