| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Constant.cpp | 198 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get() 199 auto *LLVMC = llvm::ConstantAggregateZero::get(Ty->LLVMTy); in get() 200 return cast<ConstantAggregateZero>( in get() 204 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement() 206 cast<llvm::ConstantAggregateZero>(Val)->getSequentialElement())); in getSequentialElement() 208 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement() 210 cast<llvm::ConstantAggregateZero>(Val)->getStructElement(Elt))); in getStructElement() 212 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue() 214 Ctx.getValue(cast<llvm::ConstantAggregateZero>(Val)->getElementValue( in getElementValue() 217 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue() [all …]
|
| H A D | Context.cpp | 319 auto *CAZ = cast<llvm::ConstantAggregateZero>(LLVMC); in getOrCreateValueInternal() 320 It->second = std::unique_ptr<ConstantAggregateZero>( in getOrCreateValueInternal() 321 new ConstantAggregateZero(CAZ, *this)); in getOrCreateValueInternal()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 103 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this) || in isNullValue() 328 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement() 392 return ConstantAggregateZero::get(Ty); in getNullValue() 442 if (const auto *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement() 538 delete static_cast<ConstantAggregateZero *>(C); in deleteConstant() 1134 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement() 1140 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement() 1144 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue() 1150 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue() 1156 ElementCount ConstantAggregateZero::getElementCount() const { in getElementCount() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Values.def | 36 DEF_CONST(ConstantAggregateZero, ConstantAggregateZero)
|
| H A D | Constant.h | 450 class ConstantAggregateZero final : public Constant { 451 ConstantAggregateZero(llvm::ConstantAggregateZero *C, Context &Ctx) in ConstantAggregateZero() function 452 : Constant(ClassID::ConstantAggregateZero, C, Ctx) {} in ConstantAggregateZero() 456 LLVM_ABI static ConstantAggregateZero *get(Type *Ty); 470 return cast<llvm::ConstantAggregateZero>(Val)->getElementCount(); in getElementCount() 475 return From->getSubclassID() == ClassID::ConstantAggregateZero; in classof() 482 assert(isa<llvm::ConstantAggregateZero>(Val) && "Expected a CAZ!"); in verify()
|
| H A D | Value.h | 151 friend class ConstantAggregateZero; // For `Val`. variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 64 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad() 88 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore() 220 return ConstantAggregateZero::get(VT); in simplifyX86immShift() 275 return ConstantAggregateZero::get(VT); in simplifyX86immShift() 512 return ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 515 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) in simplifyX86pmulh() 516 return ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 522 : ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 525 : ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 572 return ConstantAggregateZero::get(ResTy); in simplifyX86pmadd() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | Mangling.cpp | 60 if (isa<ConstantAggregateZero>(InitVal)) in add()
|
| H A D | Layer.cpp | 65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILFlattenArrays.cpp | 382 if (isa<ConstantAggregateZero>(Init)) { in collectElements() 407 if (isa<ConstantAggregateZero>(Init)) in transformInitializer() 408 return ConstantAggregateZero::get(FlattenedType); in transformInitializer()
|
| H A D | DXILDataScalarization.cpp | 345 if (isa<ConstantAggregateZero>(Init)) { in transformInitializer() 346 return ConstantAggregateZero::get(NewType); in transformInitializer()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Constants.h | 359 class ConstantAggregateZero final : public ConstantData { 362 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function 368 ConstantAggregateZero(const ConstantAggregateZero &) = delete; 370 LLVM_ABI static ConstantAggregateZero *get(Type *Ty);
|
| H A D | Value.def | 81 HANDLE_CONSTANT(ConstantAggregateZero)
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CtorUtils.cpp | 94 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
|
| H A D | ValueMapper.cpp | 536 if (isa<ConstantAggregateZero>(C)) in mapValue() 537 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 1222 if (isa<ConstantPointerNull, ConstantAggregateZero>(OtherOp)) in binaryOpIsDerivedFromSameAlloca() 1585 if (isa<ConstantPointerNull, ConstantAggregateZero>(LHS)) in tryPromoteAllocaToLDS() 1588 if (isa<ConstantPointerNull, ConstantAggregateZero>(RHS)) in tryPromoteAllocaToLDS() 1606 if (isa<ConstantPointerNull, ConstantAggregateZero>(SI->getOperand(1))) in tryPromoteAllocaToLDS() 1609 if (isa<ConstantPointerNull, ConstantAggregateZero>(SI->getOperand(2))) in tryPromoteAllocaToLDS() 1613 if (isa<ConstantPointerNull, ConstantAggregateZero>( in tryPromoteAllocaToLDS()
|
| H A D | AMDGPULateCodeGenPrepare.cpp | 317 if (!IncInst && !isa<ConstantAggregateZero>(V)) in optimizeLiveType() 368 if (isa<ConstantAggregateZero>(IncVal)) { in optimizeLiveType()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LowerEmuTLS.cpp | 128 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVCodeGenPrepare.cpp | 160 WidePhi->addIncoming(ConstantAggregateZero::get(WideTy), in widenVPMerge()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 936 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue() 1168 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 389 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 79 return llvm::ConstantAggregateZero::get(Ty); in getZeroes() 378 if (isa<llvm::ConstantAggregateZero>(C)) { in split() 1069 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant() 1092 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant() 1976 llvm::ConstantAggregateZero::get( in emitForMemory()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
| H A D | Utility.cpp | 116 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 178 } else if (auto *Struct = dyn_cast<ConstantAggregateZero>(MaybeStruct)) { in getAnnotation()
|