A CIL Tutorial - Department of Computer Science - ETH Zürich

A CIL Tutorial - Department of Computer Science - ETH Zürich A CIL Tutorial - Department of Computer Science - ETH Zürich

29.01.2014 Views

INDEX 134 computeFirstPredecessor, 4 computeOddEven, 4, 4 context for call, 9, 9 context for globals, 9, 9, 15 context for locals, 9, 9 context for struct, 9, 9 copy, 4 create def int string, 15, 15 create if str, 15, 15 create long options, 15, 15 create opt loop str, 15, 15 create short options, 15, 15 ctxt (type), 9, 9 ctxt add exp, 9, 9 ctxt add field, 9, 9 ctxt add var, 9, 9 current state, 4, 4 D (module), 14, 14 debug, 4, 4 default edge attributes, 14 default vertex attributes, 14 DF (module), 4, 4 doGuard, 4 doInstr, 4 doStmt, 4 dummyVar, 5, 9, 11, 15, 5, 9, 11, 15 E (module), 14, 6, 811, 14, 15, 14, 6, 810, 1315 edge attributes, 14 end loop (eld), 5, 5 end loop str, 5, 5 enqueueNodes, 10, 10 equal, 14 eraseAttrs, 15, 15 eraseColors, 8, 9, 8, 9 eraseNodeMarks, 10, 10 Even, 4, 4 evenOddAnalysis, 4, 4 ExactRGB, 9, 9 exactRGBStr, 9, 9 exactRGB of type, 9, 9 exp of ap, 9, 9, 15 exp of string, 9, 9 field of option, 15, 15 fileBuildGraph, 10, 10 filterStmt, 4 findColoredNodes, 10, 10 functionBuildGraph, 10, 10 functions (type), 5, 11 GA (module), 13 gatherArguments, 15, 15 getAssertAttr, 15, 15 getMainArgs, 15, 15 getOddEvens, 4, 4 get cur vml (method), 4, 4 get subgraph, 14 graph (type), 10, 10 graphAddEdge, 10, 10 graphBuilder (class), 10, 10 graphCreate, 10, 10 graph attributes, 14 graph of callgraph, 14, 14 Green, 8, 8 greenStr, 8, 8 H (module), 14, 14 handle field, 15, 15 hasArgAttr, 15, 15 hasAssertAttr, 15 hasCacheReportAttrs, 11, 11 hash, 14, 14 hasMandatoryAttr, 15, 15 has arg of argument, 15, 15 id of vm, 4, 4 IH (module), 4, 4 incoming (eld), 10, 10 initArgs, 15, 15 initCacheFunctions, 11, 11 initColorFunctions, 9, 9 initialize options, 15, 15 initTutFunctions, 5, 5 instrOddEvens, 4, 4 int code of argument, 15, 15 isArgType, 15, 15 isBlueType, 8 isCacheFun, 11 isCacheReportStmt, 11, 11

INDEX 135 isCacheReportType, 11, 11 isColorType, 8, 8 isGreenType, 8 isMandatoryType, 15, 15 isRedType, 8 isTutFun, 5 isTypeColor, 8, 8 iter edges e, 14, 14 iter vertex, 14, 14 kind of int64, 4, 4 kind of vm, 4, 4 L (module), 46, 811, 13, 15, 46, 811, 13, 15 last, 13, 13 loopInstrumenterClass (class), 5, 5 LowerRGB, 9, 9 lowerRGBStr, 9, 9 lowerRGB of type, 9, 9 makeArgChecks, 15, 15 makeArgStmts, 15, 15 makeArgument, 15, 15 makeCacheReportStmts, 11, 11 makeInstrStmts, 5, 5 make colorqual, 9, 9 mandatoryStr, 15, 15 markComment, 13, 13 mkColorEqInst, 9, 9 mkColorInst, 9, 9 mkColorLeInst, 9, 9 mkFunTyp, 5, 5 name, 4 name of argname, 15, 15 ncolors (eld), 10, 10 newNode, 10, 10 node (type), 10, 10 nodeAttr, 10, 10 nodeColorFinder (class), 10, 10 nodeStr, 10, 10 node of type, 10, 10 Odd, 4, 4 OddEven (module), 4, 4 OddEvenDF (module), 4, 4 oekind (type), 4, 4 oekind combine, 4, 4 oekind includes, 4 oekind neg, 4, 4 oekind of binop, 4, 4 oekind of exp, 4, 4 oekind of unop, 4, 4 old (label), 4 outgoing (eld), 10, 10 prepareCommentArray, 13, 13 pretty, 4 printComments, 13, 13 printHelp, 15, 15 processFunction, 3, 5, 6, 15, 3, 5, 6, 15 processNode, 10, 10 processQueue, 10, 10 Q (module), 10, 10 Red, 8, 8 redStr, 8, 8 req of exp, 15, 15 rgb (type), 9, 9 rgb of color, 9, 9 S (module), 810, 13, 15, 8, 9, 15 SG (module), 14, 14 sid, 4, 4 SM (module), 9, 9 state list, 4, 4 stmtStartData, 4, 4 string of arg opt, 15, 15 string of color, 8, 9, 9, 10 string of colors, 9 string of exp, 15, 15 string of oekind, 4, 4 string of rgb, 9, 9 string of short arg, 15, 15 string of varmap, 4, 4 string of varmap list, 4, 4 t (type), 4, 9, 14, 9, 10, 14 T (module), 10, 15, 10, 15 Top, 4, 4 tut0, 1 Tut0 (module), 1 tut1, 2 Tut1 (module), 2

