#include "kapi.h"


Go to the source code of this file.
| #define KAPI_ACCESSMODE_FETCH (1 << 4) |
Definition at line 201 of file kapi_ia64.h.
| #define KAPI_ACCESSMODE_OTHER (1 << 0) |
Definition at line 197 of file kapi_ia64.h.
| #define KAPI_ACCESSMODE_READ (1 << 1) |
Definition at line 198 of file kapi_ia64.h.
| #define KAPI_ACCESSMODE_SNOOP (1 << 3) |
Definition at line 200 of file kapi_ia64.h.
| #define KAPI_ACCESSMODE_WRITE (1 << 2) |
Definition at line 199 of file kapi_ia64.h.
| #define kapi_bidFIRST 0x0 |
Definition at line 129 of file kapi_ia64.h.
Referenced by kapi_InitBidAndSyllable(), and kmapi_init_fulist_tables().
| #define kapi_bidLAST 0xF |
| #define kapi_bv32PORTS_ALL (0xFFFFFFFF) |
Definition at line 59 of file kapi_ia64.h.
| #define kapi_fuNONE -1 |
Definition at line 57 of file kapi_ia64.h.
| #define kapi_itFIRST 0 |
| #define kapi_itLAST 6 |
| #define kapi_itNONE -1 |
Definition at line 92 of file kapi_ia64.h.
| #define kapi_lognBID 4 |
Definition at line 126 of file kapi_ia64.h.
| #define KAPI_MAX_CACHE_PORTS_IMPL 16 |
Definition at line 173 of file kapi_ia64.h.
Referenced by kapi_ProcessCacheData(), and KAPI_save_as_header_Cache_struct().
| #define kapi_nBID 16 |
Definition at line 125 of file kapi_ia64.h.
Referenced by kapi_InitBidAndSyllable(), kmapi_init_fulist_tables(), and KMAPI_initialize().
| #define KAPI_NCACHE_TYPES (KAPI_CACHE_TYPE_UNIFIED + 1) |
Definition at line 169 of file kapi_ia64.h.
| #define kapi_nIT (kapi_itLAST+1) |
Definition at line 95 of file kapi_ia64.h.
Referenced by kapi_InitInstructionType(), KAPI_save_as_header_BundleInfo_struct(), and KDumpBin_DumpBundleInfo().
| #define kapi_nSYL 5 |
Definition at line 111 of file kapi_ia64.h.
Referenced by KAPI_save_as_header_BundleInfo_struct(), kapi_syl2ch(), KDumpBin_DumpBundleInfo(), kmapi_init_fulist_tables(), and kmapi_parse_exception().
| #define kapi_nUT 4 |
Definition at line 77 of file kapi_ia64.h.
Referenced by KAPI2X_update_cluster0Cutports(), kapi_InitNumberOfClrNutCportPort(), KAPI_MaxIntraClusterTotalLatency(), KAPI_MinIntraClusterTotalLatency(), kapi_ProcessCportPortClr(), KAPI_save_as_header_ClusterInfo_struct(), KAPI_save_as_header_MachineDescription_struct(), KAPI_save_as_header_SyllableInfo_struct(), kapi_ut2ch(), KDebug_Dcluster0Cutports(), KDumpBin_DumpClusterInfo(), KDumpBin_DumpMachineDescription(), KDumpBin_DumpSyllableInfo(), KMAPI_AllocationOptions4fu(), and KMAPI_nAllocationOptions4syl().
| #define kapi_sylFIRST 0 |
Definition at line 112 of file kapi_ia64.h.
Referenced by kapi_InitBidAndSyllable(), KDebug_DumpITTable(), KDebug_DumpPortInfo(), and KMAPI_AllocationOptions4fu().
| #define kapi_sylLAST 4 |
Definition at line 113 of file kapi_ia64.h.
Referenced by kapi_InitBidAndSyllable(), KDebug_DumpITTable(), KDebug_DumpPortInfo(), and KMAPI_AllocationOptions4fu().
| #define kapi_utFIRST 0 |
Definition at line 78 of file kapi_ia64.h.
Referenced by kapi_InitNumberOfClrNutCportPort(), kapi_ProcessCportPortClr(), kapi_ProcessFu(), KAPI_utCount_syl(), KDebug_Dcluster0Cutports(), and KDebug_DumpPortMaps().
| #define kapi_utLAST 3 |
Definition at line 79 of file kapi_ia64.h.
Referenced by kapi_InitNumberOfClrNutCportPort(), kapi_ProcessCportPortClr(), kapi_ProcessFu(), KAPI_utCount_syl(), and KDebug_DumpPortMaps().
| #define nSYLBID 3 |
Definition at line 127 of file kapi_ia64.h.
Referenced by KAPI_save_as_header_BundleInfo_struct(), kapi_SetupWidths(), KDumpBin_DumpBundleInfo(), kmapi_AllocateException(), and kmapi_init_fulist_tables().
| typedef int kapi_bid_t |
Definition at line 53 of file kapi_ia64.h.
| typedef enum KAPI_CACHE_CONTENT_E kapi_cache_content_e |
| typedef enum KAPI_CACHE_POLICY_ALLOC_E kapi_cache_policy_alloc_e |
| typedef enum KAPI_CACHE_POLICY_REPL_E kapi_cache_policy_repl_e |
| typedef enum KAPI_CACHE_POLICY_WRITE_E kapi_cache_policy_write_e |
| typedef struct KAPI_CACHE_T kapi_cache_t |
| typedef enum KAPI_CACHE_TYPES_E kapi_cache_types_e |
| typedef struct KAPI_CACHEPORT_T kapi_cacheport_t |
| typedef int kapi_cluster_t |
Definition at line 54 of file kapi_ia64.h.
| typedef int kapi_cport_t |
Definition at line 51 of file kapi_ia64.h.
| typedef int kapi_cutport_t |
Definition at line 52 of file kapi_ia64.h.
| typedef int kapi_fu_t |
Definition at line 49 of file kapi_ia64.h.
| typedef int kapi_iid_t |
Definition at line 48 of file kapi_ia64.h.
| typedef int kapi_port_t |
Definition at line 50 of file kapi_ia64.h.
| typedef enum _RANGE_T kapi_range_t |
| typedef enum KAPI_SYL_T kapi_syl_t |
| enum _RANGE_T |
Definition at line 69 of file kapi_ia64.h.
| enum KAPI_CACHE_CONTENT_E |
Definition at line 158 of file kapi_ia64.h.
Definition at line 190 of file kapi_ia64.h.
Definition at line 183 of file kapi_ia64.h.
Definition at line 176 of file kapi_ia64.h.
| enum KAPI_CACHE_TYPES_E |
Definition at line 164 of file kapi_ia64.h.
| enum kapi_fu_infobits_e |
| kapi_fu_info_approximate_latency | |
| kapi_fu_info_no_latency_info | |
| kapi_fu_info_no_primary_source | |
| kapi_fu_info_no_primary_destination |
Definition at line 239 of file kapi_ia64.h.
| enum KAPI_IT_T |
Definition at line 96 of file kapi_ia64.h.
| enum kapi_latency_type_t |
Definition at line 247 of file kapi_ia64.h.
| enum kapi_operand_role_e |
| enum KAPI_SYL_T |
Definition at line 114 of file kapi_ia64.h.
| enum KAPI_UT_T |
| char* KAPI_bidName | ( | void * | pConfig, | |
| kapi_bid_t | bid | |||
| ) |
Definition at line 62 of file kapi_ia64_bundle.c.
References assert, _KNOBS_T::dmpbidinfoTable, NULL, BIDINFO_T::pchBID, and pknobs.
| int KAPI_BundleIssueWidth | ( | void * | pConfig, | |
| kapi_cluster_t | cluster | |||
| ) |
Definition at line 45 of file kapi_ia64_ports.c.
References assert, i, _KNOBS_T::maxBundleIssue, _KNOBS_T::nclr, NULL, and pknobs.
Referenced by Issue_Port_Generator(), Itanium_Generator(), KDebug_DumpMachineDescription(), and KMAPI_initialize().
| kapi_cache_t* KAPI_CacheHierarcy | ( | void * | pConfig, | |
| int | level, | |||
| kapi_cache_types_e | cachecontent | |||
| ) |
Definition at line 46 of file kapi_ia64_cache.c.
References assert, _CACHEPORT_T::bv32AccessMode, KAPI_CACHEPORT_T::bv32AccessMode, CACHE_T::bv32CacheContents, KAPI_CACHE_T::bv32CacheContents, cache_type_data, cache_type_instruction, cache_type_unified, CACHE_T::cacheportInfo, KAPI_CACHE_T::cacheportInfo, _KNOBS_T::dmpcacheTable, CACHE_T::iAllocPolicy, KAPI_CACHE_T::iAllocPolicy, KAPI_CACHE_T::iReplPolicy, CACHE_T::iReplPolicy, KAPI_CACHE_T::iWritePolicy, CACHE_T::iWritePolicy, malloc, KAPI_CACHE_T::nBytesLine, CACHE_T::nBytesLine, _KNOBS_T::nCacheLevels, CACHE_T::nCachePorts, KAPI_CACHE_T::nCachePorts, CACHE_T::nCyclesRead, KAPI_CACHE_T::nCyclesRead, CACHE_T::nLines, KAPI_CACHE_T::nLines, NULL, CACHE_T::nWays, KAPI_CACHE_T::nWays, and pknobs.
Referenced by Cache_Info_Generator().
| int KAPI_clusterCount | ( | void * | pConfig | ) |
Definition at line 166 of file kapi_ia64_ports.c.
References _KNOBS_T::nclr, and pknobs.
Referenced by KDebug_DumpClusterDistances(), KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), and KDebug_DumpTotalLatency().
| int KAPI_ClusterDistance | ( | void * | pConfig, | |
| kapi_cluster_t | clusterProd, | |||
| kapi_cluster_t | clusterDest | |||
| ) |
Definition at line 150 of file kapi_ia64_latency.c.
References _CLUSTER_T::distClr, _KNOBS_T::mpclrTable, and pknobs.
Referenced by KAPI_TotalLatency(), and KDebug_DumpClusterDistances().
Definition at line 38 of file kapi_ia64_latency.c.
References assert, _KNOBS_T::dmpfuinfoTable, _FUINFO_T::iCoreLatency, and pknobs.
Referenced by EKAPI_OddLatencyList(), KAPI_MaxIntraClusterTotalLatency(), KAPI_MinIntraClusterTotalLatency(), KAPI_TotalLatency(), KDebug_DumpLatencies(), KDebug_DumpTotalLatency(), SCHE_INFO::Output_SI(), and SCHE_INFO::SCHE_INFO().
| int KAPI_cportCount | ( | void * | pConfig, | |
| kapi_cluster_t | cluster | |||
| ) |
Definition at line 243 of file kapi_ia64_ports.c.
References _KNOBS_T::mpclrTable, _KNOBS_T::nclr, _CLUSTER_T::ncports, _KNOBS_T::nports, and pknobs.
Referenced by KDebug_DumpPortInfo().
| int KAPI_cportCount4fu | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_fu_t | fu | |||
| ) |
Definition at line 274 of file kapi_ia64_ports.c.
References assert, _PORTINFO_T::bvfuAllowed, isbvBITSET, _KNOBS_T::mppportinfoTable, _KNOBS_T::nclr, _KNOBS_T::nports, _BV_T::pint32Data, pknobs, and _KNOBS_T::port2cluster.
Referenced by KDebug_DumpFUTable(), and main().
| int KAPI_cportCount4ut | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_ut_t | ut | |||
| ) |
Definition at line 304 of file kapi_ia64_ports.c.
References assert, _PORTINFO_T::bvfuAllowed, _KNOBS_T::mppportinfoTable, _KNOBS_T::nclr, _KNOBS_T::nports, _BV_T::pint32Data, pknobs, _KNOBS_T::port2cluster, and _PORTINFO_T::ut.
Referenced by Issue_Port_Generator().
| void KAPI_cportInfo | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_cport_t | cport, | |||
| kapi_port_t * | pport, | |||
| kapi_ut_t * | put, | |||
| kapi_cutport_t * | pcutport | |||
| ) |
Definition at line 356 of file kapi_ia64_ports.c.
References assert, _CLUSTER_T::cport2port, _PORTINFO_T::cutport, KAPI_error_attribute, _KNOBS_T::mpclrTable, _CLUSTER_T::mppcportinfoTable, NULL, pknobs, and _PORTINFO_T::ut.
Referenced by KDebug_DumpPortMaps().
| bv32_t KAPI_cportMask4fu | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_fu_t | fu | |||
| ) |
Definition at line 175 of file kapi_ia64_ports.c.
References assert, _PORTINFO_T::bvfuAllowed, fflush(), fprintf(), i, isbvBITSET, KAPI_error_attribute, _KNOBS_T::mpclrTable, _CLUSTER_T::mppcportinfoTable, _CLUSTER_T::ncports, and pknobs.
Referenced by Issue_Port_Generator(), kmapi_AllocateForItanium(), and SCHE_INFO::SCHE_INFO().
| bv32_t KAPI_cportMask4ut | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_ut_t | ut | |||
| ) |
Definition at line 209 of file kapi_ia64_ports.c.
References assert, fflush(), fprintf(), i, KAPI_error_attribute, _KNOBS_T::mpclrTable, _CLUSTER_T::mppcportinfoTable, _CLUSTER_T::ncports, pknobs, and _PORTINFO_T::ut.
Referenced by dump_instruction_fus().
| int KAPI_cutportCount | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_ut_t | utIn | |||
| ) |
Definition at line 257 of file kapi_ia64_ports.c.
References _KNOBS_T::mpclrTable, _CLUSTER_T::mpncutport, _KNOBS_T::mpnut, _KNOBS_T::nclr, and pknobs.
Referenced by KDebug_DumpPortInfo().
| void KAPI_cutportInfo | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_ut_t | ut, | |||
| kapi_cutport_t | cutport, | |||
| kapi_port_t * | pport, | |||
| kapi_cport_t * | pcport | |||
| ) |
Definition at line 379 of file kapi_ia64_ports.c.
References assert, _PORTINFO_T::cport, _CLUSTER_T::cport2port, _CLUSTER_T::dmppcportinfoTable, KAPI_error_attribute, _KNOBS_T::mpclrTable, NULL, and pknobs.
Referenced by EKAPI_MapResource(), KDebug_DumpPortMaps(), and KMAPI_ResourceInfo().
Definition at line 168 of file kapi_ia64_instruction.c.
References _FUINFO_T::cntDest, _KNOBS_T::dmpfuinfoTable, and pknobs.
Referenced by KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), KDebug_DumpLatencies(), and KDebug_DumpTotalLatency().
Definition at line 185 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpfuinfoTable, _FUINFO_T::mppchDestName, NULL, _KNOBS_T::pfSaveHeaderFlags, and pknobs.
Referenced by KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), KDebug_DumpLatencies(), and KDebug_DumpTotalLatency().
| int KAPI_DisperseCount4syl | ( | void * | pConfig, | |
| kapi_syl_t | syl | |||
| ) |
Definition at line 64 of file kapi_ia64_ports.c.
References assert, kapi_sylB, kapi_sylF, kapi_sylI, kapi_sylL, kapi_sylM, kapi_utB, kapi_utF, kapi_utI, kapi_utM, _KNOBS_T::maxBundleIssue, _KNOBS_T::mpnut, _KNOBS_T::nclr, NULL, and pknobs.
Referenced by KDebug_DumpPortInfo().
Definition at line 104 of file kapi_ia64_ports.c.
References assert, _KNOBS_T::dmpfuinfoTable, _FUINFO_T::fu, KAPI_EnumName(), NULL, _FUINFO_T::pchName, pknobs, and strcmp().
Referenced by dump_instruction_fus(), EKAPI_OddLatencyList(), kapi_GetOpIndex(), Print_Bypass_Pre_Case(), Print_Bypass_Suc_Case(), Print_FU_Class(), and Print_OddLatency().
| int KAPI_fuCount | ( | void * | pConfig | ) |
Definition at line 95 of file kapi_ia64_ports.c.
References _KNOBS_T::nfuinfoTable, and pknobs.
Referenced by dump_instruction_fus(), KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), KDebug_DumpLatencies(), KDebug_DumpTotalLatency(), main(), Print_All_Bypass(), Print_FU_Class(), Print_OddLatency(), and Print_SI().
| kapi_latency_type_t KAPI_fuGetLatencyType | ( | void * | pConfig, | |
| kapi_fu_t | fu | |||
| ) |
Definition at line 150 of file kapi_ia64_ports.c.
References assert, _FUINFO_T::bv32InfoBits, _KNOBS_T::dmpfuinfoTable, isbv32BITSET, kapi_fu_info_approximate_latency, kapi_fu_info_no_latency_info, kapi_latency_type_approximate, kapi_latency_type_full, kapi_latency_type_none, NULL, and pknobs.
Referenced by EKAPI_OddLatencyList().
Definition at line 138 of file kapi_ia64_ports.c.
References assert, _FUINFO_T::bv32InfoBits, _KNOBS_T::dmpfuinfoTable, NULL, and pknobs.
| int KAPI_fuName2fuIndex | ( | void * | pConfig, | |
| char * | fuName | |||
| ) |
Definition at line 121 of file kapi_ia64_ports.c.
References assert, _KNOBS_T::dmpfuinfoTable, _FUINFO_T::fu, _KNOBS_T::nfuinfoTable, NULL, _FUINFO_T::pchName, pknobs, and strcmp().
Referenced by EKAPI_Op2FuIndex().
| int KAPI_GetOppIndex | ( | void * | pConfig, | |
| kapi_iid_t | iid, | |||
| int | iIndex, | |||
| kapi_operand_role_e | iRole, | |||
| char * | pchOppName | |||
| ) |
Definition at line 194 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpinstTable, operand_match_T::iType, KAPI_iid2fu(), kapi_op_role_dest, kapi_op_role_src, KAPI_oppGetDest(), KAPI_oppGetSource(), NULL, _INST_T::pExplicitOps, pknobs, and type_single.
| int KAPI_ia64_GetAPIVersion_MAJOR | ( | ) |
Definition at line 40 of file kapi_ia64_version.c.
| int KAPI_ia64_GetAPIVersion_MINOR | ( | ) |
Definition at line 44 of file kapi_ia64_version.c.
| double KAPI_ia64_GetInternalVersion | ( | ) |
Definition at line 48 of file kapi_ia64_version.c.
Referenced by KAPI_save_as_header_MachineDescription_saver().
| int KAPI_ia64_GetXVersion_MAJOR | ( | ) |
| int KAPI_ia64_GetXVersion_MINOR | ( | ) |
Definition at line 2238 of file kapi_ia64.c.
References kapi_Error(), KAPI_error_attribute, kapi_fEnableIA64Calls(), NULL, and pknobs.
Referenced by Generate_MM(), and main().
| kapi_fu_t KAPI_iid2fu | ( | void * | pConfig, | |
| kapi_iid_t | iid, | |||
| int | iVariant | |||
| ) |
Definition at line 58 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpinstTable, _INST_T::fu, and pknobs.
Referenced by dump_instruction_fus(), KAPI_GetOppIndex(), and KMAPI_MapInstructionToPort().
| kapi_it_t KAPI_iid2it | ( | void * | pConfig, | |
| kapi_iid_t | iid, | |||
| int | iVariant | |||
| ) |
Definition at line 49 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpinstTable, _INST_T::it, and pknobs.
| char* KAPI_iid2mnemonic | ( | void * | pConfig, | |
| kapi_iid_t | iid, | |||
| int | iVariant | |||
| ) |
Definition at line 67 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpinstTable, NULL, _INST_T::pchMnemonic, _KNOBS_T::pfSaveHeaderFlags, and pknobs.
| char* KAPI_iid2uniqueName | ( | void * | pConfig, | |
| kapi_iid_t | iid, | |||
| int | iVariant | |||
| ) |
Definition at line 77 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpinstTable, NULL, _INST_T::pchUniqueName, _KNOBS_T::pfSaveHeaderFlags, and pknobs.
Referenced by dump_instruction_fus().
| int KAPI_iidCount | ( | void * | pConfig | ) |
Definition at line 41 of file kapi_ia64_instruction.c.
References _KNOBS_T::ninstTable, and pknobs.
Referenced by dump_instruction_fus().
| int KAPI_InterClusterBypass | ( | void * | pConfig, | |
| kapi_cluster_t | clusterProd, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_ut_t | utProd, | |||
| kapi_cutport_t | cutportProd, | |||
| kapi_cluster_t | clusterCons, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons, | |||
| kapi_ut_t | utCons, | |||
| kapi_cutport_t | cutportCons | |||
| ) |
Definition at line 47 of file kapi_ia64_latency.c.
References _EBYPASS_T::clusterDest, _EBYPASS_T::clusterSrc, _EBYPASS_T::cutportDest, _EBYPASS_T::cutportSrc, _KNOBS_T::dmpebyInterTable, _EBYPASS_T::fuDest, _EBYPASS_T::fuSrc, i, _EBYPASS_T::iValue, _KNOBS_T::nRawInter, _EBYPASS_T::oppDest, _EBYPASS_T::oppSrc, and pknobs.
Referenced by KAPI_TotalLatency(), and KDebug_DumpInterClusterBypass().
| pepair_t* KAPI_InterClusterBypassList | ( | void * | pConfig, | |
| kapi_cluster_t | clusterProd, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_ut_t | utProd, | |||
| kapi_cutport_t | cutportProd, | |||
| kapi_cluster_t | clusterCons, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons, | |||
| kapi_ut_t | utCons, | |||
| kapi_cutport_t | cutportCons, | |||
| int * | pnbypass | |||
| ) |
Definition at line 287 of file kapi_ia64_latency.c.
References calloc(), _EBYPASS_T::clusterDest, PEPAIR_T::clusterDest, PEPAIR_T::clusterSrc, _EBYPASS_T::clusterSrc, PEPAIR_T::cutportDest, _EBYPASS_T::cutportDest, _EBYPASS_T::cutportSrc, PEPAIR_T::cutportSrc, _KNOBS_T::dmpebyInterTable, fprintf(), PEPAIR_T::fuDest, _EBYPASS_T::fuDest, PEPAIR_T::fuSrc, _EBYPASS_T::fuSrc, PEPAIR_T::iValue, _KNOBS_T::nRawInter, _KNOBS_T::nRawIntra, NULL, PEPAIR_T::oppDest, _EBYPASS_T::oppDest, _EBYPASS_T::oppSrc, PEPAIR_T::oppSrc, pknobs, PEPAIR_T::utDest, _EBYPASS_T::utDest, _EBYPASS_T::utSrc, and PEPAIR_T::utSrc.
Referenced by KDebug_DumpInterClusterBypass(), and KDebug_DumpTotalLatency().
| int KAPI_IntraClusterBypass | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_ut_t | utProd, | |||
| kapi_cutport_t | cutportProd, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons, | |||
| kapi_ut_t | utCons, | |||
| kapi_cutport_t | cutportCons | |||
| ) |
Definition at line 90 of file kapi_ia64_latency.c.
References _ABYPASS_T::cluster, _ABYPASS_T::cutportDest, _ABYPASS_T::cutportSrc, _KNOBS_T::dmpabyIntraTable, _ABYPASS_T::fuDest, _ABYPASS_T::fuSrc, i, _ABYPASS_T::iValue, _KNOBS_T::nRawIntra, _ABYPASS_T::oppDest, _ABYPASS_T::oppSrc, pknobs, printf(), _ABYPASS_T::utDest, and _ABYPASS_T::utSrc.
Referenced by KAPI_MaxIntraClusterTotalLatency(), KAPI_MinIntraClusterTotalLatency(), KAPI_TotalLatency(), KDebug_DumpIntraClusterBypass(), and main().
| papair_t* KAPI_IntraClusterBypassList | ( | void * | pConfig, | |
| kapi_cluster_t | clr, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_ut_t | utProd, | |||
| kapi_cutport_t | cutportProd, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons, | |||
| kapi_ut_t | utCons, | |||
| kapi_cutport_t | cutportCons, | |||
| int * | pnbypass | |||
| ) |
Definition at line 193 of file kapi_ia64_latency.c.
References calloc(), _ABYPASS_T::cluster, PAPAIR_T::cluster, PAPAIR_T::cutportDest, _ABYPASS_T::cutportDest, _ABYPASS_T::cutportSrc, PAPAIR_T::cutportSrc, _KNOBS_T::dmpabyIntraTable, fprintf(), PAPAIR_T::fuDest, _ABYPASS_T::fuDest, _ABYPASS_T::fuSrc, PAPAIR_T::fuSrc, _ABYPASS_T::iValue, PAPAIR_T::iValue, _KNOBS_T::nRawIntra, NULL, PAPAIR_T::oppDest, _ABYPASS_T::oppDest, _ABYPASS_T::oppSrc, PAPAIR_T::oppSrc, pknobs, PAPAIR_T::utDest, _ABYPASS_T::utDest, _ABYPASS_T::utSrc, and PAPAIR_T::utSrc.
Referenced by KAPI_MinIntraClusterTotalLatency(), KDebug_DumpIntraClusterBypass(), KDebug_DumpTotalLatency(), and Print_All_Bypass().
| int KAPI_isReserved_bid | ( | void * | pConfig, | |
| kapi_bid_t | bid | |||
| ) |
Definition at line 54 of file kapi_ia64_bundle.c.
References assert, _KNOBS_T::dmpbidinfoTable, BIDINFO_T::fReserved, NULL, and pknobs.
Referenced by Bundle_Generator(), and EKAPI_BundleType4bid().
| int KAPI_MaxIntraClusterTotalLatency | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons | |||
| ) |
Definition at line 462 of file kapi_ia64_latency.c.
References assert, _FUINFO_T::cntDest, _FUINFO_T::cntSrc, _KNOBS_T::dmpfuinfoTable, KAPI_CoreLatency(), KAPI_IntraClusterBypass(), kapi_nUT, and pknobs.
| int KAPI_MinIntraClusterTotalLatency | ( | void * | pConfig, | |
| kapi_cluster_t | cluster, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons | |||
| ) |
Definition at line 396 of file kapi_ia64_latency.c.
References assert, _FUINFO_T::cntDest, _FUINFO_T::cntSrc, _KNOBS_T::dmpfuinfoTable, KAPI_CoreLatency(), KAPI_IntraClusterBypass(), KAPI_IntraClusterBypassList(), kapi_nUT, and pknobs.
Referenced by KDebug_DumpTotalLatency().
| int KAPI_nCacheHierarchyLevels | ( | void * | pConfig, | |
| kapi_cache_types_e | cachecontent | |||
| ) |
Definition at line 36 of file kapi_ia64_cache.c.
References assert, cache_type_enum_size, cache_type_unified, _KNOBS_T::nCacheLevels, NULL, and pknobs.
Definition at line 131 of file kapi_ia64_instruction.c.
References _FUINFO_T::bv32InfoBits, _FUINFO_T::cntDest, _KNOBS_T::dmpfuinfoTable, i, kapi_fu_info_no_primary_destination, _FUINFO_T::mppchDestName, _KNOBS_T::nfuinfoTable, NULL, pknobs, and strcmp().
Referenced by fOkProcessInterCluster(), fOkProcessIntraCluster(), kapi_GetOpIndex(), KAPI_GetOppIndex(), and kapi_ProcessCoreLatency().
Definition at line 102 of file kapi_ia64_instruction.c.
References _FUINFO_T::bv32InfoBits, _FUINFO_T::cntSrc, _KNOBS_T::dmpfuinfoTable, i, kapi_fu_info_no_primary_source, _FUINFO_T::mppchSrcName, _KNOBS_T::nfuinfoTable, NULL, pknobs, and strcmp().
Referenced by fOkProcessInterCluster(), fOkProcessIntraCluster(), kapi_GetOpIndex(), KAPI_GetOppIndex(), and kapi_ProcessCoreLatency().
| void KAPI_portInfo | ( | void * | pConfig, | |
| kapi_port_t | port, | |||
| kapi_cluster_t * | pcluster, | |||
| kapi_cport_t * | pcport, | |||
| kapi_ut_t * | put, | |||
| kapi_cutport_t * | pcutport | |||
| ) |
Definition at line 334 of file kapi_ia64_ports.c.
References assert, _PORTINFO_T::cport, _PORTINFO_T::cutport, KAPI_error_attribute, _KNOBS_T::mppportinfoTable, NULL, pknobs, _KNOBS_T::port2cluster, and _PORTINFO_T::ut.
Referenced by KDebug_DumpPortMaps().
Definition at line 606 of file kapi_save_source_ia64.c.
References enum_LAST_KAPI_FIELD, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Referenced by dump_instruction_fus(), and KMAPI_save_as_header_allinfo_struct().
Definition at line 754 of file kapi_save_source_ia64.c.
References enum_dmpsylinfoTable, enum_LAST_KAPI_FIELD, enum_nbidinfoTable, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 652 of file kapi_save_source_ia64.c.
References enum_LAST_KAPI_FIELD, enum_nclr, enum_port2cluster, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 666 of file kapi_save_source_ia64.c.
References enum_LAST_KAPI_FIELD, enum_mpclrTable, enum_nclr, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
| int KAPI_save_as_header_cluster_intercluster_latency_info | ( | FILE * | fp, | |
| void * | pConfig, | |||
| char * | pchName | |||
| ) |
Definition at line 696 of file kapi_save_source_ia64.c.
References enum_dmpebyInterTable, enum_LAST_KAPI_FIELD, enum_mpclrTable, enum_nclr, enum_nRawInter, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
| int KAPI_save_as_header_cluster_intracluster_latency_info | ( | FILE * | fp, | |
| void * | pConfig, | |||
| char * | pchName | |||
| ) |
Definition at line 680 of file kapi_save_source_ia64.c.
References enum_dmpabyIntraTable, enum_LAST_KAPI_FIELD, enum_mpclrTable, enum_nclr, enum_nRawIntra, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 712 of file kapi_save_source_ia64.c.
References enum_dmpfuinfoTable, enum_LAST_KAPI_FIELD, enum_mpnut, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 726 of file kapi_save_source_ia64.c.
References enum_dmpsylinfoTable, enum_LAST_KAPI_FIELD, enum_ninstTable, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 740 of file kapi_save_source_ia64.c.
References enum_dmpitinfoTable, enum_LAST_KAPI_FIELD, enum_nitinfoTable, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 622 of file kapi_save_source_ia64.c.
References enum_dmpfuinfoTable, enum_LAST_KAPI_FIELD, enum_nclr, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
Definition at line 638 of file kapi_save_source_ia64.c.
References enum_dmpfuinfoTable, enum_LAST_KAPI_FIELD, enum_nfuinfoTable, i, KAPI_save_as_header_MachineDescription_saver(), and memset.
| int KAPI_SbitPlacement_bid | ( | void * | pConfig, | |
| kapi_bid_t | bid | |||
| ) |
Definition at line 45 of file kapi_ia64_bundle.c.
References assert, _KNOBS_T::dmpbidinfoTable, BIDINFO_T::isylSbit, NULL, and pknobs.
Referenced by Bundle_Generator().
Definition at line 160 of file kapi_ia64_instruction.c.
References _FUINFO_T::cntSrc, _KNOBS_T::dmpfuinfoTable, and pknobs.
Referenced by EKAPI_OddLatencyList(), KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), and KDebug_DumpTotalLatency().
Definition at line 176 of file kapi_ia64_instruction.c.
References assert, _KNOBS_T::dmpfuinfoTable, _FUINFO_T::mppchSrcName, NULL, _KNOBS_T::pfSaveHeaderFlags, and pknobs.
Referenced by KDebug_DumpInterClusterBypass(), KDebug_DumpIntraClusterBypass(), KDebug_DumpTotalLatency(), and Print_All_Bypass().
| int KAPI_SylCount_bid | ( | void * | pConfig, | |
| kapi_bid_t | bid, | |||
| kapi_syl_t | syl | |||
| ) |
Definition at line 36 of file kapi_ia64_bundle.c.
References assert, _KNOBS_T::dmpbidinfoTable, BIDINFO_T::mpnsylAvail, NULL, and pknobs.
| void KAPI_SylOrder_bid | ( | void * | pConfig, | |
| kapi_bid_t | bid, | |||
| kapi_syl_t | mpsyl[nSYLBID] | |||
| ) |
Referenced by EKAPI_BundleType4bid(), kmapi_AllocateException(), and kmapi_init_fulist_tables().
| int KAPI_TotalLatency | ( | void * | pConfig, | |
| kapi_cluster_t | clusterProd, | |||
| kapi_fu_t | fuProd, | |||
| int | oppProd, | |||
| kapi_ut_t | utProd, | |||
| kapi_cutport_t | cutportProd, | |||
| kapi_cluster_t | clusterCons, | |||
| kapi_fu_t | fuCons, | |||
| int | oppCons, | |||
| kapi_ut_t | utCons, | |||
| kapi_cutport_t | cutportCons | |||
| ) |
Definition at line 159 of file kapi_ia64_latency.c.
References KAPI_ClusterDistance(), KAPI_CoreLatency(), KAPI_InterClusterBypass(), KAPI_IntraClusterBypass(), and result.
Referenced by KDebug_DumpTotalLatency().
| kapi_iid_t KAPI_uniqueName2iid | ( | void * | pConfig, | |
| char * | pchName, | |||
| int | iVariant | |||
| ) |
Definition at line 87 of file kapi_ia64_instruction.c.
References _KNOBS_T::dmpinstTable, i, _KNOBS_T::ninstTable, _INST_T::pchUniqueName, pknobs, and strcmp().
Referenced by KDebug_DumpInstTable().
| void KAPI_utCount_syl | ( | void * | pConfig, | |
| kapi_syl_t | syl, | |||
| kapi_ut_t | mput[kapi_nUT] | |||
| ) |
Definition at line 82 of file kapi_ia64_bundle.c.
References assert, _KNOBS_T::dmpsylinfoTable, kapi_utFIRST, kapi_utLAST, SYLINFO_T::mpnutNeeded, NULL, and pknobs.
1.5.6