/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Constants.cpp | 51 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isNegativeZeroValue() 77 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isZeroValue() 111 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isAllOnesValue() 137 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isOneValue() 187 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isMinSignedValue() 518 delete static_cast<ConstantVector *>(C); in deleteConstant() 788 return ConstantVector::get(NewC); in replaceUndefsWith() 822 return ConstantVector::get(NewC); in mergeUndefsWith() 1361 ConstantVector::ConstantVector(VectorType *T, ArrayRef<Constant *> V) in ConstantVector() function in ConstantVector 1705 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getSplatValue() [all …]
|
H A D | ConstantFold.cpp | 78 return ConstantVector::get(Result); in BitCastConstantVector() 607 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 620 return ConstantVector::get(res); in ConstantFoldCastInstruction() 776 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 802 return ConstantVector::get(Result); in ConstantFoldSelectInstruction() 957 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction() 1012 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction() 1105 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction() 1468 return ConstantVector::getSplat( in ConstantFoldBinaryInstruction() 2104 return ConstantVector::getSplat( in ConstantFoldCompareInstruction() [all …]
|
H A D | ConstantsContext.h | 414 template <> struct ConstantInfo<ConstantVector> { 415 using ValType = ConstantAggrKeyType<ConstantVector>;
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
H A D | ValueList.cpp | 206 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs() 207 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-diff/ |
H A D | DifferenceEngine.cpp | 411 if (isa<ConstantVector>(L)) { in equivalentAsOperands() 412 ConstantVector *CVL = cast<ConstantVector>(L); in equivalentAsOperands() 413 ConstantVector *CVR = cast<ConstantVector>(R); in equivalentAsOperands()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Value.def | 87 HANDLE_CONSTANT(ConstantVector) 105 HANDLE_CONSTANT_MARKER(ConstantAggregateLastVal, ConstantVector)
|
H A D | Constants.h | 492 class ConstantVector final : public ConstantAggregate { 493 friend struct ConstantAggrKeyType<ConstantVector>; 496 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 245 return ConstantVector::get(Result); in FoldBitCast() 291 return ConstantVector::get(Result); in FoldBitCast() 504 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || in ReadDataFromGlobal() 1145 assert(isa<ConstantVector>(C)); in ConstantFoldConstantImpl() 1146 return ConstantVector::get(Ops); in ConstantFoldConstantImpl() 2263 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall1() 2566 if ((isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall2() 2896 return ConstantVector::get(NewElements); in ConstantFoldFixedVectorCall() 2917 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() 2936 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() [all …]
|
H A D | VectorUtils.cpp | 772 return ConstantVector::get(Mask); in createBitMaskForGaps() 935 if (auto *CV = dyn_cast<ConstantVector>(Mask)) in possiblyDemandedEltsInMask()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 248 return ConstantVector::get(VectorValue); in getRandomValue() 425 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 428 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act() 515 Constant *Mask = ConstantVector::get(Idxs); in Act()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 87 auto *ConstVec = dyn_cast<ConstantVector>(MaskVal); in isAllTrueMask() 187 return ConstantVector::get(ConstElems); in createStepVector()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/Utils/ |
H A D | Local.h | 65 OpC = ConstantVector::getSplat(
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | FunctionComparator.cpp | 336 const ConstantVector *LV = cast<ConstantVector>(L); in cmpConstants() 337 const ConstantVector *RV = cast<ConstantVector>(R); in cmpConstants()
|
H A D | ValueMapper.cpp | 513 if (isa<ConstantVector>(C)) in mapValue() 514 return getVM()[V] = ConstantVector::get(Ops); in mapValue()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 1132 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1368 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts() 1375 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts() 1419 if (auto *CV = dyn_cast<ConstantVector>(Sel->getCondition())) { in SimplifyDemandedVectorElts() 1520 if (auto *CV = dyn_cast<ConstantVector>(II->getOperand(2))) in SimplifyDemandedVectorElts()
|
H A D | InstructionCombining.cpp | 912 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) { in dyn_castNegVal() 1692 Constant *NewC = ConstantVector::get(NewVecC); in foldVectorBinop() 3870 if (!isa<ConstantVector>(U) && !isa<ConstantExpr>(U)) in prepareICWorklistFromFunction()
|
H A D | InstCombineMulDivRem.cpp | 1552 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem() 1580 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 918 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() 1138 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { in InitializeMemory()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/ |
H A D | NVPTXGenericToNVVM.cpp | 219 if (isa<ConstantVector>(C)) { in remapConstantVectorOrConstantAggregate()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 412 return ConstantVector::get(ConstantVec); in simplifyX86varShift() 427 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() 627 return ConstantVector::get(Args); in simplifyX86extrq() 784 return ConstantVector::get(Args); in simplifyX86insertq()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/ |
H A D | InstCombiner.h | 354 return ConstantVector::get(Out); in getSafeVectorConstantForBinop()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | MemProfiler.cpp | 425 if (auto *Vector = dyn_cast<ConstantVector>(Mask)) { in instrumentMaskedLoadOrStore()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | EarlyCSE.cpp | 867 auto *Vec0 = dyn_cast<ConstantVector>(Mask0); in isNonTargetIntrinsicMatch() 868 auto *Vec1 = dyn_cast<ConstantVector>(Mask1); in isNonTargetIntrinsicMatch()
|
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 885 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in canEmitInitWithFewStoresAfterBZero() 923 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in emitStoresForInitAfterBZero() 1305 return llvm::ConstantVector::get(Values); in replaceUndef()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorCombine.cpp | 989 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue() 997 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue()
|