| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVRegularizer.cpp | 108 &Ctx](ConstantVector *Vec, in runLowerConstExpr() 139 if (auto *Vec = dyn_cast<ConstantVector>(Op)) { in runLowerConstExpr() 151 if (auto *Vec = dyn_cast<ConstantVector>(C)) in runLowerConstExpr() 240 Constant *ConstVec = ConstantVector::getSplat(VecElemCount, ConstInt); in visitCallScalToVec()
|
| H A D | SPIRVGlobalRegistry.cpp | 324 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector() 394 ConstantVector::getSplat(LLVMVecTy->getElementCount(), ConstInt); in getOrCreateConsIntVector()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 233 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 247 return ConstantVector::get(res); in ConstantFoldCastInstruction() 342 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 368 return ConstantVector::get(Result); in ConstantFoldSelectInstruction() 516 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction() 575 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction() 669 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction() 1015 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction() 1285 return ConstantVector::getSplat( in ConstantFoldCompareInstruction() 1309 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction() [all …]
|
| H A D | Constants.cpp | 398 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 414 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 516 delete static_cast<ConstantVector *>(C); in deleteConstant() 774 return ConstantVector::get(NewC); in replaceUndefsWith() 808 return ConstantVector::get(NewC); in mergeUndefsWith() 1335 ConstantVector::ConstantVector(VectorType *T, ArrayRef<Constant *> V) in ConstantVector() function in ConstantVector 1342 Constant *ConstantVector::get(ArrayRef<Constant*> V) { in get() 1611 void ConstantVector::destroyConstantImpl() { in destroyConstantImpl() 1621 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getSplatValue() 2305 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr() [all …]
|
| H A D | ReplaceConstant.cpp | 36 } else if (isa<ConstantVector>(C)) { in expandUser()
|
| H A D | ConstantsContext.h | 303 template <> struct ConstantInfo<ConstantVector> { 304 using ValType = ConstantAggrKeyType<ConstantVector>;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Value.def | 88 HANDLE_CONSTANT(ConstantVector) 107 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);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 248 return ConstantVector::get(Result); in FoldBitCast() 284 return ConstantVector::get(Result); in FoldBitCast() 496 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || in ReadDataFromGlobal() 1123 assert(isa<ConstantVector>(C)); in ConstantFoldConstantImpl() 1124 return ConstantVector::get(Ops); in ConstantFoldConstantImpl() 2483 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall1() 2871 if ((isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall2() 3220 return ConstantVector::get(NewElements); in ConstantFoldFixedVectorCall() 3237 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() 3256 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() [all …]
|
| H A D | VectorUtils.cpp | 848 return ConstantVector::get(Mask); in createBitMaskForGaps() 1052 if (auto *CV = dyn_cast<ConstantVector>(Mask)) in possiblyDemandedEltsInMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
| H A D | DifferenceEngine.cpp | 582 if (isa<ConstantVector>(L)) { in equivalentAsOperands() 583 const ConstantVector *CVL = cast<ConstantVector>(L); in equivalentAsOperands() 584 const ConstantVector *CVR = cast<ConstantVector>(R); in equivalentAsOperands()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 255 return ConstantVector::get(VectorValue); in getRandomValue() 423 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 426 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act() 514 Constant *Mask = ConstantVector::get(Idxs); in Act()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 42 Cs.push_back(ConstantVector::getSplat(EC, Elt)); in makeConstantsWithType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FixupVectorConstants.cpp | 76 if (auto *CV = dyn_cast<ConstantVector>(C)) { in extractConstantBits() 122 if (auto *CV = dyn_cast<ConstantVector>(C)) { in getSplatableConstant()
|
| H A D | X86InstCombineIntrinsic.cpp | 412 return ConstantVector::get(ConstantVec); in simplifyX86varShift() 427 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() 1694 return ConstantVector::get(Args); in simplifyX86extrq() 1851 return ConstantVector::get(Args); in simplifyX86insertq()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 392 const ConstantVector *LV = cast<ConstantVector>(L); in cmpConstants() 393 const ConstantVector *RV = cast<ConstantVector>(R); in cmpConstants()
|
| H A D | ValueMapper.cpp | 525 if (isa<ConstantVector>(C)) in mapValue() 526 return getVM()[V] = ConstantVector::get(Ops); in mapValue()
|
| H A D | Evaluator.cpp | 210 return ConstantVector::get(Consts); in toConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 1389 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1630 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts() 1637 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts() 1681 if (auto *CV = dyn_cast<ConstantVector>(Sel->getCondition())) { in SimplifyDemandedVectorElts() 1782 if (auto *CV = dyn_cast<ConstantVector>(II->getOperand(2))) in SimplifyDemandedVectorElts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 936 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() 1164 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { in InitializeMemory()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 200 if (isa<ConstantVector>(C)) { in remapConstantVectorOrConstantAggregate()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 371 return ConstantVector::get(Out); in getSafeVectorConstantForBinop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 1011 auto *Vec0 = dyn_cast<ConstantVector>(Mask0); in isNonTargetIntrinsicMatch() 1012 auto *Vec1 = dyn_cast<ConstantVector>(Mask1); in isNonTargetIntrinsicMatch()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 918 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in canEmitInitWithFewStoresAfterBZero() 956 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in emitStoresForInitAfterBZero() 1340 return llvm::ConstantVector::get(Values); in replaceUndef()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 392 if (auto *Vector = dyn_cast<ConstantVector>(Mask)) { in instrumentMaskedLoadOrStore()
|