You are on page 1of 154

Resource Graphs

Thefollowi
nggraphshavebeenprovidedtohelptheprogramme runde
rst
andwhi ch
ma c
hineres
ourc
esarebeingusedbye achfunc
tion.Ther esourc
egraphsconta
ina
completeca
ll
-gr
aph,withter
minalnodesthatma yrepr
es e
ntSFRs ,f
oreac
hu sercal
labl
e
funct
ion.Thecompletecal
lgraphgivesanideaofthec omplexi
tyofaparti
cular
funct
ion.

Symbol Legend

· Adia
mondnoder e
pr e
sentsausercall
abl
efunct
ion.
· Anel
li
pti
calnodere
pr e
sentsaninte
rnalf
uncti
on.
· Abox(orboxli
kefigure
)r e
pres
e nt
sanSFRna me .

· Abl ackar
rowc onne
ctori
sadirectca
llfr
om thes
tart
ingnodet otheendingnode.
· Agr eenar
rowc onnect
ori
sanindirec
tcallf
rom t
hestar
tingnodet ot
hee ndi
ngnode.
· Ar edarr
owc onnect
orisaca
lltoa next
erna
llyde
fine
df unct
ion;nofurtherc
all
graphisavai
la
ble.
· Abl uear
rowc onnec
torre
pre
sentsarefe
renceint
hestart
ingnod etoanSFRi nthe
endingnode.

Function Names

Ingene
ralt
hefunct
ionname sin
s i
detheva ri
ousshapesrepre
sentt
hea ct
ua lf
uncti
on
name,t
houghther
ea r
einsta
nceswhe rethi si
snotthec a
se. Thee xecpt
ionsari
sefrom a
rena
mingofsomestandardI/
Of unct
ionswi t
hinthetool
chain;callstoprintf,f or
exampl
e,wil
lbereprese
ntedbythegr aphf or_dprintf.The s
ef unct
ionsarere
na med
toal
lowthecompil
er/li
nkertousenon- float
ingpointver
s i
onsofsomef unct
ionswhe n
poss
ibl
e.
abs
acos

sqrt R

__extendsfdf2 __subsf3 __divsf3 __truncdfsf2 __mulsf3 __addsf3 __divdf3 __subdf3 __adddf3 __muldf3
acosf

sqrtf R

__subsf3 __gesf2 __gtsf2 __divsf3 __addsf3 __mulsf3 __divdf3 __subdf3 __adddf3 __muldf3
asctime

__asctime

snprintf __nl_langinfo_l

vsnprintf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
asin

sqrt R fabs

__extendsfdf2 __subsf3 __divsf3 __truncdfsf2 __mulsf3 __addsf3 __divdf3 __subdf3 __adddf3 __muldf3
asinf

sqrt R fabsf

__mulsf3 __extendsfdf2 __truncdfsf2 __addsf3 __subsf3 __divsf3 __divdf3 __subdf3 __adddf3 __muldf3
atan

fabs __extendsfdf2 __divsf3 __subsf3 __addsf3 __FLOAT_BITS __mulsf3


atan2

atan

__subsf3 __divsf3 __extendsfdf2 fabs __addsf3 __FLOAT_BITS __mulsf3


atan2f

atanf

__addsf3 __FLOAT_BITS __mulsf3 __subsf3 __divsf3 fabsf


atanf

__subsf3 __divsf3 fabsf __FLOAT_BITS __addsf3 __mulsf3


atexit

__cxa_atexit call

calloc
atof

strtod

strtox __truncdfsf2

__floatscan

decfloat hexfloat __intscan

fmodl __umoddi3 fabsl __mulsi3 __umodsi3 __udivsi3 __divsi3 scalbnl __subdf3 scalbnf __adddf3 copysignl __extendsfdf2 __floatunsidf __nedf2 __gedf2 __floatsidf __floatsisf scanexp __udivdi3 __shlim __isspace

__divdf3 __LONG_DOUBLE_BITS __muldf3 __mulsf3 __shgetc __muldi3

__uflow

__toread
atoi

__isspace
atol

__isspace __mulsi3
brk
bsearch
ceil

__subsf3 __ltsf2 __addsf3 __eqsf2


ceilf

__addsf3
clock

__mulsi3 __clock_gettime __divsi3

gettimeofday __syscall_ret
close

doclose
cos

__cos __sin __rem_pio2 __extendsfdf2

__subsf3 __mulsf3 __addsf3 fabs __fixsfdi __divsf3 __floatdisf __fixsfsi


cosf

__cosdf __sindf __rem_pio2f

__subsf3 __mulsf3 __addsf3 __fixsfdi fabs __fixsfsi __floatdisf __divsf3


cosh

__expo2

exp expm1

__subsf3 __extendsfdf2 scalbn __ltsf2 __fixsfsi __gtsf2 __floatsisf __FLOAT_BITS __addsf3 __divsf3

