reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constants.h
  424   static Constant *get(ArrayType *T, ArrayRef<Constant*> V);

References

include/llvm/ProfileData/InstrProfData.inc
   92                 ConstantArray::get(Int16ArrayTy, Int16ArrayVals))
lib/AsmParser/LLParser.cpp
 3198     ID.ConstantVal = ConstantArray::get(ATy, Elts);
lib/Bitcode/Reader/BitcodeReader.cpp
 2445         V = ConstantArray::get(ATy, Elts);
lib/Bitcode/Reader/ValueList.cpp
  206         NewC = ConstantArray::get(UserCA->getType(), NewOps);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
20005   Constant *CA = ConstantArray::get(ArrayType::get(FPTy, 2), Elts);
lib/CodeGen/ShadowStackGCLowering.cpp
  125       ConstantArray::get(ArrayType::get(VoidPtr, NumMeta), Metadata)};
lib/IR/AutoUpgrade.cpp
  862   Constant *NewInit = ConstantArray::get(ArrayType::get(EltTy, N), NewCtors);
lib/IR/ConstantFold.cpp
  937     return ConstantArray::get(AT, Result);
lib/IR/Core.cpp
 1400   return wrap(ConstantArray::get(ArrayType::get(unwrap(ElementTy), Length), V));
lib/Target/XCore/XCoreLowerThreadLocal.cpp
   73   return ConstantArray::get(NewType, Elements);
lib/Transforms/Coroutines/CoroSplit.cpp
  830   auto *ConstVal = ConstantArray::get(ArrTy, Args);
lib/Transforms/IPO/GlobalOpt.cpp
 2425     return ConstantArray::get(cast<ArrayType>(InitTy), Elts);
 2535           CurrentGV->setInitializer(ConstantArray::get(ArrTy, Elts));
 2623                          ConstantArray::get(ATy, UsedArray), "");
lib/Transforms/InstCombine/InstructionCombining.cpp
 2941         FilterClause = ConstantArray::get(FilterType, NewFilterElts);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 2192       ConstantArray::get(ArrayOfGlobalStructTy, MetadataInitializers), "");
lib/Transforms/Instrumentation/GCOVProfiling.cpp
 1035         ConstantArray::get(EmitFunctionCallArgsArrayTy,
 1045         ConstantArray::get(EmitArcsCallArgsArrayTy, EmitArcsCallArgsArray),
 1078       ConstantArray::get(FileInfoArrayTy, FileInfos),
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1549       return ConstantArray::get(AT, Vals);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  688       ConstantArray::get(ArrayType::get(IntptrPtrTy, N * 2), PCs));
  775           ConstantArray::get(ArrayOfInt64Ty, Initializers),
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  468   return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C));
lib/Transforms/Utils/CtorUtils.cpp
   38   Constant *CA = ConstantArray::get(ATy, CAList);
lib/Transforms/Utils/ModuleUtils.cpp
   55   Constant *NewInit = ConstantArray::get(AT, CurrentCtors);
   97                                 ConstantArray::get(ATy, Init), Name);
lib/Transforms/Utils/SanitizerStats.cpp
   49   Inits.push_back(ConstantArray::get(
   88            ConstantArray::get(makeModuleStatsArrayTy(), Inits)}));
lib/Transforms/Utils/SimplifyCFG.cpp
 5080   Constant *Initializer = ConstantArray::get(ArrayTy, TableContents);
lib/Transforms/Utils/ValueMapper.cpp
  476     return getVM()[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops);
  991   GV.setInitializer(ConstantArray::get(
tools/bugpoint/CrashDebugger.cpp
  230   auto *NewUsedVal = ConstantArray::get(NewValTy, Used);
tools/bugpoint/ExtractFunction.cpp
  239   return ConstantArray::get(
tools/clang/lib/CodeGen/BackendUtil.cpp
 1683       llvm::ConstantArray::get(ATy, UsedArray), "llvm.compiler.used");
tools/clang/lib/CodeGen/CGDecl.cpp
 1069       return llvm::ConstantArray::get(ArrayTy, Values);
 1269     return llvm::ConstantArray::get(cast<llvm::ArrayType>(Ty), Values);
tools/clang/lib/CodeGen/CGException.cpp
  872     llvm::Constant *FilterArray = llvm::ConstantArray::get(AType, Filters);
tools/clang/lib/CodeGen/CGExprConstant.cpp
  941       llvm::Constant *Initial = llvm::ConstantArray::get(
  964     return llvm::ConstantArray::get(
 2312     return llvm::ConstantArray::get(ATy, Array);
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1331     llvm::Constant * ProtocolArray = llvm::ConstantArray::get(ProtocolArrayTy,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 3327   llvm::Constant *Init = llvm::ConstantArray::get(AT, MethodTypes);
 6063     llvm::ConstantArray::get(llvm::ArrayType::get(ObjCTypes.Int8PtrTy,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8605       auto *SizesArrayInit = llvm::ConstantArray::get(
tools/clang/lib/CodeGen/CGVTT.cpp
   91   llvm::Constant *Init = llvm::ConstantArray::get(ArrayType, VTTComponents);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1918       llvm::ConstantArray::get(ATy, UsedArray), Name);
 2165   llvm::Constant *Array = llvm::ConstantArray::get(llvm::ArrayType::get(
 5724     llvm::ConstantArray::get(llvm::ArrayType::get(Int8Ty, 8), Field3)
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  254   auto constant = llvm::ConstantArray::get(type, elts);
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1417   auto RecordsVal = llvm::ConstantArray::get(RecordsTy, FunctionRecords);
 1453     auto NamesArrVal = llvm::ConstantArray::get(NamesArrTy, FunctionNames);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  349     llvm::Constant *Init = llvm::ConstantArray::get(VDispMapTy, Map);
 2119   llvm::Constant *Init = llvm::ConstantArray::get(VBTableType, Offsets);
 3645   BCA->setInitializer(llvm::ConstantArray::get(ArrType, BaseClassArrayData));
 4184       llvm::ConstantArray::get(
tools/clang/lib/CodeGen/PatternInit.cpp
   71     return llvm::ConstantArray::get(ArrTy, Element);
tools/clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp
  224     auto *ImagesData = ConstantArray::get(
tools/polly/lib/CodeGen/PerfMonitor.cpp
   56                           ConstantArray::get(Ty, V), Name, nullptr,
unittests/FuzzMutate/OperationsTest.cpp
   94       ConstantArray::get(ArrayType::get(i32->getType(), 2), {i32, i32});
unittests/IR/ConstantsTest.cpp
  332   Constant *A01 = ConstantArray::get(ArrayTy, A01Vals);
  338   Constant *A0G = ConstantArray::get(ArrayTy, A0GVals);
  426     Constant *CDV = ConstantArray::get(ArrayTy, Vals);
  435     Constant *CDV = ConstantArray::get(ArrayTy, Vals);
unittests/Linker/LinkModulesTest.cpp
   58     GV->setInitializer(ConstantArray::get(AT, Init));