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.cpp366 Value *TruncInstCombine::getReducedOperand(Value *V, Type *SclTy) { in getReducedOperand() argument
367 Type *Ty = getReducedType(V, SclTy); in getReducedOperand()
380 void TruncInstCombine::ReduceExpressionGraph(Type *SclTy) { in ReduceExpressionGraph() argument
397 Type *Ty = getReducedType(I, SclTy); in ReduceExpressionGraph()
437 Value *LHS = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
438 Value *RHS = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
447 Value *Vec = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
453 Value *Vec = getReducedOperand(I->getOperand(0), SclTy); in ReduceExpressionGraph()
454 Value *NewElt = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
461 Value *LHS = getReducedOperand(I->getOperand(1), SclTy); in ReduceExpressionGraph()
[all...]
H A DAggressiveInstCombineInternal.h129 Value *getReducedOperand(Value *V, Type *SclTy);
136 void ReduceExpressionGraph(Type *SclTy);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86FixupVectorConstants.cpp203 static Constant *rebuildConstant(LLVMContext &Ctx, Type *SclTy, in rebuildConstant() argument
218 if (SclTy->is16bitFPTy()) in rebuildConstant()
219 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
227 if (SclTy->isFloatTy()) in rebuildConstant()
228 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
237 if (SclTy->isDoubleTy()) in rebuildConstant()
238 return ConstantDataVector::getFP(SclTy, RawBits); in rebuildConstant()
253 Type *SclTy = C->getType()->getScalarType(); in rebuildSplatCst() local
254 unsigned NumSclBits = SclTy->getPrimitiveSizeInBits(); in rebuildSplatCst()
263 return rebuildConstant(C->getContext(), SclTy, *Splat, NumSclBits); in rebuildSplatCst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp24226 EVT SclTy = Scalar.getValueType(); in visitCONCAT_VECTORS() local
24228 if (!SclTy.isFloatingPoint() && !SclTy.isInteger()) in visitCONCAT_VECTORS()
24232 if (VT.getSizeInBits() % SclTy.getSizeInBits()) in visitCONCAT_VECTORS()
24235 unsigned VNTNumElms = VT.getSizeInBits() / SclTy.getSizeInBits(); in visitCONCAT_VECTORS()
24239 EVT NVT = EVT::getVectorVT(*DAG.getContext(), SclTy, VNTNumElms); in visitCONCAT_VECTORS()