Lines Matching refs:AggregateVal
121 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); \
122 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); \
123 for( uint32_t _i=0;_i<Src1.AggregateVal.size();_i++) \
124 Dest.AggregateVal[_i].IntVal = APInt(1, \
125 Src1.AggregateVal[_i].IntVal.OP(Src2.AggregateVal[_i].IntVal));\
310 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); \
311 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); \
312 for( uint32_t _i=0;_i<Src1.AggregateVal.size();_i++) \
313 Dest.AggregateVal[_i].IntVal = APInt(1, \
314 Src1.AggregateVal[_i].TY##Val OP Src2.AggregateVal[_i].TY##Val);\
353 assert(X.AggregateVal.size() == Y.AggregateVal.size()); \
354 Dest.AggregateVal.resize( X.AggregateVal.size() ); \
355 for( uint32_t _i=0;_i<X.AggregateVal.size();_i++) { \
356 if (X.AggregateVal[_i].TZ##Val != X.AggregateVal[_i].TZ##Val || \
357 Y.AggregateVal[_i].TZ##Val != Y.AggregateVal[_i].TZ##Val) \
358 Dest.AggregateVal[_i].IntVal = APInt(1,FLAG); \
360 Dest.AggregateVal[_i].IntVal = APInt(1,!FLAG); \
394 for( size_t _i=0; _i<Src1.AggregateVal.size(); _i++) in executeFCMP_ONE()
395 if (DestMask.AggregateVal[_i].IntVal == false) in executeFCMP_ONE()
396 Dest.AggregateVal[_i].IntVal = APInt(1,false); in executeFCMP_ONE()
472 for (size_t _i = 0; _i < Src1.AggregateVal.size(); _i++) \
473 if (DestMask.AggregateVal[_i].IntVal == true) \
474 Dest.AggregateVal[_i].IntVal = APInt(1, true); \
537 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); in executeFCMP_ORD()
538 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); in executeFCMP_ORD()
540 for( size_t _i=0;_i<Src1.AggregateVal.size();_i++) in executeFCMP_ORD()
541 Dest.AggregateVal[_i].IntVal = APInt(1, in executeFCMP_ORD()
542 ( (Src1.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
543 Src1.AggregateVal[_i].FloatVal) && in executeFCMP_ORD()
544 (Src2.AggregateVal[_i].FloatVal == in executeFCMP_ORD()
545 Src2.AggregateVal[_i].FloatVal))); in executeFCMP_ORD()
547 for( size_t _i=0;_i<Src1.AggregateVal.size();_i++) in executeFCMP_ORD()
548 Dest.AggregateVal[_i].IntVal = APInt(1, in executeFCMP_ORD()
549 ( (Src1.AggregateVal[_i].DoubleVal == in executeFCMP_ORD()
550 Src1.AggregateVal[_i].DoubleVal) && in executeFCMP_ORD()
551 (Src2.AggregateVal[_i].DoubleVal == in executeFCMP_ORD()
552 Src2.AggregateVal[_i].DoubleVal))); in executeFCMP_ORD()
568 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); in executeFCMP_UNO()
569 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); in executeFCMP_UNO()
571 for( size_t _i=0;_i<Src1.AggregateVal.size();_i++) in executeFCMP_UNO()
572 Dest.AggregateVal[_i].IntVal = APInt(1, in executeFCMP_UNO()
573 ( (Src1.AggregateVal[_i].FloatVal != in executeFCMP_UNO()
574 Src1.AggregateVal[_i].FloatVal) || in executeFCMP_UNO()
575 (Src2.AggregateVal[_i].FloatVal != in executeFCMP_UNO()
576 Src2.AggregateVal[_i].FloatVal))); in executeFCMP_UNO()
578 for( size_t _i=0;_i<Src1.AggregateVal.size();_i++) in executeFCMP_UNO()
579 Dest.AggregateVal[_i].IntVal = APInt(1, in executeFCMP_UNO()
580 ( (Src1.AggregateVal[_i].DoubleVal != in executeFCMP_UNO()
581 Src1.AggregateVal[_i].DoubleVal) || in executeFCMP_UNO()
582 (Src2.AggregateVal[_i].DoubleVal != in executeFCMP_UNO()
583 Src2.AggregateVal[_i].DoubleVal))); in executeFCMP_UNO()
599 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); in executeFCMP_BOOL()
600 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); in executeFCMP_BOOL()
601 for( size_t _i=0; _i<Src1.AggregateVal.size(); _i++) in executeFCMP_BOOL()
602 Dest.AggregateVal[_i].IntVal = APInt(1,val); in executeFCMP_BOOL()
690 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); in visitBinaryOperator()
691 R.AggregateVal.resize(Src1.AggregateVal.size()); in visitBinaryOperator()
695 for (unsigned i = 0; i < R.AggregateVal.size(); ++i) \ in visitBinaryOperator()
696 R.AggregateVal[i].IntVal = \ in visitBinaryOperator()
697 Src1.AggregateVal[i].IntVal OP Src2.AggregateVal[i].IntVal; in visitBinaryOperator()
702 for (unsigned i = 0; i < R.AggregateVal.size(); ++i) \ in visitBinaryOperator()
703 R.AggregateVal[i].IntVal = \ in visitBinaryOperator()
704 Src1.AggregateVal[i].IntVal.OP(Src2.AggregateVal[i].IntVal); in visitBinaryOperator()
709 for (unsigned i = 0; i < R.AggregateVal.size(); ++i) \ in visitBinaryOperator()
710 R.AggregateVal[i].TY = \ in visitBinaryOperator()
711 Src1.AggregateVal[i].TY OP Src2.AggregateVal[i].TY; in visitBinaryOperator()
749 for (unsigned i = 0; i < R.AggregateVal.size(); ++i) in visitBinaryOperator()
750 R.AggregateVal[i].FloatVal = in visitBinaryOperator()
751 fmod(Src1.AggregateVal[i].FloatVal, Src2.AggregateVal[i].FloatVal); in visitBinaryOperator()
754 for (unsigned i = 0; i < R.AggregateVal.size(); ++i) in visitBinaryOperator()
755 R.AggregateVal[i].DoubleVal = in visitBinaryOperator()
756 fmod(Src1.AggregateVal[i].DoubleVal, Src2.AggregateVal[i].DoubleVal); in visitBinaryOperator()
794 assert(Src1.AggregateVal.size() == Src2.AggregateVal.size()); in executeSelectInst()
795 assert(Src2.AggregateVal.size() == Src3.AggregateVal.size()); in executeSelectInst()
796 Dest.AggregateVal.resize( Src1.AggregateVal.size() ); in executeSelectInst()
797 for (size_t i = 0; i < Src1.AggregateVal.size(); ++i) in executeSelectInst()
798 Dest.AggregateVal[i] = (Src1.AggregateVal[i].IntVal == 0) ? in executeSelectInst()
799 Src3.AggregateVal[i] : Src2.AggregateVal[i]; in executeSelectInst()
1145 uint32_t src1Size = uint32_t(Src1.AggregateVal.size()); in visitShl()
1146 assert(src1Size == Src2.AggregateVal.size()); in visitShl()
1149 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitShl()
1150 llvm::APInt valueToShift = Src1.AggregateVal[i].IntVal; in visitShl()
1152 Dest.AggregateVal.push_back(Result); in visitShl()
1172 uint32_t src1Size = uint32_t(Src1.AggregateVal.size()); in visitLShr()
1173 assert(src1Size == Src2.AggregateVal.size()); in visitLShr()
1176 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitLShr()
1177 llvm::APInt valueToShift = Src1.AggregateVal[i].IntVal; in visitLShr()
1179 Dest.AggregateVal.push_back(Result); in visitLShr()
1199 size_t src1Size = Src1.AggregateVal.size(); in visitAShr()
1200 assert(src1Size == Src2.AggregateVal.size()); in visitAShr()
1203 uint64_t shiftAmount = Src2.AggregateVal[i].IntVal.getZExtValue(); in visitAShr()
1204 llvm::APInt valueToShift = Src1.AggregateVal[i].IntVal; in visitAShr()
1206 Dest.AggregateVal.push_back(Result); in visitAShr()
1225 unsigned NumElts = Src.AggregateVal.size(); in executeTruncInst()
1227 Dest.AggregateVal.resize(NumElts); in executeTruncInst()
1229 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.trunc(DBitWidth); in executeTruncInst()
1245 unsigned size = Src.AggregateVal.size(); in executeSExtInst()
1247 Dest.AggregateVal.resize(size); in executeSExtInst()
1249 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.sext(DBitWidth); in executeSExtInst()
1266 unsigned size = Src.AggregateVal.size(); in executeZExtInst()
1268 Dest.AggregateVal.resize(size); in executeZExtInst()
1270 Dest.AggregateVal[i].IntVal = Src.AggregateVal[i].IntVal.zext(DBitWidth); in executeZExtInst()
1288 unsigned size = Src.AggregateVal.size(); in executeFPTruncInst()
1290 Dest.AggregateVal.resize(size); in executeFPTruncInst()
1292 Dest.AggregateVal[i].FloatVal = (float)Src.AggregateVal[i].DoubleVal; in executeFPTruncInst()
1310 unsigned size = Src.AggregateVal.size(); in executeFPExtInst()
1312 Dest.AggregateVal.resize(size); in executeFPExtInst()
1314 Dest.AggregateVal[i].DoubleVal = (double)Src.AggregateVal[i].FloatVal; in executeFPExtInst()
1333 unsigned size = Src.AggregateVal.size(); in executeFPToUIInst()
1335 Dest.AggregateVal.resize(size); in executeFPToUIInst()
1340 Dest.AggregateVal[i].IntVal = APIntOps::RoundFloatToAPInt( in executeFPToUIInst()
1341 Src.AggregateVal[i].FloatVal, DBitWidth); in executeFPToUIInst()
1344 Dest.AggregateVal[i].IntVal = APIntOps::RoundDoubleToAPInt( in executeFPToUIInst()
1345 Src.AggregateVal[i].DoubleVal, DBitWidth); in executeFPToUIInst()
1371 unsigned size = Src.AggregateVal.size(); in executeFPToSIInst()
1373 Dest.AggregateVal.resize(size); in executeFPToSIInst()
1378 Dest.AggregateVal[i].IntVal = APIntOps::RoundFloatToAPInt( in executeFPToSIInst()
1379 Src.AggregateVal[i].FloatVal, DBitWidth); in executeFPToSIInst()
1382 Dest.AggregateVal[i].IntVal = APIntOps::RoundDoubleToAPInt( in executeFPToSIInst()
1383 Src.AggregateVal[i].DoubleVal, DBitWidth); in executeFPToSIInst()
1405 unsigned size = Src.AggregateVal.size(); in executeUIToFPInst()
1407 Dest.AggregateVal.resize(size); in executeUIToFPInst()
1412 Dest.AggregateVal[i].FloatVal = in executeUIToFPInst()
1413 APIntOps::RoundAPIntToFloat(Src.AggregateVal[i].IntVal); in executeUIToFPInst()
1416 Dest.AggregateVal[i].DoubleVal = in executeUIToFPInst()
1417 APIntOps::RoundAPIntToDouble(Src.AggregateVal[i].IntVal); in executeUIToFPInst()
1437 unsigned size = Src.AggregateVal.size(); in executeSIToFPInst()
1439 Dest.AggregateVal.resize(size); in executeSIToFPInst()
1444 Dest.AggregateVal[i].FloatVal = in executeSIToFPInst()
1445 APIntOps::RoundSignedAPIntToFloat(Src.AggregateVal[i].IntVal); in executeSIToFPInst()
1448 Dest.AggregateVal[i].DoubleVal = in executeSIToFPInst()
1449 APIntOps::RoundSignedAPIntToDouble(Src.AggregateVal[i].IntVal); in executeSIToFPInst()
1512 SrcNum = Src.AggregateVal.size(); in executeBitCastInst()
1519 SrcVec.AggregateVal.push_back(Src); in executeBitCastInst()
1536 TempSrc.AggregateVal.resize(SrcNum); in executeBitCastInst()
1539 TempSrc.AggregateVal[i].IntVal = in executeBitCastInst()
1540 APInt::floatToBits(SrcVec.AggregateVal[i].FloatVal); in executeBitCastInst()
1544 TempSrc.AggregateVal[i].IntVal = in executeBitCastInst()
1545 APInt::doubleToBits(SrcVec.AggregateVal[i].DoubleVal); in executeBitCastInst()
1548 TempSrc.AggregateVal[i].IntVal = SrcVec.AggregateVal[i].IntVal; in executeBitCastInst()
1567 Tmp = TempSrc.AggregateVal[SrcElt++].IntVal; in executeBitCastInst()
1573 TempDst.AggregateVal.push_back(Elt); in executeBitCastInst()
1583 Elt.IntVal = TempSrc.AggregateVal[i].IntVal; in executeBitCastInst()
1589 TempDst.AggregateVal.push_back(Elt); in executeBitCastInst()
1597 Dest.AggregateVal.resize(DstNum); in executeBitCastInst()
1599 Dest.AggregateVal[i].DoubleVal = in executeBitCastInst()
1600 TempDst.AggregateVal[i].IntVal.bitsToDouble(); in executeBitCastInst()
1602 Dest.AggregateVal.resize(DstNum); in executeBitCastInst()
1604 Dest.AggregateVal[i].FloatVal = in executeBitCastInst()
1605 TempDst.AggregateVal[i].IntVal.bitsToFloat(); in executeBitCastInst()
1611 Dest.DoubleVal = TempDst.AggregateVal[0].IntVal.bitsToDouble(); in executeBitCastInst()
1613 Dest.FloatVal = TempDst.AggregateVal[0].IntVal.bitsToFloat(); in executeBitCastInst()
1615 Dest.IntVal = TempDst.AggregateVal[0].IntVal; in executeBitCastInst()
1756 if(Src1.AggregateVal.size() > indx) { in visitExtractElementInst()
1764 Dest.IntVal = Src1.AggregateVal[indx].IntVal; in visitExtractElementInst()
1767 Dest.FloatVal = Src1.AggregateVal[indx].FloatVal; in visitExtractElementInst()
1770 Dest.DoubleVal = Src1.AggregateVal[indx].DoubleVal; in visitExtractElementInst()
1795 Dest.AggregateVal = Src1.AggregateVal; in visitInsertElementInst()
1797 if(Src1.AggregateVal.size() <= indx) in visitInsertElementInst()
1803 Dest.AggregateVal[indx].IntVal = Src2.IntVal; in visitInsertElementInst()
1806 Dest.AggregateVal[indx].FloatVal = Src2.FloatVal; in visitInsertElementInst()
1809 Dest.AggregateVal[indx].DoubleVal = Src2.DoubleVal; in visitInsertElementInst()
1832 unsigned src1Size = (unsigned)Src1.AggregateVal.size(); in visitShuffleVectorInst()
1833 unsigned src2Size = (unsigned)Src2.AggregateVal.size(); in visitShuffleVectorInst()
1834 unsigned src3Size = (unsigned)Src3.AggregateVal.size(); in visitShuffleVectorInst()
1836 Dest.AggregateVal.resize(src3Size); in visitShuffleVectorInst()
1844 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue(); in visitShuffleVectorInst()
1846 Dest.AggregateVal[i].IntVal = Src1.AggregateVal[j].IntVal; in visitShuffleVectorInst()
1848 Dest.AggregateVal[i].IntVal = Src2.AggregateVal[j-src1Size].IntVal; in visitShuffleVectorInst()
1860 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue(); in visitShuffleVectorInst()
1862 Dest.AggregateVal[i].FloatVal = Src1.AggregateVal[j].FloatVal; in visitShuffleVectorInst()
1864 Dest.AggregateVal[i].FloatVal = Src2.AggregateVal[j-src1Size].FloatVal; in visitShuffleVectorInst()
1871 unsigned j = Src3.AggregateVal[i].IntVal.getZExtValue(); in visitShuffleVectorInst()
1873 Dest.AggregateVal[i].DoubleVal = Src1.AggregateVal[j].DoubleVal; in visitShuffleVectorInst()
1875 Dest.AggregateVal[i].DoubleVal = in visitShuffleVectorInst()
1876 Src2.AggregateVal[j-src1Size].DoubleVal; in visitShuffleVectorInst()
1896 pSrc = &pSrc->AggregateVal[*IdxBegin]; in visitExtractValueInst()
1917 Dest.AggregateVal = pSrc->AggregateVal; in visitExtractValueInst()
1941 pDest = &pDest->AggregateVal[*IdxBegin]; in visitInsertValueInst()
1964 pDest->AggregateVal = Src2.AggregateVal; in visitInsertValueInst()