Home
last modified time | relevance | path

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

/external/llvm/tools/llvm-as/
Dllvm-as.cpp65 std::string IFN = InputFilename; in WriteOutputFile() local
66 int Len = IFN.length(); in WriteOutputFile()
67 if (IFN[Len-3] == '.' && IFN[Len-2] == 'l' && IFN[Len-1] == 'l') { in WriteOutputFile()
69 OutputFilename = std::string(IFN.begin(), IFN.end()-3); in WriteOutputFile()
71 OutputFilename = IFN; // Append a .bc to it in WriteOutputFile()
/external/llvm/tools/llvm-dis/
Dllvm-dis.cpp173 const std::string &IFN = InputFilename; in main() local
174 int Len = IFN.length(); in main()
176 if (IFN[Len-3] == '.' && IFN[Len-2] == 'b' && IFN[Len-1] == 'c') in main()
177 OutputFilename = std::string(IFN.begin(), IFN.end()-3)+".ll"; in main()
179 OutputFilename = IFN+".ll"; in main()
/external/llvm/tools/llc/
Dllc.cpp109 StringRef IFN = InputFilename; in GetOutputStream() local
110 if (IFN.endswith(".bc") || IFN.endswith(".ll")) in GetOutputStream()
111 OutputFilename = IFN.drop_back(3); in GetOutputStream()
113 OutputFilename = IFN; in GetOutputStream()