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
↓ 4 callers
Method
llvmType
()
src/checker/MethEnv.java:308
↓ 4 callers
Method
loadField
Generate code to load the value of a field from an object whose address is passed in through the current free register.
src/checker/FieldEnv.java:155
↓ 4 callers
Function
print_heap_region
debug function for listing heap content */
src/runtime_llvm.c:223
↓ 4 callers
Method
push
Evaluate the arguments in this list and push them on to the stack.
src/syntax/Args.java:81
↓ 4 callers
Method
set
(int mask)
src/syntax/Modifiers.java:44
↓ 4 callers
Method
setCurrClass
Set the current class for this context.
src/checker/Context.java:83
↓ 3 callers
Method
b2f
Describes the mapping from bytes in compiled object positions to field numbers in ObjValues.
src/interp/ObjValue.java:52
↓ 3 callers
Method
branchFalse
Generate code to evaluate this expression and branch to a specified label if the result is false.
src/syntax/CondAndExpr.java:74
↓ 3 callers
Method
branchTrue
Generate code to evaluate this expression and branch to a specified label if the result is true.
src/syntax/CondOrExpr.java:84
↓ 3 callers
Method
buildArrayName
(Position pos, Type t)
src/syntax/ArrayType.java:44
↓ 3 callers
Method
check
Check whether this statement is valid and return a boolean indicating whether execution can continue at the next statement.
src/syntax/Statement.java:41
↓ 3 callers
Method
checkClass
Check this class definition to make sure that there are no cycles in the class hierarchy, and to process (but not yet check) any definitions that it
src/syntax/ClassType.java:150
↓ 3 callers
Method
checkNull
Test to see if this is a null object, in which case we report an error and abort.
src/interp/ObjValue.java:59
↓ 3 callers
Method
compileExpr
Generate code to evaluate this expression and leave the result in the specified free variable.
src/syntax/ArrayAccess.java:73
↓ 3 callers
Method
compileExpr
Generate code to evaluate this expression and leave the result in the specified free variable.
src/syntax/Expression.java:75
↓ 3 callers
Method
emitEpilogue
()
src/codegen/Assembly.java:325
↓ 3 callers
Method
enterScope
()
src/codegen/LLVM.java:126
↓ 3 callers
Method
eval
Evaluate this expression.
src/syntax/ArrayAccess.java:109
↓ 3 callers
Method
fileCheck
(self)
runTests.py:63
↓ 3 callers
Method
find
Look for the entry corresponding to a particular identifier in a given environment.
src/checker/VarEnv.java:53
↓ 3 callers
Function
gc_copy
* * Basic copying collection (modified cheney algorithm) * ******************************************************************/
src/runtime_llvm.c:589
↓ 3 callers
Method
getClassId
()
src/syntax/ClassType.java:74
↓ 3 callers
Method
getClasses
()
src/checker/Context.java:67
↓ 3 callers
Method
getId
Returns the identifier for this entry.
src/checker/Env.java:42
↓ 3 callers
Method
getLLVMVtable
()
src/syntax/ClassType.java:538
↓ 3 callers
Method
getNext
Returns the next argument in this list.
src/syntax/VarDecls.java:50
↓ 3 callers
Method
getNext
()
src/checker/MethEnv.java:130
↓ 3 callers
Method
getSlot
Returns the slot number for this method in the vtable.
src/checker/MethEnv.java:226
↓ 3 callers
Method
getStmts
()
src/syntax/Block.java:38
↓ 3 callers
Method
getSuper
Return the superclass, if any, of this class.
src/syntax/ClassType.java:310
↓ 3 callers
Method
getWidth
()
src/syntax/Type.java:100
↓ 3 callers
Method
isConstructor
()
src/checker/MethEnv.java:112
↓ 3 callers
Method
llvmField
(LLVM l, org.llvm.Value object)
src/checker/FieldEnv.java:203
↓ 3 callers
Method
llvmGen
(LLVM l)
src/syntax/ArrayAccess.java:125
↓ 3 callers
Method
llvmTypeField
()
src/checker/MethEnv.java:324
↓ 3 callers
Method
newObject
Construct an object for a new object of this class.
src/syntax/ClassType.java:562
↓ 3 callers
Method
next
()
src/util/ListIterator.java:33
↓ 3 callers
Method
nextLine
()
src/compiler/SourceLexer.java:64
↓ 3 callers
Method
noFailures
Indicate whether any failures have been reported to this context.
src/checker/Context.java:115
↓ 3 callers
Method
nonStaticFields
()
src/syntax/ClassType.java:461
↓ 3 callers
Method
possibleInstances
()
src/syntax/ClassType.java:327
↓ 3 callers
Method
sameId
Determine whether two identifiers have the same name, ignoring position details.
src/syntax/Id.java:43
↓ 3 callers
Method
setNamedValue
(boolean needsCleanup, TypeRef t, String s, Value v)
src/codegen/LLVM.java:121
↓ 3 callers
Method
staticName
Mangle the class and field name to make a label for a global (static) field.
src/checker/FieldEnv.java:177
↓ 3 callers
Method
vtAddr
(ClassType cls)
src/codegen/Assembly.java:279
↓ 3 callers
Function
which_heap
src/runtime_llvm.c:432
↓ 2 callers
Method
addMethod
Add a new method to this class.
src/syntax/ClassType.java:378
↓ 2 callers
Method
asValue
Lookup name as a value.
src/syntax/Name.java:87
↓ 2 callers
Method
b2p
Describes the mapping from byte offsets in the compiler stack frame to absolute positions in the stack.
src/interp/State.java:57
↓ 2 callers
Method
call
Call this method with a particular object and set of arguments.
src/checker/MethEnv.java:417
↓ 2 callers
Method
checkIdx
Test to see if this is a null object, in which case we report an error and abort.
src/interp/ArrayValue.java:49
↓ 2 callers
Method
commonCons
(Type type, Expression [] literals)
src/syntax/ArrayLiteral.java:42
↓ 2 callers
Method
compareRefs
(self)
runTests.py:138
↓ 2 callers
Method
compile
Emit code to execute this statement.
src/syntax/Block.java:65
↓ 2 callers
Method
compile
Emit code to execute this statement.
src/syntax/Return.java:78
↓ 2 callers
Method
compile
Emit code to execute this statement.
src/syntax/Statement.java:55
↓ 2 callers
Method
compile
Generate code for each of the fields and methods in this class.
src/syntax/ClassType.java:456
↓ 2 callers
Method
compileExprOp
(Assembly a, String op, int free)
src/syntax/IntLiteral.java:87
↓ 2 callers
Method
emitIndexAddr
( int dst_reg, int base_reg, int elem_size, int index_reg, int offset)
src/codegen/Assembly.java:257
↓ 2 callers
Method
emitStaticString
(Assembly a, int n)
src/syntax/StringLiteral.java:74
↓ 2 callers
Method
eqMethSig
Test to see whether another signature matches the signature of this method.
src/checker/MethEnv.java:179
↓ 2 callers
Method
equal
Test for equality with another type.
src/syntax/ClassType.java:127
↓ 2 callers
Method
escapeSeq
()
src/lexer/MjcLexer.java:240
↓ 2 callers
Method
find
Look for the entry corresponding to a particular identifier in a given environment.
src/checker/FieldEnv.java:83
↓ 2 callers
Method
find
(String name, VarEnv params, MethEnv env)
src/checker/MethEnv.java:145
↓ 2 callers
Method
gcAssign
(org.llvm.Value v)
src/codegen/LLVM.java:109
↓ 2 callers
Method
getArray
Convert this value into an ArrayValue, or fail with an error message if this value does not represent an array.
src/interp/Value.java:67
↓ 2 callers
Method
getBody
()
src/checker/MethEnv.java:127
↓ 2 callers
Method
getFieldIndex
()
src/checker/FieldEnv.java:64
↓ 2 callers
Method
getFilename
()
src/compiler/Position.java:40
↓ 2 callers
Method
getFrame
Return the value held at a particular offset in the current stack frame.
src/interp/State.java:68
↓ 2 callers
Method
getInitExpr
()
src/checker/FieldEnv.java:48
↓ 2 callers
Method
getNamedValue
(String s)
src/codegen/LLVM.java:116
↓ 2 callers
Method
getNext
()
src/checker/FieldEnv.java:72
↓ 2 callers
Method
getOffset
()
src/checker/FieldEnv.java:60
↓ 2 callers
Method
getParams
()
src/checker/MethEnv.java:121
↓ 2 callers
Method
getRow
Return a row number for this position. By convention, row numbers start at zero. If no sensible row number value is available, then we return zero
src/compiler/Position.java:60
↓ 2 callers
Method
getString
()
src/interp/Value.java:43
↓ 2 callers
Method
getUniqueStrings
()
src/checker/Context.java:54
↓ 2 callers
Method
getVTName
Return the name of the vtable for this class.
src/syntax/ClassType.java:121
↓ 2 callers
Method
getVtable
()
src/syntax/ClassType.java:96
↓ 2 callers
Method
getVtableLoc
()
src/syntax/ClassType.java:81
↓ 2 callers
Function
heap_reserve_nursery_midpoint
determine new midpoint for reserve & nursery. Bias to reserve as larger */
src/runtime_llvm.c:466
↓ 2 callers
Function
heapalloc
allocate a heap record of specified number of words */
src/runtime_llvm.c:182
↓ 2 callers
Method
isWhitespace
(int c)
src/lexer/MjcLexer.java:196
↓ 2 callers
Method
iterator
()
src/syntax/Args.java:38
↓ 2 callers
Method
leaveScope
()
src/codegen/LLVM.java:140
↓ 2 callers
Method
llvmGenTypes
(LLVM l)
src/checker/MethEnv.java:279
↓ 2 callers
Method
llvmType
()
src/syntax/PrimitiveType.java:55
↓ 2 callers
Method
mangle
(String prefix, String suffix)
src/codegen/Assembly.java:96
↓ 2 callers
Method
markGCRoot
(Value v, Type type)
src/codegen/LLVM.java:212
↓ 2 callers
Method
missingRefs
(self)
runTests.py:131
↓ 2 callers
Method
nextToken
Read the next token and return the corresponding integer code.
src/lexer/MjcLexer.java:46
↓ 2 callers
Method
number
()
src/lexer/MjcLexer.java:336
↓ 2 callers
Method
number
(int v)
src/codegen/Assembly.java:241
↓ 2 callers
Method
readLine
Read the next line from the input stream. @return The next line, or null at the end of the input stream.
src/compiler/Source.java:40
↓ 2 callers
Method
run
(self, verbose)
runTests.py:95
↓ 2 callers
Method
setCurrMethod
Set the current method for this context.
src/checker/Context.java:95
↓ 2 callers
Method
setElem
Set the value stored in a particular slot of this array value.
src/interp/ArrayValue.java:68
↓ 2 callers
Method
setFirst
()
src/syntax/SuperInvocation.java:49
← previous
next →
101–200 of 860, ranked by callers