Home
last modified time | relevance | path

Searched refs:SclTy (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp365 Value *TruncInstCombine::getReducedOperand(Value *V, Type *SclTy) { in getReducedOperand() argument
366 Type *Ty = getReducedType(V, SclTy); in getReducedOperand()
379 void TruncInstCombine::ReduceExpressionGraph(Type *SclTy) { in ReduceExpressionGraph() argument
396 Type *Ty = getReducedType(I, SclTy); in ReduceExpressionGraph()
436 Value *LHS = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
437 Value *RHS = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
446 Value *Vec = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
452 Value *Vec = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
453 Value *NewElt = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
460 Value *LHS = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
[all …]
H A DAggressiveInstCombineInternal.h126 Value *getReducedOperand(Value *V, Type *SclTy);
133 void ReduceExpressionGraph(Type *SclTy);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp210 static Constant *rebuildConstant(LLVMContext &Ctx, Type *SclTy, in rebuildConstant() argument
225 if (SclTy->is16bitFPTy()) in rebuildConstant()
226 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
234 if (SclTy->isFloatTy()) in rebuildConstant()
235 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
244 if (SclTy->isDoubleTy()) in rebuildConstant()
245 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
260 Type *SclTy = C->getType()->getScalarType(); in rebuildSplatCst() local
261 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildSplatCst()
270 return rebuildConstant(C->getContext(), SclTy, *Splat, NumSclBits); in rebuildSplatCst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp25300 EVT SclTy = Scalar.getValueType(); in visitCONCAT_VECTORS() local
25302 if (!SclTy.isFloatingPoint() && !SclTy.isInteger()) in visitCONCAT_VECTORS()
25306 if (VT.getSizeInBits() % SclTy.getSizeInBits()) in visitCONCAT_VECTORS()
25309 unsigned VNTNumElms = VT.getSizeInBits() / SclTy.getSizeInBits(); in visitCONCAT_VECTORS()
25313 EVT NVT = EVT::getVectorVT(*DAG.getContext(), SclTy, VNTNumElms); in visitCONCAT_VECTORS()