Go to the documentation of this file.
33 #ifndef TTA_PROGRAM_ANNOTATION_HH
34 #define TTA_PROGRAM_ANNOTATION_HH
217 payload_ = std::vector<Byte>(data.begin(), data.end());
223 const std::vector<Byte>&
payload()
const;
@ ANN_REGISTER_IPARAM_SAVE
Save to int param reg.
@ ANN_STACKFRAME_RA_DEALLOC
Return Addr dealloc.
@ ANN_STACKFRAME_FPR_RESTORE
FPR restore by pop.
@ ANN_REGISTER_RV_SAVE
Save to RV register.
@ ANN_IRF_FETCH_BLOCK_BEGIN
Beginning of a IRF fetch block.
@ ANN_PARALLEL_REGION_ID
The ID from the _TCEPREGION_START(N) markers.
@ ANN_STACKFRAME_GPR_SAVE
GPR save by pushing.
@ ANN_JUMP_FUNCTION_CALL
The JUMP in the annotated move is a function call and should be treated as such in the data dependenc...
@ ANN_STACKUSE_SAVED_GPR
saved GPR
@ ANN_REJECTED_UNIT_SRC
Src. unit rejected.
@ ANN_STACKFRAME_RA_ALLOC
Return Address alloc.
@ ANN_STACKFRAME_UNKNOWN
Unknown SF-related.
@ ANN_STACKFRAME_RA_SAVE
Return Address save.
@ ANN_STACKFRAME_FPR_SAVE
FPR save by pushing.
@ ANN_STACKFRAME_GPR_SAVE_BEGIN
Used to count saves.
@ ANN_STACKFRAME_GPR_RESTORE
GPR restore by pop.
@ ANN_STACKFRAME_LVAR_ALLOC
Local variable alloc.
std::string stringValue() const
@ ANN_STACKUSE_OUT_PARAM
output parameter.
@ ANN_STACKFRAME_GPR_RESTORE_REG
@ ANN_STACKFRAME_FPR_SAVE_BEGIN
Used to count saves.
@ ANN_STACKUSE_IN_PARAM
input parameter
@ ANN_STACKUSE_RA
ra, old frontend
@ ANN_STACKFRAME_LVAR_RA_ALLOC
Local var+RA alloc.
@ ANN_STACKFRAME_GPR_SAVE_REG
@ ANN_STACKFRAME_LVAR_DEALLOC
Local var dealloc.
@ ANN_UNDEF_ID
an illegal annotation ID (the id is only 24 bits, this has more meaningful bits)
@ ANN_IRF_NOCACHE_BEGIN
Just to show this starts a non-irf block.
@ ANN_REGISTER_SP_READ
Stack Pointer read.
@ ANN_DEBUG_SOURCE_CODE_LINE
The line number in the source code file the annotated move originates from.
@ ANN_STACKFRAME_LVAR_RA_DEALLOC
Local var+RA dealloc.
@ ANN_FIRST_RESERVED
First reserved annot.
@ ANN_IRF_FETCH_BLOCK_RET
@ ANN_LAST_RESERVED
Last reserved annot.
@ ANN_STACKFRAME_FPR_SAVE_REG
FPR save by pushing.
@ ANN_REGISTER_FP_READ
Frame Pointer read.
Id
the ID in TPEF is 24 bits, here enum
@ ANN_REGISTER_RV_READ
Read from RV reg.
@ ANN_ALLOWED_UNIT_SRC
Candidate units can be passed for resource manager for choosing the source/destination unit of the mo...
@ ANN_REJECTED_UNIT_DST
Dst. unit rejected.
@ ANN_CONSTANT_MEM
Constant memory access.
ProgramAnnotation::Id id() const
@ ANN_CONN_CANDIDATE_UNIT_SRC
Src. unit candidate.
@ ANN_STACKFRAME_OUT_PARAM_ALLOC
outgoing param alloc
@ ANN_STACKFRAME_BEGIN
First stackframe ann.
@ ANN_STACKUSE_LOCAL_VARIABLE
local variable
void setIntValue(int value)
@ ANN_OPENCL_WORK_ITEM_ID
@ ANN_STACKUSE_FP_SAVE
frame ptr save/load
@ ANN_LOOP_TRIP_COUNT
An instruction annotated with this annotation is the first instruction of a basic block in a loop wit...
@ ANN_REGISTER_FP_SAVE
Frame Pointer save.
@ ANN_ALLOWED_UNIT_DST
Dst. unit candidate.
std::vector< Byte > payload_
the payload data
void setStringValue(const std::string &data)
@ ANN_IRF_BLOCK_FWJUMP_CYCLES
how many stalls may be needed due forward jumps
@ ANN_STACKUSE_RA_SAVE
ra, new frontend
@ ANN_POINTER_NAME
information retrieved (from LLVM) about a pointer access
@ ANN_LOOP_INNER
An instruction annotated with this annotation is the first instruction of a basic block in an inner l...
@ ANN_STACKFRAME_STACK_INIT
Stack initialization.
@ ANN_STACKUSE_SAVED_FPR
saved FPR
@ ANN_STACKFRAME_PROCEDURE_RETURN
precedure return jmp
@ ANN_STACKUSE_SPILL
spilled variable
@ ANN_VECTOR_ID
Vector indentifier for vector operations.
@ ANN_REGISTER_IPARAM_READ
Read from int param.
@ ANN_IRF_FETCH_BLOCK_CALL
@ ANN_IRF_BLOCK_HEADER_NOCACHE
ProgramAnnotation(Id id, int value)
@ ANN_OPENCL_WORK_ITEM_ID_LAST
@ ANN_STACKFRAME_END
Last stackfame annot.
@ ANN_IRF_BLOCK_HEADER
Dummy empty instrution for block header.
@ ANN_DEBUG_SOURCE_CODE_PATH
debugging info annotations
@ ANN_CONNECTIVITY_MOVE
A reg to reg move that was added because of missing connectivity between the original target and dest...
@ ANN_IRF_FETCH_BLOCK_JUMP
@ ANN_STACKFRAME_RA_RESTORE
Return Addr restore.
@ ANN_STACKFRAME_FPR_RESTORE_REG
FPR restore by pop.
@ ANN_STACKFRAME_OUT_PARAM_DEALLOC
outgoing param deall.
@ ANN_REGISTER_SP_SAVE
save to Stack pointer
const std::vector< Byte > & payload() const
@ ANN_CONN_CANDIDATE_UNIT_DST
Dst. unit candidate.