Displaying 1 result from an estimated 1 matches for "const_int32".
Did you mean:
  const_int
  
2015 Mar 07
2
[LLVMdev] cannot understand global c++API code
...struct stest {         
    int   age;
    float weight;
 } foo={44,67.2};       
int main() {
foo.weight=68.2;
...
----------------------------------------
API code
// this is clear
ConstantFP* const_float_102 = ConstantFP::get(mod->getContext(), 
APFloat(6.820000e+01f));
ConstantInt* const_int32_98 = ConstantInt::get(mod->getContext(), APInt(32, 
StringRef("0"), 10));
ConstantInt* const_int32_99 = ConstantInt::get(mod->getContext(), APInt(32, 
StringRef("1"), 10));
std::vector<Constant*> const_ptr_103_indices;
const_ptr_103_indices.push_back(const_int32_98...