Home
last modified time | relevance | path

Searched refs:UsedArray (Results 1 – 4 of 4) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp2566 SmallVector<Constant *, 8> UsedArray; in setUsedInitializer() local
2570 UsedArray.push_back(Cast); in setUsedInitializer()
2573 array_pod_sort(UsedArray.begin(), UsedArray.end(), compareNames); in setUsedInitializer()
2574 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()
2580 ConstantArray::get(ATy, UsedArray), ""); in setUsedInitializer()