__mulsf3
coshf

__expo2f

expf expm1f

scalbnf __subsf3 __addsf3 __fixsfsi __floatsisf __gtsf2 __ltsf2 __divsf3

__mulsf3
ctime

asctime localtime

__asctime __gmtime_r

__nl_langinfo_l snprintf __secs_to_tm

vsnprintf __moddi3 __modsi3 __muldi3 __divsi3 __divdi3

vfprintf

__printf_core

vfpfcnvrt

__pop_float __fmt_d __fmt_o __fmt_u __fmt_x __fmt_s __fmt_a __fmt_fp __pop_int __fmt_state __pop_ptr atoi

__extendsfdf2 __cvt_u __pad toupper strlen __LONG_DOUBLE_BITS __fixdfsi __muldf3 __divdf3 __ltdf2 floorl strcpy __gedf2 tolower __isspace

__out __umoddi3 __udivdi3 memset __subdf3 __adddf3 __gtdf2 __eqdf2 __stpcpy

__fwrite __string_out __mulsi3

write memcpy

dowrite
difftime

__floatunsisf
div
_exit

U1MODE U1STA
exp

__divsf3 __extendsfdf2 __addsf3 scalbn __fixsfsi __subsf3 __gtsf2 __floatsisf __FLOAT_BITS __ltsf2

__mulsf3
expf

__floatsisf __divsf3 __subsf3 __fixsfsi __addsf3 scalbnf

__mulsf3
fabs
fabsf
fclose

__fclose __fclose_ofl free


feof
ferror
fflush

__fflush_ofl __fclose
fgets

memcpy memchr getc_unlocked


floor

__addsf3 __subsf3 __gtsf2 __eqsf2


floorf

__addsf3
fmod

__FLOAT_BITS __divsf3 __mulsf3


fmodf

__mulsf3 __divsf3 __FLOAT_BITS


fopen

__fmodeflags __fdopen open

strchr __fopen __ofl_add doopen

__strchrnul __fopen_rw __stdio_close

strlen memset malloc __stdio_read __stdio_seek_rw __stdio_close_rw

__mulsi3 readv __stdio_seek_unbuffered close

lseek doclose

dolseek
fprintf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
fputs

fwrite strlen

__fwrite

write

dowrite
fread

memcpy __toread
freopen

fopen fflush fclose __dup3

__fdopen open __fmodeflags __fflush_ofl __fclose __fclose_ofl free

__ofl_add __fopen strchr doopen

__stdio_close __fopen_rw __strchrnul

malloc __stdio_close_rw __stdio_seek_rw memset __stdio_read strlen

close __stdio_seek_unbuffered __mulsi3 readv

doclose lseek

dolseek
frexp

__nesf2 __mulsf3
frexpf

__mulsf3 __nesf2
fscanf

vfscanf

__scanf_core

vfsfcnvrt

__scan_d __scan_u __scan_o __scan_i __scan_x __scan_fp __fmt_state __push_float __push_int

strtoll __read_int strtoull strtold __consumews isxdigit __scan_s is_inf_nan __truncdfsf2

strtox atoi __skipws tolower

__intscan __floatscan memset

hexfloat decfloat __isspace

__shlim __udivdi3 __floatsidf scalbnf __subdf3 scalbnl __nedf2 __adddf3 copysignl __extendsfdf2 __floatunsidf __gedf2 __floatsisf scanexp __umoddi3 fabsl __umodsi3 __udivsi3 __divsi3 fmodl __mulsi3

__muldi3 __mulsf3 __muldf3 __LONG_DOUBLE_BITS __divdf3 __shgetc

__uflow

__toread
fseek

__fseeko
fsetpos

__fseeko
ftell

__ftello

lseek __ftello_adj

dolseek __ftello_adj_rw
fwrite

__fwrite

write

dowrite
getc

__uflow

__toread
getchar

fgetc
getenv

strncmp __strchrnul

strlen
gets

fgets strlen

memcpy memchr getc_unlocked


gmtime

__gmtime_r

__secs_to_tm

__divdi3 __mulsi3 __moddi3 __modsi3 __muldi3 __divsi3


isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct

isalnum
isspace
isupper
isxdigit
labs
ldexp

scalbn

__mulsf3
ldexpf

scalbnf

__mulsf3
ldiv

__modsi3 __divsi3
log

__addsf3 __divsf3 __subsf3 __floatsisf __mulsf3


log10

__floatsisf __mulsf3 __addsf3 __subsf3 __divsf3


log10f

__floatsisf __mulsf3 __addsf3 __subsf3 __divsf3


logf

__mulsf3 __floatsisf __divsf3 __subsf3 __addsf3


lseek

dolseek
mblen

mbtowc
mbstowcs

mbsrtowcs

