Home | History | Annotate | Download | only in IR

Lines Matching refs:GlobalVar

1262 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) {
1263 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar);
1270 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) {
1271 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar);
1278 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) {
1279 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent();
1282 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) {
1283 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar);
1289 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) {
1290 unwrap<GlobalVariable>(GlobalVar)
1294 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar) {
1295 return unwrap<GlobalVariable>(GlobalVar)->isThreadLocal();
1298 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal) {
1299 unwrap<GlobalVariable>(GlobalVar)->setThreadLocal(IsThreadLocal != 0);
1302 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar) {
1303 return unwrap<GlobalVariable>(GlobalVar)->isConstant();
1306 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant) {
1307 unwrap<GlobalVariable>(GlobalVar)->setConstant(IsConstant != 0);
1310 LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar) {
1311 switch (unwrap<GlobalVariable>(GlobalVar)->getThreadLocalMode()) {
1327 void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode) {
1328 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar);
1349 LLVMBool LLVMIsExternallyInitialized(LLVMValueRef GlobalVar) {
1350 return unwrap<GlobalVariable>(GlobalVar)->isExternallyInitialized();
1353 void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit) {
1354 unwrap<GlobalVariable>(GlobalVar)->setExternallyInitialized(IsExtInit);