INDEX 134<br />

computeFirstPredecessor, 4<br />

computeOddEven, 4, 4<br />

context for call, 9, 9<br />

context for globals, 9, 9, 15<br />

context for locals, 9, 9<br />

context for struct, 9, 9<br />

copy, 4<br />

create def int string, 15, 15<br />

create if str, 15, 15<br />

create long options, 15, 15<br />

create opt loop str, 15, 15<br />

create short options, 15, 15<br />

ctxt (type), 9, 9<br />

ctxt add exp, 9, 9<br />

ctxt add field, 9, 9<br />

ctxt add var, 9, 9<br />

current state, 4, 4<br />

D (module), 14, 14<br />

debug, 4, 4<br />

default edge attributes, 14<br />

default vertex attributes, 14<br />

DF (module), 4, 4<br />

doGuard, 4<br />

doInstr, 4<br />

doStmt, 4<br />

dummyVar, 5, 9, 11, 15, 5, 9, 11, 15<br />

E (module), 14, 6, 811, 14, 15, 14, 6, 810,<br />

1315<br />

edge attributes, 14<br />

end loop (eld), 5, 5<br />

end loop str, 5, 5<br />

enqueueNodes, 10, 10<br />

equal, 14<br />

eraseAttrs, 15, 15<br />

eraseColors, 8, 9, 8, 9<br />

eraseNodeMarks, 10, 10<br />

Even, 4, 4<br />

evenOddAnalysis, 4, 4<br />

ExactRGB, 9, 9<br />

exactRGBStr, 9, 9<br />

exactRGB <strong>of</strong> type, 9, 9<br />

exp <strong>of</strong> ap, 9, 9, 15<br />

exp <strong>of</strong> string, 9, 9<br />

field <strong>of</strong> option, 15, 15<br />

fileBuildGraph, 10, 10<br />

filterStmt, 4<br />

findColoredNodes, 10, 10<br />

functionBuildGraph, 10, 10<br />

functions (type), 5, 11<br />

GA (module), 13<br />

gatherArguments, 15, 15<br />

getAssertAttr, 15, 15<br />

getMainArgs, 15, 15<br />

getOddEvens, 4, 4<br />

get cur vml (method), 4, 4<br />

get subgraph, 14<br />

graph (type), 10, 10<br />

graphAddEdge, 10, 10<br />

graphBuilder (class), 10, 10<br />

graphCreate, 10, 10<br />

graph attributes, 14<br />

graph <strong>of</strong> callgraph, 14, 14<br />

Green, 8, 8<br />

greenStr, 8, 8<br />

H (module), 14, 14<br />

handle field, 15, 15<br />

hasArgAttr, 15, 15<br />

hasAssertAttr, 15<br />

hasCacheReportAttrs, 11, 11<br />

hash, 14, 14<br />

hasMandatoryAttr, 15, 15<br />

has arg <strong>of</strong> argument, 15, 15<br />

id <strong>of</strong> vm, 4, 4<br />

IH (module), 4, 4<br />

incoming (eld), 10, 10<br />

initArgs, 15, 15<br />

initCacheFunctions, 11, 11<br />

initColorFunctions, 9, 9<br />

initialize options, 15, 15<br />

initTutFunctions, 5, 5<br />

instrOddEvens, 4, 4<br />

int code <strong>of</strong> argument, 15, 15<br />

isArgType, 15, 15<br />

isBlueType, 8<br />

isCacheFun, 11<br />

isCacheReportStmt, 11, 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!