Home
last modified time | relevance | path

Searched refs:ConstantArray (Results 1 – 25 of 100) sorted by relevance

1234

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp29 ConstantArray *OldCA = cast<ConstantArray>(GCL->getInitializer()); in removeGlobalCtors()
38 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors()
68 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors()
92 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in findGlobalCtors()
H A DRelLookupTableConverter.cpp60 ConstantArray *Array = dyn_cast<ConstantArray>(GV.getInitializer()); in shouldConvertToRelLookupTable()
93 ConstantArray *LookupTableArr = in createRelLookupTable()
94 cast<ConstantArray>(LookupTable.getInitializer()); in createRelLookupTable()
120 ConstantArray::get(IntArrayTy, RelLookupTableContents); in createRelLookupTable()
H A DSanitizerStats.cpp49 Inits.push_back(ConstantArray::get( in create()
88 ConstantArray::get(makeModuleStatsArrayTy(), Inits)})); in finish()
H A DModuleUtils.cpp58 Constant *NewInit = ConstantArray::get(AT, CurrentCtors); in appendToGlobalArray()
80 auto *CA = cast<ConstantArray>(GV->getInitializer()); in appendToUsedList()
102 ConstantArray::get(ATy, Init), Name); in appendToUsedList()
H A DFunctionComparator.cpp308 const ConstantArray *LA = cast<ConstantArray>(L); in cmpConstants()
309 const ConstantArray *RA = cast<ConstantArray>(R); in cmpConstants()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.cpp130 SmallSetVector<ConstantArray *, 4> WorkList; in dropTriviallyDeadConstantArrays()
136 for (ConstantArray *C : ArrayConstants) in dropTriviallyDeadConstantArrays()
141 ConstantArray *C = WorkList.pop_back_val(); in dropTriviallyDeadConstantArrays()
144 if (auto *COp = dyn_cast<ConstantArray>(Op)) in dropTriviallyDeadConstantArrays()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DValueList.cpp202 if (ConstantArray *UserCA = dyn_cast<ConstantArray>(UserC)) { in resolveConstantForwardRefs()
203 NewC = ConstantArray::get(UserCA->getType(), NewOps); in resolveConstantForwardRefs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp88 bool fillConstantArray(const DataLayout &DL, const ConstantArray *CA,
360 else if (const ConstantArray *CA = dyn_cast<ConstantArray>(Init)) in getConstantFieldValue()
419 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) in fillGenericConstant()
442 const ConstantArray *CA, in fillConstantArray()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCAPElim.cpp124 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); in runImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp49 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in FindUsedValues()
H A DStripSymbols.cpp201 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); in findUsedValues()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/
H A DExecutionUtils.h33 class ConstantArray; variable
85 const ConstantArray *InitList;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp67 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DValue.def85 HANDLE_CONSTANT(ConstantArray)
104 HANDLE_CONSTANT_MARKER(ConstantAggregateFirstVal, ConstantArray)
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DExtractFunction.cpp239 return ConstantArray::get( in GetTorInit()
254 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerModuleLDSPass.cpp61 auto *CA = cast<ConstantArray>(GV->getInitializer()); in removeFromUsedList()
81 ConstantArray::get(ATy, Init), Name); in removeFromUsedList()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp107 TKCASE(ConstantArray); in GetTypeKind()
600 TKIND(ConstantArray); in clang_getTypeKindSpelling()
799 case Type::ConstantArray: in clang_getElementType()
834 case Type::ConstantArray: in clang_getNumElements()
857 case Type::ConstantArray: in clang_getArrayElementType()
883 case Type::ConstantArray: in clang_getArraySize()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DPatternInit.cpp69 return llvm::ConstantArray::get(ArrTy, Element); in initializationPatternFor()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DTypeBitCodes.def20 TYPE_BIT_CODE(ConstantArray, CONSTANT_ARRAY, 9)
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h37 class ConstantArray; variable
791 void emitLLVMUsedList(const ConstantArray *InitList);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DGlobalMerge.cpp574 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp147 if (auto *C = dyn_cast<ConstantArray>(I)) { in getPointerAtOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp75 return ConstantArray::get(NewType, Elements); in createLoweredInitializer()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2221 emitLLVMUsedList(cast<ConstantArray>(GV->getInitializer())); in emitSpecialLLVMGlobal()
2253 void AsmPrinter::emitLLVMUsedList(const ConstantArray *InitList) { in emitLLVMUsedList()
2268 if (!isa<ConstantArray>(List)) in preprocessXXStructorList()
2272 for (Value *O : cast<ConstantArray>(List)->operands()) { in preprocessXXStructorList()
2650 if (const ConstantArray *CA = dyn_cast<ConstantArray>(V)) { in isRepeatedByteSequence()
2713 const ConstantArray *CA, AsmPrinter &AP, in emitGlobalConstantArray()
3011 if (const ConstantArray *CVA = dyn_cast<ConstantArray>(CV)) in emitGlobalConstantImpl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DTypeLoc.cpp207 case ConstantArray: in getBeginLoc()
238 case ConstantArray: in getEndLoc()

1234