Home
last modified time | relevance | path

Searched refs:ConstantAggregateZero (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp314 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement()
375 return ConstantAggregateZero::get(Ty); in getNullValue()
1244 return ConstantAggregateZero::get(Ty); in getImpl()
1263 return ConstantAggregateZero::get(Ty); in getImpl()
1326 return ConstantAggregateZero::get(ST); in get()
1369 return ConstantAggregateZero::get(T); in getImpl()
1400 return ConstantAggregateZero::get(VTy); in getSplat()
1579 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1586 Entry.reset(new ConstantAggregateZero(Ty)); in get()
1617 if (isa<ConstantAggregateZero>(this)) in getSplatValue()
[all …]
H A DAutoUpgrade.cpp1661 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in upgradeX86VPERMT2Intrinsics()
1775 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift()
3222 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in UpgradeIntrinsicCall()
3223 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in UpgradeIntrinsicCall()
3983 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
4011 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
4047 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
4077 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
H A DConstantFold.cpp485 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction()
541 return ConstantAggregateZero::get(VTy); in ConstantFoldShuffleVectorInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp61 if (isa<ConstantAggregateZero>(InitVal)) in add()
H A DLayer.cpp65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h335 class ConstantAggregateZero final : public ConstantData {
338 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function
344 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
346 static ConstantAggregateZero *get(Type *Ty);
H A DValue.def93 HANDLE_CONSTANT(ConstantAggregateZero)
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp122 (isa<ConstantAggregateZero>(V) && !V->getType()->isVectorTy()); in isAggrToReplace()
223 } else if (isa<ConstantAggregateZero>(Op) && in preprocessCompositeConstants()
225 auto *AggrC = cast<ConstantAggregateZero>(Op); in preprocessCompositeConstants()
591 if ((isa<ConstantAggregateZero>(Op) && Op->getType()->isVectorTy()) || in processInstrAfterVisit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp94 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp532 if (isa<ConstantAggregateZero>(C)) in mapValue()
533 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp86 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp128 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp487 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
H A DComplexDeinterleavingPass.cpp1697 if (!isa<UndefValue>(RealOp1) && !isa<ConstantAggregateZero>(RealOp1)) { in identifyDeinterleave()
1702 if (!isa<UndefValue>(ImagOp1) && !isa<ConstantAggregateZero>(ImagOp1)) { in identifyDeinterleave()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp63 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad()
93 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore()
225 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
280 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
1647 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in simplifyX86insertps()
1747 ConstantAggregateZero::get(ShufTy), ShuffleMask); in simplifyX86extrq()
2514 ConstantAggregateZero::get(II.getType())); in instCombineIntrinsic()
2685 if (isa<ConstantAggregateZero>(Mask)) { in instCombineIntrinsic()
2872 return ConstantAggregateZero::get(II.getType()); in simplifyDemandedVectorEltsIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp71 return llvm::ConstantAggregateZero::get(Ty); in getZeroes()
370 if (isa<llvm::ConstantAggregateZero>(C)) { in split()
963 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant()
986 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant()
1751 llvm::ConstantAggregateZero::get( in emitForMemory()
H A DCGHLSLRuntime.cpp410 if (isa<ConstantAggregateZero>(Ctor)) in gatherFunctions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp937 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1172 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp386 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1503 bool isSumZero = isa<ConstantAggregateZero>(Result.getColumn(J)); in emitMatrixMultiply()
1532 bool isSumZero = isa<ConstantAggregateZero>(Result.getRow(I)); in emitMatrixMultiply()
1685 Res.addVector(ConstantAggregateZero::get(ColumType)); in getZeroMatrix()
1712 Phi->addIncoming(ConstantAggregateZero::get(TileVecTy), in createTiledLoops()
H A DRewriteStatepointsForGC.cpp372 auto *CAZ = ConstantAggregateZero::get(I->getType()); in findBaseDefiningValueOfVector()
2108 CPN = ConstantAggregateZero::get(AT); in relocationViaAlloca()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-diff/lib/
H A DDifferenceEngine.cpp572 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp786 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
1930 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1931 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
H A DInstructionCombining.cpp3692 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
3854 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
3857 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
3867 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()

12