SPeCS Packages Documentation
Preparing search index...
@specs-feup/clava-code-transforms
hoisting/AHoister
AHoister
Class AHoister
Abstract
Hierarchy (
View Summary
)
AdvancedTransform
AHoister
CallHoister
MallocHoister
Index
Constructors
constructor
Methods
get
Function
Chain
get
Target
Point
get
Transform
Name
hoist
is
Silent
is
Struct
Pointer
log
log
Error
log
Line
log
Warning
rebuild
After
Transform
set
Silent
set
Transform
Name
simple
Type
verify
Hoist
Conditions
Constructors
constructor
new
AHoister
(
silent
?:
boolean
,
name
?:
string
)
:
AHoister
Parameters
silent
:
boolean
= false
name
:
string
= "AHoister"
Returns
AHoister
Methods
Protected
get
Function
Chain
getFunctionChain
(
startingPoint
:
FunctionJp
|
undefined
)
:
FunctionJp
[]
Parameters
startingPoint
:
FunctionJp
|
undefined
Returns
FunctionJp
[]
Protected
get
Target
Point
getTargetPoint
(
targetPoint
?:
string
|
FunctionJp
)
:
FunctionJp
|
undefined
Parameters
Optional
targetPoint
:
string
|
FunctionJp
Returns
FunctionJp
|
undefined
get
Transform
Name
getTransformName
()
:
string
Returns
string
Protected
Abstract
hoist
hoist
(
call
:
Call
,
targetPoint
:
FunctionJp
)
:
boolean
Parameters
call
:
Call
targetPoint
:
FunctionJp
Returns
boolean
is
Silent
isSilent
()
:
boolean
Returns
boolean
Protected
is
Struct
Pointer
isStructPointer
(
retVarType
:
Type
)
:
boolean
Parameters
retVarType
:
Type
Returns
boolean
Protected
log
log
(
msg
:
string
,
level
?:
"INFO"
|
"WARN"
|
"ERROR"
)
:
void
Parameters
msg
:
string
level
:
"INFO"
|
"WARN"
|
"ERROR"
= "INFO"
Returns
void
Protected
log
Error
logError
(
msg
:
string
)
:
void
Parameters
msg
:
string
Returns
void
Protected
log
Line
logLine
(
len
?:
number
)
:
void
Parameters
len
:
number
= 65
Returns
void
Protected
log
Warning
logWarning
(
msg
:
string
)
:
void
Parameters
msg
:
string
Returns
void
Protected
rebuild
After
Transform
rebuildAfterTransform
()
:
boolean
Returns
boolean
set
Silent
setSilent
(
silent
:
boolean
)
:
void
Parameters
silent
:
boolean
Returns
void
Protected
set
Transform
Name
setTransformName
(
name
:
string
)
:
void
Parameters
name
:
string
Returns
void
Protected
simple
Type
simpleType
(
type
:
Type
,
removeSignedInfo
?:
boolean
)
:
string
Parameters
type
:
Type
removeSignedInfo
:
boolean
= false
Returns
string
Protected
verify
Hoist
Conditions
verifyHoistConditions
(
call
:
Call
,
targetPoint
:
FunctionJp
)
:
boolean
Parameters
call
:
Call
targetPoint
:
FunctionJp
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Function
Chain
get
Target
Point
get
Transform
Name
hoist
is
Silent
is
Struct
Pointer
log
log
Error
log
Line
log
Warning
rebuild
After
Transform
set
Silent
set
Transform
Name
simple
Type
verify
Hoist
Conditions
SPeCS Packages Documentation
Loading...