Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp314 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement()
369 return ConstantAggregateZero::get(Ty); in getNullValue()
1250 return ConstantAggregateZero::get(Ty); in getImpl()
1269 return ConstantAggregateZero::get(Ty); in getImpl()
1332 return ConstantAggregateZero::get(ST); in get()
1375 return ConstantAggregateZero::get(T); in getImpl()
1406 return ConstantAggregateZero::get(VTy); in getSplat()
1589 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1596 Entry.reset(new ConstantAggregateZero(Ty)); in get()
1627 if (isa<ConstantAggregateZero>(this)) in getSplatValue()
[all …]
H A DAutoUpgrade.cpp1325 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in UpgradeX86VPERMT2Intrinsics()
1439 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift()
2858 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in UpgradeIntrinsicCall()
2859 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in UpgradeIntrinsicCall()
3621 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3649 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3685 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3715 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
H A DConstantFold.cpp146 if (isa<ConstantAggregateZero>(V)) in FoldBitCast()
682 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction()
738 return ConstantAggregateZero::get(VTy); in ConstantFoldShuffleVectorInstruction()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp112 (isa<ConstantAggregateZero>(V) && !V->getType()->isVectorTy()); in isAggrToReplace()
183 } else if (isa<ConstantAggregateZero>(Op) && in preprocessCompositeConstants()
185 auto *AggrC = cast<ConstantAggregateZero>(Op); in preprocessCompositeConstants()
395 if ((isa<ConstantAggregateZero>(Op) && Op->getType()->isVectorTy()) || in processInstrAfterVisit()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp61 if (isa<ConstantAggregateZero>(InitVal)) in add()
H A DLayer.cpp65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
/llvm-project-15.0.7/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()
578 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in simplifyX86insertps()
678 ConstantAggregateZero::get(ShufTy), ShuffleMask); in simplifyX86extrq()
1445 ConstantAggregateZero::get(II.getType())); in instCombineIntrinsic()
1616 if (isa<ConstantAggregateZero>(Mask)) { in instCombineIntrinsic()
1793 return ConstantAggregateZero::get(II.getType()); in simplifyDemandedVectorEltsIntrinsic()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h337 class ConstantAggregateZero final : public ConstantData {
340 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function
346 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
348 static ConstantAggregateZero *get(Type *Ty);
H A DValue.def93 HANDLE_CONSTANT(ConstantAggregateZero)
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp105 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp475 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp97 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp529 if (isa<ConstantAggregateZero>(C)) in mapValue()
530 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/llvm-project-15.0.7/clang/tools/clang-linker-wrapper/
H A DOffloadWrapper.cpp169 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in createBinDesc()
334 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in createFatbinDesc()
/llvm-project-15.0.7/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DManagedMemoryRewrite.cpp205 !isa<ConstantAggregateZero>(Array.getInitializer())) { in replaceGlobalArray()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp919 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1146 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp69 return llvm::ConstantAggregateZero::get(Ty); in getZeroes()
368 if (isa<llvm::ConstantAggregateZero>(C)) { in split()
962 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant()
985 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant()
1729 llvm::ConstantAggregateZero::get( in emitForMemory()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/llvm-project-15.0.7/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()
1407 Res.addVector(ConstantAggregateZero::get(ColumType)); in getZeroMatrix()
1434 Phi->addIncoming(ConstantAggregateZero::get(TileVecTy), in createTiledLoops()
/llvm-project-15.0.7/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp221 ConstantAggregateZero::get(ArrayType::get(getEntryTy(), 0u)); in createBinDesc()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp190 } else if (isa<ConstantAggregateZero>(Init)) { in lowerPrintfForGpu()
H A DAMDGPULibCalls.cpp812 ConstantAggregateZero *CZero; in fold_pow()
817 CZero = dyn_cast<ConstantAggregateZero>(opr1); in fold_pow()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp514 if (isa<llvm::ConstantAggregate>(c) || isa<llvm::ConstantAggregateZero>(c)) { in processConstant()
522 if (auto *caz = dyn_cast<llvm::ConstantAggregateZero>(c)) { in processConstant()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp757 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
1803 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1804 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()

123