| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Constants.cpp | 50 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isNegativeZeroValue() 76 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isZeroValue() 110 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isAllOnesValue() 136 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isOneValue() 162 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in isMinSignedValue() 1072 ConstantVector::ConstantVector(VectorType *T, ArrayRef<Constant *> V) in ConstantVector() function in ConstantVector 1079 Constant *ConstantVector::get(ArrayRef<Constant*> V) { in get() 1364 void ConstantVector::destroyConstantImpl() { in destroyConstantImpl() 1374 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getSplatValue() 1379 Constant *ConstantVector::getSplatValue() const { in getSplatValue() [all …]
|
| H A D | ConstantFold.cpp | 68 return ConstantVector::get(Result); in BitCastConstantVector() 570 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && in ConstantFoldCastInstruction() 582 return ConstantVector::get(res); in ConstantFoldCastInstruction() 738 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 761 return ConstantVector::get(Result); in ConstantFoldSelectInstruction() 832 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction() 873 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction() 916 return ConstantVector::get(Result); in ConstantFoldInsertValueInstruction() 1236 return ConstantVector::get(Result); in ConstantFoldBinaryInstruction() 1847 return ConstantVector::get(ResElts); in ConstantFoldCompareInstruction() [all …]
|
| H A D | ConstantsContext.h | 368 template <> struct ConstantInfo<ConstantVector> { 369 using ValType = ConstantAggrKeyType<ConstantVector>;
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Value.def | 73 HANDLE_CONSTANT(ConstantVector) 90 HANDLE_CONSTANT_MARKER(ConstantAggregateLastVal, ConstantVector)
|
| H A D | Constants.h | 500 class ConstantVector final : public ConstantAggregate { 501 friend struct ConstantAggrKeyType<ConstantVector>; 504 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.cpp | 200 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs() 201 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 412 if (isa<ConstantVector>(L)) { in equivalentAsOperands() 413 ConstantVector *CVL = cast<ConstantVector>(L); in equivalentAsOperands() 414 ConstantVector *CVR = cast<ConstantVector>(R); in equivalentAsOperands()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 141 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); in FoldBitCast() 232 return ConstantVector::get(Result); in FoldBitCast() 278 return ConstantVector::get(Result); in FoldBitCast() 456 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || in ReadDataFromGlobal() 1056 if (!isa<ConstantVector>(C) && !isa<ConstantExpr>(C)) in ConstantFoldConstantImpl() 1089 assert(isa<ConstantVector>(C)); in ConstantFoldConstantImpl() 1090 return ConstantVector::get(Ops); in ConstantFoldConstantImpl() 1904 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall() 2104 if ((isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall() 2260 return ConstantVector::get(NewElements); in ConstantFoldVectorCall() [all …]
|
| H A D | VectorUtils.cpp | 616 return ConstantVector::get(Mask); in createBitMaskForGaps() 626 return ConstantVector::get(MaskVec); in createReplicatedMask() 636 return ConstantVector::get(Mask); in createInterleaveMask() 645 return ConstantVector::get(Mask); in createStrideMask() 658 return ConstantVector::get(Mask); in createSequentialMask()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineVectorOps.cpp | 495 ConstantVector::get(ExtendMask)); in replaceExtractElements() 812 ConstantVector::get(NewShufElts), in foldConstantInsEltIntoShuffle() 813 ConstantVector::get(NewMaskElts)); in foldConstantInsEltIntoShuffle() 852 ConstantVector::get(Values), in foldConstantInsEltIntoShuffle() 853 ConstantVector::get(Mask)); in foldConstantInsEltIntoShuffle() 926 ConstantVector::get(Mask)); in visitInsertElementInst() 1136 ConstantVector::get(MaskValues)); in evaluateInDifferentElementOrder() 1523 return new ShuffleVectorInst(X, Y, ConstantVector::get(NewMask)); in foldIdentityExtractShuffle() 1648 SVI.setOperand(2, ConstantVector::get(Elts)); in visitShuffleVectorInst() 1735 ConstantVector::get(ShuffleMask), in visitShuffleVectorInst() [all …]
|
| H A D | InstCombineSimplifyDemanded.cpp | 1142 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1287 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts() 1294 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts() 1319 I->setOperand(2, ConstantVector::get(Elts)); in SimplifyDemandedVectorElts() 1339 if (auto *CV = dyn_cast<ConstantVector>(Sel->getCondition())) { in SimplifyDemandedVectorElts()
|
| H A D | InstCombineCalls.cpp | 106 return ConstantVector::get(BoolVec); in getNegativeIsTrueBoolVec() 500 return ConstantVector::get(ConstantVec); in simplifyX86varShift() 515 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() 598 return ConstantVector::get(Vals); in simplifyX86pack() 822 return ConstantVector::get(Args); in simplifyX86extrq() 959 ConstantVector::get(ShuffleMask)); in simplifyX86insertq() 984 return ConstantVector::get(Args); in simplifyX86insertq() 1044 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts)); in simplifyX86pshufb() 1094 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, NumElts)); in simplifyX86vpermilvar() 1131 auto ShuffleMask = ConstantVector::get(makeArrayRef(Indexes, Size)); in simplifyX86vpermv() [all …]
|
| H A D | InstCombineShifts.cpp | 449 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant() 484 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
|
| H A D | InstCombineMulDivRem.cpp | 125 return ConstantVector::get(Elts); in getLogBase2() 1318 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) { in visitSRem() 1346 Constant *NewRHSV = ConstantVector::get(Elts); in visitSRem()
|
| H A D | InstructionCombining.cpp | 769 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) { in dyn_castNegVal() 1480 Constant *NewC = ConstantVector::get(NewVecC); in foldVectorBinop() 3322 if (!isa<ConstantVector>(U) && !isa<ConstantExpr>(U)) in AddReachableCodeToWorklist()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 250 return ConstantVector::get(VectorValue); in getRandomValue() 426 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 429 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act() 513 Constant *Mask = ConstantVector::get(Idxs); in Act()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | ConstantFolding.h | 29 class ConstantVector; variable
|
| H A D | TargetTransformInfoImpl.h | 590 if (isa<ConstantDataVector>(Val) || isa<ConstantVector>(Val)) { in minRequiredElementSize()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 317 const ConstantVector *LV = cast<ConstantVector>(L); in cmpConstants() 318 const ConstantVector *RV = cast<ConstantVector>(R); in cmpConstants()
|
| H A D | ValueMapper.cpp | 480 if (isa<ConstantVector>(C)) in mapValue() 481 return getVM()[V] = ConstantVector::get(Ops); in mapValue()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 922 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() 1192 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { in InitializeMemory()
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 220 if (isa<ConstantVector>(C)) { in remapConstantVectorOrConstantAggregate()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | ScalarizeMaskedMemIntrin.cpp | 496 if (cast<ConstantVector>(Mask)->getAggregateElement(Idx)->isNullValue()) in scalarizeMaskedScatter()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 867 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in canEmitInitWithFewStoresAfterBZero() 904 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in emitStoresForInitAfterBZero() 1194 return llvm::ConstantVector::get(Values); in replaceUndef()
|
| H A D | CGExpr.cpp | 1718 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreOfScalar() 1860 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitLoadOfExtVectorElementLValue() 2099 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 2112 llvm::Value *ExtMaskV = llvm::ConstantVector::get(ExtMask); in EmitStoreThroughExtVectorComponentLValue() 2131 llvm::Value *MaskV = llvm::ConstantVector::get(Mask); in EmitStoreThroughExtVectorComponentLValue() 3756 llvm::Constant *CV = llvm::ConstantVector::get(CElts); in EmitExtVectorElementExpr()
|