Lines Matching refs:types

580     if (types::getPreprocessedType(it->first) == types::TY_INVALID) {
977 << types::getTypeName(A->getType()) << "\n";
1047 if (Archs.size() > 1 && !types::canLipoType(Act->getType()))
1049 << types::getTypeName(Act->getType());
1057 if (Inputs.size() == 1 || Act->getType() == types::TY_Nothing)
1072 if (Act->getType() == types::TY_Image) {
1077 C.MakeAction<DsymutilJobAction>(Inputs, types::TY_dSYM));
1085 LastAction, types::TY_Nothing));
1122 // Construct a the list of inputs and their types.
1128 types::ID InputType = types::TY_Nothing;
1136 ? types::TY_C
1137 : types::TY_CXX;
1160 types::ID Ty = types::TY_INVALID;
1163 if (InputType == types::TY_Nothing) {
1178 Ty = types::TY_C;
1187 if (Ty == types::TY_INVALID) {
1189 Ty = types::TY_C;
1191 Ty = types::TY_Object;
1197 types::ID OldTy = Ty;
1198 Ty = types::lookupCXXTypeForCType(Ty);
1211 if (Ty != types::TY_Object) {
1213 Ty = types::TY_ObjC;
1215 Ty = types::TY_ObjCXX;
1223 if (Ext && TC.LookupTypeForExtension(Ext + 1) == types::TY_Object)
1224 Ty = types::TY_Object;
1226 if (Ty == types::TY_INVALID) {
1239 Inputs.push_back(std::make_pair(types::TY_C, InputArg));
1246 Inputs.push_back(std::make_pair(types::TY_CXX, InputArg));
1252 Inputs.push_back(std::make_pair(types::TY_Object, A));
1256 InputType = types::lookupTypeForTypeSpecifier(A->getValue());
1264 InputType = types::TY_Object;
1272 Inputs.push_back(std::make_pair(types::TY_C, A));
1316 CudaDeviceInputs.push_back(std::make_pair(types::TY_CUDA_DEVICE, InputArg));
1431 types::ID InputType = I.first;
1435 types::getCompilationPhases(InputType, PL);
1457 getPreprocessedType(InputType) == types::TY_INVALID)
1493 // Some types skip the assembler phase (e.g., llvm-bc), but we can't
1496 if (Phase == phases::Assemble && Current->getType() != types::TY_PP_Asm)
1502 if (InputType == types::TY_CUDA && Phase == CudaInjectionPhase) {
1508 if (Current->getType() == types::TY_Nothing)
1520 C.MakeAction<LinkJobAction>(LinkerInputs, types::TY_Image));
1546 types::ID OutputTy;
1549 OutputTy = types::TY_Dependencies;
1555 OutputTy = types::getPreprocessedType(OutputTy);
1556 assert(OutputTy != types::TY_INVALID &&
1562 types::ID OutputTy = types::TY_PCH;
1565 OutputTy = types::TY_Nothing;
1571 return C.MakeAction<CompileJobAction>(Input, types::TY_Nothing);
1573 return C.MakeAction<CompileJobAction>(Input, types::TY_RewrittenObjC);
1576 types::TY_RewrittenLegacyObjC);
1578 return C.MakeAction<AnalyzeJobAction>(Input, types::TY_Plist);
1580 return C.MakeAction<MigrateJobAction>(Input, types::TY_Remap);
1582 return C.MakeAction<CompileJobAction>(Input, types::TY_AST);
1584 return C.MakeAction<CompileJobAction>(Input, types::TY_ModuleFile);
1586 return C.MakeAction<VerifyPCHJobAction>(Input, types::TY_Nothing);
1587 return C.MakeAction<CompileJobAction>(Input, types::TY_LLVM_BC);
1591 types::ID Output =
1592 Args.hasArg(options::OPT_S) ? types::TY_LTO_IR : types::TY_LTO_BC;
1596 types::ID Output =
1597 Args.hasArg(options::OPT_S) ? types::TY_LLVM_IR : types::TY_LLVM_BC;
1600 return C.MakeAction<BackendJobAction>(Input, types::TY_PP_Asm);
1603 return C.MakeAction<AssembleJobAction>(Input, types::TY_Object);
1619 if (A->getType() != types::TY_Nothing)
1874 if (JA->getType() == types::TY_dSYM)
1883 if (JA->getType() == types::TY_Nothing)
1917 types::ID FileType) {
1930 const char *Extension = types::getTypeTempSuffix(FileType, true);
1932 if (FileType == types::TY_Image &&
1963 MakeCLOutputFilename(C.getArgs(), NameArg, BaseName, types::TY_PP_C),
1969 (isa<PreprocessJobAction>(JA) || JA.getType() == types::TY_ModuleFile))
1973 if (JA.getType() == types::TY_PP_Asm &&
1991 Split.first, types::getTypeTempSuffix(JA.getType(), IsCLMode()));
2007 if (JA.getType() == types::TY_Object &&
2015 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Object);
2016 } else if (JA.getType() == types::TY_Image &&
2025 MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Image);
2026 } else if (JA.getType() == types::TY_Image) {
2030 MakeCLOutputFilename(C.getArgs(), "", BaseName, types::TY_Image);
2039 const char *Suffix = types::getTypeTempSuffix(JA.getType(), IsCLMode());
2040 assert(Suffix && "All types used for output should have a suffix.");
2043 if (!types::appendSuffixForType(JA.getType()))
2054 JA.getType() == types::TY_LLVM_BC)
2063 JA.getType() != types::TY_PCH) {
2085 Split.first, types::getTypeTempSuffix(JA.getType(), IsCLMode()));
2091 if (JA.getType() == types::TY_PCH) {
2317 if (JA.size() != 1 || !types::isAcceptedByClang((*JA.begin())->getType()))