Home
last modified time | relevance | path

Searched refs:SrcVecTy (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2688 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in isCastable() local
2690 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in isCastable()
2692 SrcTy = SrcVecTy->getElementType(); in isCastable()
2743 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in isBitCastable() local
2745 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in isBitCastable()
2747 SrcTy = SrcVecTy->getElementType(); in isBitCastable()
2810 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in getCastOpcode() local
2812 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in getCastOpcode()
2815 SrcTy = SrcVecTy->getElementType(); in getCastOpcode()
2981 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in castIsValid() local
[all …]
/external/llvm/lib/IR/
DInstructions.cpp2873 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in isCastable() local
2875 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in isCastable()
2877 SrcTy = SrcVecTy->getElementType(); in isCastable()
2928 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in isBitCastable() local
2930 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in isBitCastable()
2932 SrcTy = SrcVecTy->getElementType(); in isBitCastable()
2992 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in getCastOpcode() local
2994 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in getCastOpcode()
2997 SrcTy = SrcVecTy->getElementType(); in getCastOpcode()
3166 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) { in castIsValid() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1330 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToUIInst() local
1336 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToUIInst()
1337 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1368 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToSIInst() local
1374 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToSIInst()
1375 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp1331 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToUIInst() local
1337 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToUIInst()
1338 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToUI instruction"); in executeFPToUIInst()
1369 Type *SrcVecTy = SrcTy->getScalarType(); in executeFPToSIInst() local
1375 if (SrcVecTy->getTypeID() == Type::FloatTyID) { in executeFPToSIInst()
1376 assert(SrcVecTy->isFloatingPointTy() && "Invalid FPToSI instruction"); in executeFPToSIInst()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2430 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in isCastable() local
2432 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in isCastable()
2434 SrcTy = SrcVecTy->getElementType(); in isCastable()
2502 if (VectorType *SrcVecTy = dyn_cast<VectorType>(SrcTy)) in getCastOpcode() local
2504 if (SrcVecTy->getNumElements() == DestVecTy->getNumElements()) { in getCastOpcode()
2507 SrcTy = SrcVecTy->getElementType(); in getCastOpcode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2674 VectorType *SrcVecTy = cast<VectorType>(V->getType()); in createBitOrPointerCast() local
2675 assert((VF == SrcVecTy->getNumElements()) && "Vector dimensions do not match"); in createBitOrPointerCast()
2676 Type *SrcElemTy = SrcVecTy->getElementType(); in createBitOrPointerCast()
6186 Type *SrcVecTy = in getInstructionCost() local
6196 SrcVecTy = smallestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
6201 SrcVecTy = largestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
6208 return N * TTI.getCastInstrCost(I->getOpcode(), VectorTy, SrcVecTy, I); in getInstructionCost()
DSLPVectorizer.cpp2203 VectorType *SrcVecTy = VectorType::get(SrcTy, VL.size()); in getEntryCost() local
2206 if (!MinBWs.count(VL0) || VecTy != SrcVecTy) { in getEntryCost()
2208 TTI->getCastInstrCost(S.getOpcode(), VecTy, SrcVecTy, VL0); in getEntryCost()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp6058 Type *SrcVecTy = ToVectorTy(SrcScalarTy, VF); in getInstructionCost() local
6067 SrcVecTy = smallestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
6072 SrcVecTy = largestIntegerVectorType(SrcVecTy, MinVecTy); in getInstructionCost()
6078 return TTI.getCastInstrCost(I->getOpcode(), VectorTy, SrcVecTy); in getInstructionCost()
DSLPVectorizer.cpp1590 VectorType *SrcVecTy = VectorType::get(SrcTy, VL.size()); in getEntryCost() local
1591 int VecCost = TTI->getCastInstrCost(VL0->getOpcode(), VecTy, SrcVecTy); in getEntryCost()