Home
last modified time | relevance | path

Searched refs:IFN (Results 1 – 3 of 3) sorted by relevance

/external/llvm/tools/llvm-as/
Dllvm-as.cpp59 std::string IFN = InputFilename; in WriteOutputFile() local
60 int Len = IFN.length(); in WriteOutputFile()
61 if (IFN[Len-3] == '.' && IFN[Len-2] == 'l' && IFN[Len-1] == 'l') { in WriteOutputFile()
63 OutputFilename = std::string(IFN.begin(), IFN.end()-3); in WriteOutputFile()
65 OutputFilename = IFN; // Append a .bc to it in WriteOutputFile()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp160 const std::string &IFN = InputFilename; in main() local
161 int Len = IFN.length(); in main()
163 if (IFN[Len-3] == '.' && IFN[Len-2] == 'b' && IFN[Len-1] == 'c') in main()
164 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll"; in main()
166 OutputFilename = IFN+".ll"; in main()
/external/llvm/tools/llc/
Dllc.cpp86 std::string IFN = InputFilename; in GetFileNameRoot() local
88 int Len = IFN.length(); in GetFileNameRoot()
90 IFN[Len-3] == '.' && in GetFileNameRoot()
91 ((IFN[Len-2] == 'b' && IFN[Len-1] == 'c') || in GetFileNameRoot()
92 (IFN[Len-2] == 'l' && IFN[Len-1] == 'l'))) { in GetFileNameRoot()
93 outputFilename = std::string(IFN.begin(), IFN.end()-3); // s/.bc/.s/ in GetFileNameRoot()
95 outputFilename = IFN; in GetFileNameRoot()