Displaying 5 results from an estimated 5 matches for "max_num_noise_values".
2012 Apr 19
2
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
...rrentFrame 2 2
Flag addHarmonics[MAX_FREQ_COEFFS] 192 192
short maxQmfSubbandAac 2 2
short iEnvelope[MAX_NUM_ENVELOPE_VALUES] 480 480
short sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES] 20 20
--------------------------------------------------------------------------------------------
Though the size i get is wrong, but still my application passes. I don't have any reason for that though.
But, if I enable this code, then the structure elements size, I get is:
---...
2012 Apr 19
0
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
...ELOPES] 6 4
> INVF_MODE sbr_invf_mode[MAX_INVF_BANDS] 20 20
> COUPLING_MODE coupling 4 4
> short ampResolutionCurrentFrame 2 2
> Flag addHarmonics[MAX_FREQ_COEFFS] 192 192
> short maxQmfSubbandAac 2 2
> short iEnvelope[MAX_NUM_ENVELOPE_VALUES] 480 480
> short sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES] 20 20
> --------------------------------------------------------------------------------------------
> Though the size i get is wrong, but still my application passes. I don't have
> any reason for that though.
> But, if I enable *this* code, then the structure elements size, I get...
2012 Apr 18
0
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
...01e4 4 40ac01dc 4
Flag addHarmonics[MAX_FREQ_COEFFS]; //typedef int 192 40ac01ec 192 40ac01e8 192 40ac01e0 192
short maxQmfSubbandAac; 2 40ac02ac 2 40ac02a8 2 40ac02a0 2
short iEnvelope[MAX_NUM_ENVELOPE_VALUES]; 480 40ac02ae 480 40ac02aa 480 40ac02a2 480
short sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES]; 20 40ac048e 40ac048a 40ac0482
FrameInfo
short frameClass; 2
short nEnvelopes; 2
short borders[MAX_ENVELOPES+1]; 12
short freqRes[MAX_ENVELOPES]; 10
short tranEnv; 2
short nNoiseEnvelope...
2012 Apr 17
2
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
With reference to the previous query,
I think, i miscalculated the offset, just recalculating.
1. without instruction combining
coupling member variable, is at:
%struct._FRAME_DATA* %2, i32 0, i32 5
where "%2" is defined as:
%arrayidx3 = getelementptr inbounds i16* %Data, i32 1024, !dbg !446
%2 = bitcast i16* %arrayidx3 to %struct._FRAME_DATA*, !dbg !446
i.e. at 5 offset in
2012 Apr 17
2
[LLVMdev] Issue with GetElementPtrInst in Instruction Combining pass
... Flag addHarmonics[MAX_FREQ_COEFFS]; /*!< Flags for synthetic sine addition */
Word16 maxQmfSubbandAac; /*!< Solves the 'undefined x-over problem' for the enhancement */
Word16 iEnvelope[MAX_NUM_ENVELOPE_VALUES]; /*!< Envelope data */
Word16 sbrNoiseFloorLevel[MAX_NUM_NOISE_VALUES]; /*!< Noise envelope data */
}
FRAME_DATA;
COUPLING_MODE is a enum.
the element ptr address calculated by GEP is different in above cases:
1. without instruction combining
coupling member variable, is at:
%struct._FRAME_DATA* %2, i32 0, i32 5
i.e. at 5 offset in FRAME_DATA i.e. the 6th...