Lines Matching full:platform
1 //===- llvm/TextAPI/Platform.cpp - Platform ---------------------*- C++ -*-===//
9 // Implementations of Platform Helper functions.
13 #include "llvm/TextAPI/Platform.h"
21 PlatformType mapToPlatformType(PlatformType Platform, bool WantSim) {
22 switch (Platform) {
24 return Platform;
69 StringRef getPlatformName(PlatformType Platform) {
70 switch (Platform) {
71 #define PLATFORM(platform, id, name, build_name, target, tapi_target, \
73 case PLATFORM_##platform: \
83 #define PLATFORM(platform, id, name, build_name, target, tapi_target, \
85 .Case(#target, PLATFORM_##platform)
90 std::string getOSAndEnvironmentName(PlatformType Platform,
92 switch (Platform) {