Displaying 1 result from an estimated 1 matches for "const_int32_2".
Did you mean:
const_int32_20
2010 May 13
2
[LLVMdev] Handling of thread_local globals by llc -march=cpp
...ule=*/*mod,
/*Type=*/IntegerType::get(mod->getContext(), 32),
/*isConstant=*/false,
/*Linkage=*/GlobalValue::ExternalLinkage,
/*Initializer=*/0, // has initializer, specified below
/*Name=*/"a");
gvar_int32_a->setAlignment(4);
// Constant Definitions
ConstantInt* const_int32_2 = ConstantInt::get(mod->getContext(), APInt(32, StringRef("1"), 10));
// Global Variable Definitions
gvar_int32_a->setInitializer(const_int32_2);
As you can see no actual parameter is provided for the optional formal ThreadLocal parameter of the GlobalVariable constructor; i...