Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniJavaCompiler/MiniJavaLLVM
/ functions
Functions
860 in github.com/MiniJavaCompiler/MiniJavaLLVM
⨍
Functions
860
◇
Types & classes
136
↓ 2 callers
Method
spillAll
(int free)
src/codegen/Assembly.java:155
↓ 2 callers
Method
spillFor
(int n)
src/codegen/Assembly.java:121
↓ 2 callers
Method
spillTo
(int free, String target_reg)
src/codegen/Assembly.java:137
↓ 2 callers
Method
thisOffset
(int sizeParams)
src/codegen/Assembly.java:287
↓ 2 callers
Method
typeInvocation
Calculate the type of this method invocation.
src/syntax/Invocation.java:51
↓ 2 callers
Method
updateBody
(Statement new_body)
src/checker/MethEnv.java:106
↓ 2 callers
Function
verify_reserve_heap
perform heap verification after collection. Die if inconsistencies exist within the heap*/
src/runtime_llvm.c:280
↓ 2 callers
Method
vtName
(ClassType cls)
src/codegen/Assembly.java:276
↓ 2 callers
Method
whereIsTmp
(int x86_tmp, int free)
src/codegen/Assembly.java:198
↓ 1 callers
Method
accessible
Determine whether an entity with these modifiers that was defined in the specified homeClass can be accessed from a reference that appears in code i
src/syntax/Modifiers.java:56
↓ 1 callers
Method
addField
Add a new field to this class.
src/syntax/ClassType.java:352
↓ 1 callers
Method
addStringLiteral
(StringLiteral s)
src/checker/Context.java:57
↓ 1 callers
Method
addToClass
Add a declared item to a specified class.
src/syntax/MethDecl.java:55
↓ 1 callers
Method
addToClass
Add a declared item to a specified class.
src/syntax/Decls.java:67
↓ 1 callers
Method
addToVTable
Add entries from this method environment to the vtable for the enclosing class.
src/checker/MethEnv.java:246
↓ 1 callers
Method
aindirect
(String s)
src/codegen/Assembly.java:254
↓ 1 callers
Method
appendStatement
(Statement new_s)
src/syntax/Block.java:41
↓ 1 callers
Method
argsToVarEnv
(Context ctxt, VarEnv env, Args args)
src/checker/VarEnv.java:60
↓ 1 callers
Method
asMethod
Lookup name as a method.
src/syntax/Name.java:116
↓ 1 callers
Method
assembleToFile
A convenience method that creates an assembly object for a named output file.
src/codegen/Assembly.java:51
↓ 1 callers
Method
backStep
()
src/lexer/MjcLexer.java:363
↓ 1 callers
Method
branchTrue
Generate code to evaluate this expression and branch to a specified label if the result is true.
src/syntax/BitOpExpr.java:64
↓ 1 callers
Method
buildArrayExprName
(Position pos, Type elementType)
src/syntax/NewArrayExpr.java:35
↓ 1 callers
Method
buildArrayExtends
(Position pos)
src/syntax/ArrayType.java:47
↓ 1 callers
Method
buildDecls
(Position pos, Type elementType)
src/syntax/ArrayType.java:54
↓ 1 callers
Method
buildGlobalFns
(Module mod)
src/codegen/LLVM.java:171
↓ 1 callers
Method
check
A method for invoking the compiler without going through any particular user interface.
src/checker/Checker.java:57
↓ 1 callers
Method
checkArgs
Check the arguments for an invocation against the formal parameters.
src/checker/VarEnv.java:76
↓ 1 callers
Method
checkArgs
Check the arguments for an invocation against the formal parameters.
src/checker/MethEnv.java:172
↓ 1 callers
Method
checkClasses
Top-level checking of the class declarations that are included in the input program.
src/checker/Context.java:131
↓ 1 callers
Method
checkExpr
Type check this expression in places where it is used as a statement. We override this method in Invocation to deal with methods that return void.
src/syntax/Invocation.java:44
↓ 1 callers
Method
checkFields
Check a list of field definitions.
src/checker/FieldEnv.java:92
↓ 1 callers
Method
checkMain
Checks to ensure that the program has a class method "main" in a class "Main" that takes no parameters and returns no result.
src/checker/Context.java:255
↓ 1 callers
Method
checkMembers
Detailed static analysis for each of the members (fields and methods) of the classes in this program.
src/checker/Context.java:242
↓ 1 callers
Method
checkMethod
Static analysis on a method body
src/checker/MethEnv.java:205
↓ 1 callers
Method
checkMethods
Static analysis on a list of method definitions.
src/checker/MethEnv.java:197
↓ 1 callers
Method
cleanUp
(LLVM l)
src/codegen/LLVM.java:74
↓ 1 callers
Method
close
Close the input stream and any associated resources. The default for this method is to do nothing.
src/compiler/JavaSource.java:177
↓ 1 callers
Method
close
Close this lexer. Calling this method signals that this lexer will not be used again, and allows the implementation to free up any resources that i
src/compiler/Lexer.java:123
↓ 1 callers
Method
close
Close this Assembly object and free up associated resources.
src/codegen/Assembly.java:62
↓ 1 callers
Method
commutes
Return a false value to indicate that, in general, binary operators are not commutative.
src/syntax/BinaryOp.java:59
↓ 1 callers
Method
compare
(self)
runTests.py:39
↓ 1 callers
Method
compare
(Value.COMPARE_OP op, Value v)
src/interp/Value.java:76
↓ 1 callers
Method
compile
A method for invoking the compiler without going through any particular user interface.
src/Compiler.java:93
↓ 1 callers
Method
compileExpr
Generate code to evaluate this expression and leave the result in the specified free variable.
src/syntax/ArrayLiteral.java:97
↓ 1 callers
Method
compileExpr
Generate code to evaluate this expression and leave the result in the specified free variable.
src/syntax/TmpAccess.java:60
↓ 1 callers
Method
compileExpr
Generate code to evaluate this expression and leave the result in the specified free variable.
src/syntax/ObjectAccess.java:62
↓ 1 callers
Method
compileField
Output the code to reserve space for a declared field. Only the static fields need space reserved in this way; space for non-static fields is alloc
src/checker/FieldEnv.java:126
↓ 1 callers
Method
compileFields
Compile a list of (global) variable definitions.
src/checker/FieldEnv.java:116
↓ 1 callers
Method
compileInvocation
Generate code for this method invocation, leaving the result in the specified free variable.
src/syntax/Invocation.java:76
↓ 1 callers
Method
compileMethod
Generate the code for a method body.
src/checker/MethEnv.java:264
↓ 1 callers
Method
compileMethods
Generate the code for a list of method bodies.
src/checker/MethEnv.java:256
↓ 1 callers
Method
compileRet
Emit code that executes this statement and then returns from the current method.
src/syntax/Block.java:85
↓ 1 callers
Method
compileThen
Emit code that executes this statement and then branches to a specified label.
src/syntax/While.java:73
↓ 1 callers
Method
compileThen
Emit code that executes this statement and then branches to a specified label.
src/syntax/IfThenElse.java:84
↓ 1 callers
Method
concreteMethods
(Context ctxt)
src/syntax/InterfaceType.java:56
↓ 1 callers
Method
copy
Copy a source position.
src/compiler/Position.java:66
↓ 1 callers
Method
copyOut
(self)
runTests.py:70
↓ 1 callers
Method
createRefs
(self)
runTests.py:238
↓ 1 callers
Method
defaultExpr
(Position pos)
src/syntax/Type.java:113
↓ 1 callers
Method
defaultValue
()
src/syntax/ClassType.java:573
↓ 1 callers
Method
describe
Return a printable description of the source.
src/compiler/Source.java:34
↓ 1 callers
Method
describe
Obtain a printable description of the source position.
src/compiler/Position.java:38
↓ 1 callers
Method
describe
Obtain a printable description of the source position.
src/compiler/SourcePosition.java:74
↓ 1 callers
Method
describe
Construct a printable description of this environment entry for use in error diagnostics.
src/checker/MemberEnv.java:41
↓ 1 callers
Method
displayToken
(int tok, Object semantic)
src/lexer/Test.java:62
↓ 1 callers
Method
emitPrologue
(String fname, int localBytes)
src/codegen/Assembly.java:316
↓ 1 callers
Method
emitStart
(String filename, Context ctxt)
src/codegen/Assembly.java:291
↓ 1 callers
Method
emitVTable
(ClassType cls, int width, MethEnv[] vtab)
src/codegen/Assembly.java:177
↓ 1 callers
Method
emitVar
(FieldEnv env, int size)
src/codegen/Assembly.java:331
↓ 1 callers
Method
eqCall
(VarEnv ps, VarEnv qs)
src/checker/VarEnv.java:116
↓ 1 callers
Method
eqCall
(VarEnv params)
src/checker/MethEnv.java:192
↓ 1 callers
Method
eqTypes
Test to see whether two variable environments (representing formal parameters to a function) have the same types.
src/checker/VarEnv.java:107
↓ 1 callers
Method
eval
Evaluate this expression.
src/syntax/ObjectAccess.java:79
↓ 1 callers
Method
exec
Execute this statement. If the statement is terminated by a return statement, return the corresponding value. Otherwise, a null indicates that no
src/syntax/Empty.java:56
↓ 1 callers
Method
findByName
Look for the entry corresponding to a particular identifier in a given environment.
src/checker/MethEnv.java:136
↓ 1 callers
Method
findCall
(String name, VarEnv params, MethEnv env)
src/checker/MethEnv.java:154
↓ 1 callers
Method
findMethodByName
Look for a method by name in this class.
src/syntax/ClassType.java:419
↓ 1 callers
Method
fitToFrame
Assign offsets that map the identifiers in this environment to appropriate locations in a stack frame.
src/checker/VarEnv.java:126
↓ 1 callers
Function
gc_major
src/runtime_llvm.c:533
↓ 1 callers
Function
gc_minor
* * Simple generational collection (appel algorithm) * ******************************************************************/
src/runtime_llvm.c:493
↓ 1 callers
Method
getBool
Convert this value into a Boolean, or fail with an error message if this value does not represent a Boolean.
src/interp/BoolValue.java:41
↓ 1 callers
Method
getChar
Convert this value into a Boolean, or fail with an error message if this value does not represent a Boolean.
src/interp/CharValue.java:38
↓ 1 callers
Method
getChar
()
src/interp/Value.java:71
↓ 1 callers
Method
getDepth
()
src/codegen/LLVM.java:82
↓ 1 callers
Method
getElem
Get the value stored in a particular slot of this array value.
src/interp/ArrayValue.java:57
↓ 1 callers
Method
getFrame
Return the value of this variable from the current stack frame.
src/checker/VarEnv.java:152
↓ 1 callers
Method
getHandler
Return the handler for this phase.
src/compiler/Phase.java:37
↓ 1 callers
Method
getInt
Convert this value into an int, or fail with an error message if this value does not represent an integer.
src/interp/IntValue.java:33
↓ 1 callers
Method
getInterpRelOp
()
src/syntax/RelOpExpr.java:70
↓ 1 callers
Method
getLine
Return the text of a specific line, if it is available. If the requested source line is not available, then a null is returned. This mechanism is u
src/compiler/Source.java:62
↓ 1 callers
Method
getLineNo
Return the current line number. By convention, we use 0 to indicate the absence of a line number; counting for regular lines begins at 1.
src/compiler/Source.java:46
↓ 1 callers
Method
getLocalBytes
Return the number of bytes that are needed for local variables.
src/checker/Context.java:279
↓ 1 callers
Method
getLocals
Returns the number of bytes used for local variables in this method.
src/checker/MethEnv.java:239
↓ 1 callers
Method
getMethods
()
src/syntax/ClassType.java:88
↓ 1 callers
Method
getMods
()
src/syntax/Decls.java:31
↓ 1 callers
Method
getName
()
src/codegen/LLVM.java:85
↓ 1 callers
Method
getNumFailures
()
src/compiler/Handler.java:37
↓ 1 callers
Method
getObj
Convert this value into an ObjValue, or fail with an error message if this value does not represent an object.
src/interp/ObjValue.java:42
↓ 1 callers
Method
getPos
Return a position describing where the current token was found. This method is abstract because different types of lexer will need to return differ
src/compiler/Lexer.java:106
← previous
next →
201–300 of 860, ranked by callers