• Home
  • Raw
  • Download

Lines Matching refs:ConstantVector

44 static Constant *BitCastConstantVector(ConstantVector *CV,  in BitCastConstantVector()
70 return ConstantVector::get(Result); in BitCastConstantVector()
145 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in FoldBitCast()
153 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
552 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) in ConstantFoldCastInstruction()
562 return ConstantVector::get(res); in ConstantFoldCastInstruction()
700 if (ConstantVector* CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction()
705 ConstantVector *CP1 = dyn_cast<ConstantVector>(V1); in ConstantFoldSelectInstruction()
706 ConstantVector *CP2 = dyn_cast<ConstantVector>(V2); in ConstantFoldSelectInstruction()
728 if (Valid) return ConstantVector::get(Res); in ConstantFoldSelectInstruction()
763 if (ConstantVector *CVal = dyn_cast<ConstantVector>(Val)) { in ConstantFoldExtractElementInstruction()
796 return ConstantVector::get(Ops); in ConstantFoldInsertElementInstruction()
814 return ConstantVector::get(Ops); in ConstantFoldInsertElementInstruction()
816 if (ConstantVector *CVal = dyn_cast<ConstantVector>(Val)) { in ConstantFoldInsertElementInstruction()
825 return ConstantVector::get(Ops); in ConstantFoldInsertElementInstruction()
834 if (ConstantVector *CV = dyn_cast<ConstantVector>(C)) in GetVectorElement()
879 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction()
905 ConstantVector *CV = cast<ConstantVector>(Agg); in ConstantFoldExtractValueInstruction()
1269 ConstantVector *CP1 = dyn_cast<ConstantVector>(C1); in ConstantFoldBinaryInstruction()
1270 ConstantVector *CP2 = dyn_cast<ConstantVector>(C2); in ConstantFoldBinaryInstruction()
1286 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1293 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1300 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1307 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1314 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1321 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1328 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1335 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1342 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1349 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1356 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1363 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1370 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1377 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1384 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1391 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1398 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1405 return ConstantVector::get(Res); in ConstantFoldBinaryInstruction()
1975 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction()