Home
last modified time | relevance | path

Searched refs:UsedArray (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/CodeGen/
DBackendUtil.cpp825 SmallVector<Constant*, 2> UsedArray; in EmbedBitcode() local
832 UsedArray.push_back( in EmbedBitcode()
865 UsedArray.push_back( in EmbedBitcode()
888 UsedArray.push_back( in EmbedBitcode()
901 if (UsedArray.empty()) in EmbedBitcode()
905 ArrayType *ATy = ArrayType::get(UsedElementType, UsedArray.size()); in EmbedBitcode()
908 llvm::ConstantArray::get(ATy, UsedArray), "llvm.compiler.used"); in EmbedBitcode()
DCodeGenModule.cpp1111 SmallVector<llvm::Constant*, 8> UsedArray; in emitUsed() local
1112 UsedArray.resize(List.size()); in emitUsed()
1114 UsedArray[i] = in emitUsed()
1119 if (UsedArray.empty()) in emitUsed()
1121 llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size()); in emitUsed()
1125 llvm::ConstantArray::get(ATy, UsedArray), Name); in emitUsed()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2202 SmallVector<llvm::Constant *, 8> UsedArray; in setUsedInitializer() local
2206 UsedArray.push_back(Cast); in setUsedInitializer()
2209 array_pod_sort(UsedArray.begin(), UsedArray.end(), compareNames); in setUsedInitializer()
2210 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()
2216 llvm::ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2768 SmallVector<Constant *, 8> UsedArray; in setUsedInitializer() local
2772 UsedArray.push_back(Cast); in setUsedInitializer()
2775 array_pod_sort(UsedArray.begin(), UsedArray.end(), compareNames); in setUsedInitializer()
2776 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()
2782 ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2626 SmallVector<Constant *, 8> UsedArray; in setUsedInitializer() local
2630 UsedArray.push_back(Cast); in setUsedInitializer()
2633 array_pod_sort(UsedArray.begin(), UsedArray.end(), compareNames); in setUsedInitializer()
2634 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()
2640 ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4718 SmallVector<Constant *, 2> UsedArray; in EmbedBitcodeInModule() local
4725 UsedArray.push_back( in EmbedBitcodeInModule()
4758 UsedArray.push_back( in EmbedBitcodeInModule()
4781 UsedArray.push_back( in EmbedBitcodeInModule()
4793 if (UsedArray.empty()) in EmbedBitcodeInModule()
4797 ArrayType *ATy = ArrayType::get(UsedElementType, UsedArray.size()); in EmbedBitcodeInModule()
4800 llvm::ConstantArray::get(ATy, UsedArray), "llvm.compiler.used"); in EmbedBitcodeInModule()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4840 SmallVector<Constant *, 2> UsedArray; in EmbedBitcodeInModule() local
4847 UsedArray.push_back( in EmbedBitcodeInModule()
4882 UsedArray.push_back( in EmbedBitcodeInModule()
4906 UsedArray.push_back( in EmbedBitcodeInModule()
4918 if (UsedArray.empty()) in EmbedBitcodeInModule()
4922 ArrayType *ATy = ArrayType::get(UsedElementType, UsedArray.size()); in EmbedBitcodeInModule()
4925 llvm::ConstantArray::get(ATy, UsedArray), "llvm.compiler.used"); in EmbedBitcodeInModule()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp2088 SmallVector<llvm::Constant*, 8> UsedArray; in emitUsed() local
2089 UsedArray.resize(List.size()); in emitUsed()
2091 UsedArray[i] = in emitUsed()
2096 if (UsedArray.empty()) in emitUsed()
2098 llvm::ArrayType *ATy = llvm::ArrayType::get(CGM.Int8PtrTy, UsedArray.size()); in emitUsed()
2102 llvm::ConstantArray::get(ATy, UsedArray), Name); in emitUsed()