Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp90 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors()
95 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp518 if (isa<ConstantAggregateZero>(C)) in mapValue()
519 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp312 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement()
380 return ConstantAggregateZero::get(Ty); in getNullValue()
1273 return ConstantAggregateZero::get(Ty); in getImpl()
1291 return ConstantAggregateZero::get(Ty); in getImpl()
1354 return ConstantAggregateZero::get(ST); in get()
1397 return ConstantAggregateZero::get(T); in getImpl()
1428 return ConstantAggregateZero::get(VTy); in getSplat()
1665 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1672 Entry.reset(new ConstantAggregateZero(Ty)); in get()
1703 if (isa<ConstantAggregateZero>(this)) in getSplatValue()
[all …]
H A DAutoUpgrade.cpp1262 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in UpgradeX86VPERMT2Intrinsics()
1376 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift()
2706 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in UpgradeIntrinsicCall()
2707 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in UpgradeIntrinsicCall()
3469 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3497 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3533 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3563 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
H A DInstructions.cpp2033 if (isa<UndefValue>(Mask) || isa<ConstantAggregateZero>(Mask)) in isValidOperands()
2065 if (isa<ConstantAggregateZero>(Mask)) { in getShuffleMask()
2073 assert((isa<ConstantAggregateZero>(Mask) || isa<UndefValue>(Mask)) && in getShuffleMask()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp62 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad()
92 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore()
224 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
279 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
580 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in simplifyX86insertps()
680 ConstantAggregateZero::get(ShufTy), ShuffleMask); in simplifyX86extrq()
1449 ConstantAggregateZero::get(II.getType())); in instCombineIntrinsic()
1620 if (isa<ConstantAggregateZero>(Mask)) { in instCombineIntrinsic()
1797 return ConstantAggregateZero::get(II.getType()); in simplifyDemandedVectorEltsIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h336 class ConstantAggregateZero final : public ConstantData {
339 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function
345 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
347 static ConstantAggregateZero *get(Type *Ty);
H A DValue.def92 HANDLE_CONSTANT(ConstantAggregateZero)
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp106 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp477 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp64 if (isa<ConstantAggregateZero>(InitVal)) in add()
H A DLayer.cpp66 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp123 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp69 return llvm::ConstantAggregateZero::get(Ty); in getZeroes()
368 if (isa<llvm::ConstantAggregateZero>(C)) { in split()
942 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant()
965 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant()
1700 llvm::ConstantAggregateZero::get( in emitForMemory()
H A DCGDecl.cpp885 if (isa<llvm::ConstantAggregateZero>(Init) || in canEmitInitWithFewStoresAfterBZero()
970 if (isa<llvm::ConstantAggregateZero>(Init)) return true; in shouldUseBZeroPlusStoresToInitialize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp919 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1146 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1224 bool isSumZero = isa<ConstantAggregateZero>(Result.getColumn(J)); in emitMatrixMultiply()
1253 bool isSumZero = isa<ConstantAggregateZero>(Result.getRow(I)); in emitMatrixMultiply()
1401 Res.addVector(ConstantAggregateZero::get(ColumType)); in getZeroMatrix()
1428 Phi->addIncoming(ConstantAggregateZero::get(TileVecTy), in createTiledLoops()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp189 } else if (isa<ConstantAggregateZero>(Init)) { in lowerPrintfForGpu()
H A DAMDGPULibCalls.cpp861 ConstantAggregateZero *CZero; in fold_pow()
866 CZero = dyn_cast<ConstantAggregateZero>(opr1); in fold_pow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp700 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
1699 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1700 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
H A DInstructionCombining.cpp3305 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
3467 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
3470 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
3480 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()
H A DInstCombineCalls.cpp1574 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) { in visitCallInst()
1575 return replaceInstUsesWith(CI, ConstantAggregateZero::get(II->getType())); in visitCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp434 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
/freebsd-13.1/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp220 if (isa<ConstantAggregateZero>(UsedVar->getInitializer())) { in RemoveFunctionReferences()

12