strlen
mbtowc
memchr
memcmp
memcpy
memmove

memcpy
memset

__mulsi3
mktime

__tm_to_secs

__secs_to_tm __year_to_secs __month_to_secs

__divdi3 __modsi3 __divsi3 __moddi3 __mulsi3 __muldi3


modf

__subsf3
modff

__subsf3
open

doopen
perror

strerror fputc strlen fwrite

__strerror_l __fwrite

write

dowrite
pow

fabs __gtsf2 __floatsisf sqrt __lesf2 scalbn

__subsf3 __truncdfsf2 __extendsfdf2 __divsf3 __addsf3 __mulsf3


powf

scalbnf sqrtf __floatsisf fabsf __lesf2

__mulsf3 __subsf3 __gtsf2 __gesf2 __addsf3 __divsf3


printf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
putc

__putc

__putc_unbuffered __overflow

__fwrite __towrite

write __towrite_rw

dowrite
putchar

fputc
puts

fputs putc_unlocked

fwrite strlen

__fwrite

write

dowrite
qsort

trinkle shl

shr pntz sift

a_ctz_l cycle

memcpy
rand

__mulsi3
read

doread
remove

doremove
rename

dorename
rewind

__fseeko_unlocked
sbrk

brk
scanf

vscanf

vfscanf

__scanf_core

vfsfcnvrt

__scan_d __scan_u __scan_o __scan_i __scan_x __scan_fp __fmt_state __push_float __push_int

strtoll __read_int strtoull strtold __consumews isxdigit __scan_s is_inf_nan __truncdfsf2

strtox atoi __skipws tolower

__intscan __floatscan memset

hexfloat decfloat __isspace

__shlim __udivdi3 __floatsidf scalbnf __subdf3 scalbnl __nedf2 __adddf3 copysignl __extendsfdf2 __floatunsidf __gedf2 __floatsisf scanexp __umoddi3 fabsl __umodsi3 __udivsi3 __divsi3 fmodl __mulsi3

__muldi3 __mulsf3 __muldf3 __LONG_DOUBLE_BITS __divdf3 __shgetc

__uflow

__toread
setbuf

setvbuf

malloc __stdio_write_buffered

__towrite memcpy __do_write

__towrite_rw
setvbuf

malloc __stdio_write_buffered

__towrite memcpy __do_write

__towrite_rw
signal
sin

__cos __sin __rem_pio2 __extendsfdf2

__mulsf3 __addsf3 __subsf3 fabs __fixsfdi __divsf3 __floatdisf __fixsfsi


sinf

__sindf __cosdf __rem_pio2f

__addsf3 __subsf3 __mulsf3 __fixsfdi fabs __fixsfsi __floatdisf __divsf3


sinh

__expo2

exp expm1

__subsf3 __extendsfdf2 scalbn __floatsisf __FLOAT_BITS __ltsf2 __fixsfsi __gtsf2 __divsf3 __addsf3

__mulsf3
sinhf

__expo2f

expf expm1f

__subsf3 scalbnf __floatsisf __addsf3 __fixsfsi __gtsf2 __ltsf2 __divsf3

__mulsf3
sprintf

vsprintf

vsnprintf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
sqrt

__subsf3 __divsf3 __extendsfdf2 __addsf3 __truncdfsf2 __mulsf3


sqrtf

__subsf3 __divsf3 __addsf3 __gesf2 __mulsf3 __gtsf2


srand
sscanf

vsscanf

do_read vfscanf

__string_read __scanf_core

memcpy memchr vfsfcnvrt

__scan_d __scan_u __scan_o __scan_i __scan_x __scan_fp __fmt_state __push_float __push_int

strtoll __read_int strtoull strtold __consumews isxdigit __scan_s is_inf_nan __truncdfsf2

strtox atoi __skipws tolower

__intscan __floatscan memset

hexfloat decfloat __isspace

__shlim __udivdi3 __floatsidf scalbnf __subdf3 scalbnl __nedf2 __adddf3 copysignl __extendsfdf2 __floatunsidf __gedf2 __floatsisf scanexp __umoddi3 fabsl __umodsi3 __udivsi3 __divsi3 fmodl __mulsi3

__muldi3 __mulsf3 __muldf3 __LONG_DOUBLE_BITS __divdf3 __shgetc

__uflow

__toread
strcat

strlen strcpy

__stpcpy
strchr

__strchrnul

strlen
strcmp
strcoll

__strcoll_l

strcmp
strcpy

__stpcpy
strcspn

__strchrnul memset

strlen __mulsi3
strerror

__strerror_l
strftime

__strftime_l

strtoul __strftime_fmt_1

week_num __modsi3 abs __divdi3 __nl_langinfo_l __tm_to_tzname snprintf

is_leap do_tzset vsnprintf

getrule getname malloc vfprintf

