Home
last modified time | relevance | path

Searched refs:ConstantAggregate (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h386 class ConstantAggregate : public Constant {
388 ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V);
402 struct OperandTraits<ConstantAggregate>
403 : public VariadicOperandTraits<ConstantAggregate> {};
405 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantAggregate, Constant)
410 class ConstantArray final : public ConstantAggregate {
442 class ConstantStruct final : public ConstantAggregate {
494 class ConstantVector final : public ConstantAggregate {
H A DValue.def85 // ConstantAggregate.
H A DValue.h35 class ConstantAggregate; variable
968 template <> struct isa_impl<ConstantAggregate, Value> {
H A DPatternMatch.h96 const auto *CA = dyn_cast<ConstantAggregate>(V); in check()
100 SmallPtrSet<const ConstantAggregate *, 8> Seen; in check()
101 SmallVector<const ConstantAggregate *, 8> Worklist; in check()
106 auto CheckValue = [&](const ConstantAggregate *CA) { in check()
111 const auto *CA = dyn_cast<ConstantAggregate>(Op); in check()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp111 return isa<ConstantAggregate>(V) || isa<ConstantDataArray>(V) || in isAggrToReplace()
175 if (auto *AggrC = dyn_cast<ConstantAggregate>(Op)) { in preprocessCompositeConstants()
/llvm-project-15.0.7/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp175 } else if (isa<ConstantAggregate>(C)) { in remapConstant()
H A DNVPTXAsmPrinter.cpp1869 if (isa<ConstantAggregate>(CPV) || isa<ConstantDataSequential>(CPV)) { in bufferLEByte()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFLSteensAliasAnalysis.cpp109 isa<ConstantAggregate>(Val); in canSkipAddingToSets()
H A DConstantFolding.cpp677 if (!isa<ConstantAggregate>(Base) && !isa<ConstantDataSequential>(Base)) in getConstantAtOffset()
H A DValueTracking.cpp3990 if (isa<ConstantAggregate>(C)) { in isBytewiseValue()
/llvm-project-15.0.7/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp72 if (!isa<ConstantAggregate>(C)) in isNullOrUndef()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp414 if (const auto *CC = dyn_cast<ConstantAggregate>(this)) in getAggregateElement()
809 if (isa<ConstantAggregate>(this) || isa<ConstantExpr>(this)) { in isManifestConstant()
1219 ConstantAggregate::ConstantAggregate(Type *T, ValueTy VT, in ConstantAggregate() function in ConstantAggregate
1221 : Constant(T, VT, OperandTraits<ConstantAggregate>::op_end(this) - V.size(), in ConstantAggregate()
1236 : ConstantAggregate(T, ConstantArrayVal, V) { in ConstantArray()
1300 : ConstantAggregate(T, ConstantStructVal, V) { in ConstantStruct()
1342 : ConstantAggregate(T, ConstantVectorVal, V) { in ConstantVector()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp71 if (isa<ConstantAggregate>(C)) { in isSimpleEnoughValueToCommitHelper()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp395 if (isa<llvm::ConstantAggregate>(value)) { in getConstantAsAttr()
514 if (isa<llvm::ConstantAggregate>(c) || isa<llvm::ConstantAggregateZero>(c)) { in processConstant()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp320 if (auto *CA = dyn_cast<llvm::ConstantAggregate>(C)) { in split()
1545 if (auto agg = dyn_cast<llvm::ConstantAggregate>(init)) { in findLocations()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2588 } else if (isa<ConstantAggregate>(C)) { in writeConstants()