Displaying 1 result from an estimated 1 matches for "gvar_array_switch_bb".
Did you mean:
gvar_array_switch_bbs
2012 Jun 17
3
[LLVMdev] BlockAddress instruction is copied instead of cloned during module link?
...BasicBlock* label_switch_body_begin1 =
BasicBlock::Create(mod->getContext(), "switch.body.begin1",func_my_func,0);
BasicBlock* label_switch_end = BasicBlock::Create(mod->getContext(),
"switch.end",func_my_func,0);
// Global Variable Declarations
GlobalVariable* gvar_array_switch_bbs = new
GlobalVariable(/*Module=*/*mod,
/*Type=*/ArrayTy_0,
/*isConstant=*/false,
/*Linkage=*/GlobalValue::InternalLinkage,
/*Initializer=*/0, // has initializer, specified below
/*Name=*/"switch.bbs");
// Constant Definitions
std::vector<Constant*> const_array_5_elem...