Lines Matching refs:GlobalVar
1638 LLVMValueRef LLVMGetNextGlobal(LLVMValueRef GlobalVar) { in LLVMGetNextGlobal() argument
1639 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetNextGlobal()
1646 LLVMValueRef LLVMGetPreviousGlobal(LLVMValueRef GlobalVar) { in LLVMGetPreviousGlobal() argument
1647 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetPreviousGlobal()
1654 void LLVMDeleteGlobal(LLVMValueRef GlobalVar) { in LLVMDeleteGlobal() argument
1655 unwrap<GlobalVariable>(GlobalVar)->eraseFromParent(); in LLVMDeleteGlobal()
1658 LLVMValueRef LLVMGetInitializer(LLVMValueRef GlobalVar) { in LLVMGetInitializer() argument
1659 GlobalVariable* GV = unwrap<GlobalVariable>(GlobalVar); in LLVMGetInitializer()
1665 void LLVMSetInitializer(LLVMValueRef GlobalVar, LLVMValueRef ConstantVal) { in LLVMSetInitializer() argument
1666 unwrap<GlobalVariable>(GlobalVar) in LLVMSetInitializer()
1670 LLVMBool LLVMIsThreadLocal(LLVMValueRef GlobalVar) { in LLVMIsThreadLocal() argument
1671 return unwrap<GlobalVariable>(GlobalVar)->isThreadLocal(); in LLVMIsThreadLocal()
1674 void LLVMSetThreadLocal(LLVMValueRef GlobalVar, LLVMBool IsThreadLocal) { in LLVMSetThreadLocal() argument
1675 unwrap<GlobalVariable>(GlobalVar)->setThreadLocal(IsThreadLocal != 0); in LLVMSetThreadLocal()
1678 LLVMBool LLVMIsGlobalConstant(LLVMValueRef GlobalVar) { in LLVMIsGlobalConstant() argument
1679 return unwrap<GlobalVariable>(GlobalVar)->isConstant(); in LLVMIsGlobalConstant()
1682 void LLVMSetGlobalConstant(LLVMValueRef GlobalVar, LLVMBool IsConstant) { in LLVMSetGlobalConstant() argument
1683 unwrap<GlobalVariable>(GlobalVar)->setConstant(IsConstant != 0); in LLVMSetGlobalConstant()
1686 LLVMThreadLocalMode LLVMGetThreadLocalMode(LLVMValueRef GlobalVar) { in LLVMGetThreadLocalMode() argument
1687 switch (unwrap<GlobalVariable>(GlobalVar)->getThreadLocalMode()) { in LLVMGetThreadLocalMode()
1703 void LLVMSetThreadLocalMode(LLVMValueRef GlobalVar, LLVMThreadLocalMode Mode) { in LLVMSetThreadLocalMode() argument
1704 GlobalVariable *GV = unwrap<GlobalVariable>(GlobalVar); in LLVMSetThreadLocalMode()
1725 LLVMBool LLVMIsExternallyInitialized(LLVMValueRef GlobalVar) { in LLVMIsExternallyInitialized() argument
1726 return unwrap<GlobalVariable>(GlobalVar)->isExternallyInitialized(); in LLVMIsExternallyInitialized()
1729 void LLVMSetExternallyInitialized(LLVMValueRef GlobalVar, LLVMBool IsExtInit) { in LLVMSetExternallyInitialized() argument
1730 unwrap<GlobalVariable>(GlobalVar)->setExternallyInitialized(IsExtInit); in LLVMSetExternallyInitialized()