LLVMVisibility.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 05 Aug 2016 17:12:05 +0100
changeset 72 2c876bd46960
parent 14 c7dea3fcc5a7
child 79 6d6e5a3ec6b1
permissions -rw-r--r--
Added builder support for zext, sext and trunc IR instructions

"
    Copyright (C) 2015-now Jan Vrany

    This code is not an open-source (yet). You may use this code
    for your own experiments and projects, given that:

    * all modification to the code will be sent to the
      original author for inclusion in future releases
    * this is not used in any commercial software

    This license is provisional and may (will) change in
    a future.
"
"{ Package: 'jv:llvm_s' }"

"{ NameSpace: Smalltalk }"

SharedPool subclass:#LLVMVisibility
	instanceVariableNames:''
	classVariableNames:'LLVMDefaultVisibility LLVMHiddenVisibility
		LLVMProtectedVisibility'
	poolDictionaries:''
	category:'LLVM-S-Core-Constants'
!

!LLVMVisibility class methodsFor:'documentation'!

copyright
"
    Copyright (C) 2015-now Jan Vrany

    This code is not an open-source (yet). You may use this code
    for your own experiments and projects, given that:

    * all modification to the code will be sent to the
      original author for inclusion in future releases
    * this is not used in any commercial software

    This license is provisional and may (will) change in
    a future.
"
! !

!LLVMVisibility class methodsFor:'initialization'!

initialize

    LLVMDefaultVisibility := 0.
    LLVMHiddenVisibility := 1.
    LLVMProtectedVisibility := 2.
! !

!LLVMVisibility class methodsFor:'constants'!

LLVMDefaultVisibility

    ^LLVMDefaultVisibility
!

LLVMHiddenVisibility

    ^LLVMHiddenVisibility
!

LLVMProtectedVisibility

    ^LLVMProtectedVisibility
! !


LLVMVisibility initialize!