strtox getoff __printf_core

__floatscan getint vfpfcnvrt

__intscan atoi hexfloat __pop_float decfloat __tm_to_secs __fmt_o __fmt_d __fmt_u __fmt_fp __fmt_x __fmt_a __fmt_s __pop_int __fmt_state __pop_ptr

__isspace __shlim scanexp __floatsisf __floatunsidf __floatsidf __nedf2 __extendsfdf2 copysignl scalbnf scalbnl __umodsi3 __udivsi3 fmodl __gedf2 fabsl __year_to_secs __divsi3 __month_to_secs __cvt_u floorl __pad tolower __ltdf2 __fixdfsi strcpy toupper strlen

__shgetc __mulsf3 __muldi3 __udivdi3 __muldf3 __divdf3 __moddi3 __umoddi3 __adddf3 __subdf3 __LONG_DOUBLE_BITS __gtdf2 __eqdf2 memset __out __stpcpy

__uflow __mulsi3 __fwrite __string_out

__toread write memcpy

dowrite
strlen
strncat

strlen
strncmp
strncpy

__stpncpy

memset

__mulsi3
strpbrk

strcspn

__strchrnul memset

strlen __mulsi3
strrchr

__memrchr strlen
strspn
strstr

threebyte_strstr strchr twobyte_strstr twoway_strstr fourbyte_strstr

__strchrnul memchr memcmp

strlen
strtod

strtox __truncdfsf2

__floatscan

decfloat hexfloat __intscan

fmodl __umoddi3 fabsl __mulsi3 __umodsi3 __udivsi3 __divsi3 scalbnl __subdf3 scalbnf __adddf3 copysignl __extendsfdf2 __floatunsidf __nedf2 __gedf2 __floatsidf __floatsisf scanexp __udivdi3 __shlim __isspace

__divdf3 __LONG_DOUBLE_BITS __muldf3 __mulsf3 __shgetc __muldi3

__uflow

__toread
strtok

strcspn strspn

__strchrnul memset

strlen __mulsi3
strtol

strtox

__floatscan

decfloat hexfloat __intscan

fmodl __umoddi3 fabsl __mulsi3 __umodsi3 __udivsi3 __divsi3 scalbnl __subdf3 scalbnf __adddf3 copysignl __extendsfdf2 __floatunsidf __nedf2 __gedf2 __floatsidf __floatsisf scanexp __udivdi3 __shlim __isspace

__divdf3 __LONG_DOUBLE_BITS __muldf3 __mulsf3 __shgetc __muldi3

__uflow

__toread
strtoul

strtox

__floatscan

decfloat hexfloat __intscan

fmodl __umoddi3 fabsl __mulsi3 __umodsi3 __udivsi3 __divsi3 scalbnl __subdf3 scalbnf __adddf3 copysignl __extendsfdf2 __floatunsidf __nedf2 __gedf2 __floatsidf __floatsisf scanexp __udivdi3 __shlim __isspace

__divdf3 __LONG_DOUBLE_BITS __muldf3 __mulsf3 __shgetc __muldi3

__uflow

__toread
strxfrm

__strxfrm_l

strlen strcpy

__stpcpy
system

printf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
tan

__rem_pio2 __tan

fabs __fixsfdi __floatdisf __fixsfsi __divsf3 __addsf3 __mulsf3 __truncdfsf2 __subsf3 __floatsisf __extendsfdf2
tanf

__tandf __rem_pio2f

__subsf3 __addsf3 __mulsf3 __divsf3 fabs __fixsfsi __floatdisf __fixsfdi


tanh

expm1

__addsf3 __subsf3 __divsf3 __fixsfsi __floatsisf __gtsf2 __ltsf2 __FLOAT_BITS __mulsf3


tanhf

expm1f

__mulsf3 __floatsisf __gtsf2 __fixsfsi __ltsf2 __subsf3 __divsf3 __addsf3


time

TMR2 __clock_gettime T2CON

gettimeofday __syscall_ret
tmpnam

close strcpy open __randname

doclose __stpcpy doopen


tolower
toupper
ungetc

__toread
vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
vprintf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
vsprintf

vsnprintf

vfprintf

__printf_core

vfpfcnvrt

atoi __fmt_fp __fmt_a __fmt_s __fmt_x __fmt_u __fmt_o __fmt_d __pop_float __pop_int __fmt_state __pop_ptr

__isspace tolower __gedf2 floorl __fixdfsi __muldf3 strcpy __divdf3 __LONG_DOUBLE_BITS __ltdf2 strlen toupper __pad __cvt_u __extendsfdf2

__subdf3 __gtdf2 __adddf3 __eqdf2 __stpcpy memset __umoddi3 __udivdi3 __out

__mulsi3 __string_out __fwrite

memcpy write

dowrite
wctomb

wcrtomb
write

dowrite

You might also like