Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h408 class ConstantAggregate : public Constant {
410 LLVM_ABI ConstantAggregate(Type *T, ValueTy VT, ArrayRef<Constant *> V,
425 struct OperandTraits<ConstantAggregate>
426 : public VariadicOperandTraits<ConstantAggregate> {};
428 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantAggregate, Constant)
433 class ConstantArray final : public ConstantAggregate {
465 class ConstantStruct final : public ConstantAggregate {
517 class ConstantVector final : public ConstantAggregate {
H A DValue.def90 // ConstantAggregate.
H A DValue.h36 class ConstantAggregate; variable
1008 template <> struct isa_impl<ConstantAggregate, Value> {
H A DPatternMatch.h112 const auto *CA = dyn_cast<ConstantAggregate>(V); in check()
116 SmallPtrSet<const ConstantAggregate *, 8> Seen; in check()
117 SmallVector<const ConstantAggregate *, 8> Worklist; in check()
122 auto CheckValue = [&](const ConstantAggregate *CA) { in check()
127 const auto *CA = dyn_cast<ConstantAggregate>(Op); in check()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DConstant.h347 class ConstantAggregate : public Constant {
349 ConstantAggregate(ClassID ID, llvm::Constant *C, Context &Ctx) in ConstantAggregate() function
361 class ConstantArray final : public ConstantAggregate {
363 : ConstantAggregate(ClassID::ConstantArray, C, Ctx) {} in ConstantArray()
378 class ConstantStruct final : public ConstantAggregate {
380 : ConstantAggregate(ClassID::ConstantStruct, C, Ctx) {} in ConstantStruct()
423 class ConstantVector final : public ConstantAggregate {
425 : ConstantAggregate(ClassID::ConstantVector, C, Ctx) {} in ConstantVector()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DReplaceConstant.cpp22 return isa<ConstantExpr>(U) || isa<ConstantAggregate>(U); in isExpandableUser()
H A DConstants.cpp439 if (const auto *CC = dyn_cast<ConstantAggregate>(this)) in getAggregateElement()
848 if (isa<ConstantAggregate>(this) || isa<ConstantExpr>(this)) { in isManifestConstant()
1291 ConstantAggregate::ConstantAggregate(Type *T, ValueTy VT, in ConstantAggregate() function in ConstantAggregate
1309 : ConstantAggregate(T, ConstantArrayVal, V, AllocInfo) { in ConstantArray()
1374 : ConstantAggregate(T, ConstantStructVal, V, AllocInfo) { in ConstantStruct()
1417 : ConstantAggregate(T, ConstantVectorVal, V, AllocInfo) { in ConstantVector()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp152 } else if (auto *CA = dyn_cast<ConstantAggregate>(C)) { in classifyConstantWithOpaquePtr()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp159 } else if (isa<ConstantAggregate>(C)) { in remapConstant()
H A DNVPTXAsmPrinter.cpp1653 if (isa<ConstantAggregate>(CPV) || isa<ConstantDataSequential>(CPV)) { in bufferLEByte()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp72 if (!isa<ConstantAggregate>(C)) in isNullOrUndef()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp70 if (isa<ConstantAggregate>(C)) { in isSimpleEnoughValueToCommitHelper()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp2465 if (isa<ConstantExpr, ConstantAggregate>(Op)) in run()
2478 if (isa<ConstantExpr, ConstantAggregate>(Op)) in run()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp330 if (auto *CA = dyn_cast<llvm::ConstantAggregate>(C)) { in split()
1765 if (auto agg = dyn_cast<llvm::ConstantAggregate>(init)) { in findLocations()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp1637 if (auto *CA = dyn_cast<ConstantAggregate>(C)) { in processGlobalInitializer()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp692 if (!isa<ConstantAggregate>(Base) && !isa<ConstantDataSequential>(Base)) in getConstantAtOffset()
H A DValueTracking.cpp6158 if (isa<ConstantAggregate>(C)) { in isBytewiseValue()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp2919 } else if (isa<ConstantAggregate>(C)) { in writeConstants()