| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 314 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 D | AutoUpgrade.cpp | 1325 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 D | ConstantFold.cpp | 146 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 D | SPIRVEmitIntrinsics.cpp | 112 (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 D | Mangling.cpp | 61 if (isa<ConstantAggregateZero>(InitVal)) in add()
|
| H A D | Layer.cpp | 65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 62 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 D | Constants.h | 337 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 D | Value.def | 93 HANDLE_CONSTANT(ConstantAggregateZero)
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 105 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
|
| H A D | GlobalMerge.cpp | 475 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CtorUtils.cpp | 97 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
|
| H A D | ValueMapper.cpp | 529 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 D | OffloadWrapper.cpp | 169 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 D | TargetLoweringObjectFile.cpp | 121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | ManagedMemoryRewrite.cpp | 205 !isa<ConstantAggregateZero>(Array.getInitializer())) { in replaceGlobalArray()
|
| /llvm-project-15.0.7/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 919 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 D | CGExprConstant.cpp | 69 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 D | BPFISelDAGToDAG.cpp | 393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 1224 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 D | ClangOffloadWrapper.cpp | 221 ConstantAggregateZero::get(ArrayType::get(getEntryTy(), 0u)); in createBinDesc()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 190 } else if (isa<ConstantAggregateZero>(Init)) { in lowerPrintfForGpu()
|
| H A D | AMDGPULibCalls.cpp | 812 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 D | ConvertFromLLVMIR.cpp | 514 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 D | InstCombineVectorOps.cpp | 757 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements() 1803 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder() 1804 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
|