| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MicroMipsInstrFPU.td | 307 multiclass C_COND_MM<string TypeStr, RegisterOperand RC, bits<2> fmt, 309 def C_F_#NAME#_MM : MMRel, C_COND_FT<"f", TypeStr, RC, itin>, 314 def C_UN_#NAME#_MM : MMRel, C_COND_FT<"un", TypeStr, RC, itin>, 319 def C_EQ_#NAME#_MM : MMRel, C_COND_FT<"eq", TypeStr, RC, itin>, 324 def C_UEQ_#NAME#_MM : MMRel, C_COND_FT<"ueq", TypeStr, RC, itin>, 329 def C_OLT_#NAME#_MM : MMRel, C_COND_FT<"olt", TypeStr, RC, itin>, 333 def C_ULT_#NAME#_MM : MMRel, C_COND_FT<"ult", TypeStr, RC, itin>, 337 def C_OLE_#NAME#_MM : MMRel, C_COND_FT<"ole", TypeStr, RC, itin>, 341 def C_ULE_#NAME#_MM : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>, 345 def C_SF_#NAME#_MM : MMRel, C_COND_FT<"sf", TypeStr, RC, itin>, [all …]
|
| H A D | MipsInstrFPU.td | 284 multiclass C_COND_M<string TypeStr, RegisterOperand RC, bits<5> fmt, 286 def C_F_#NAME : MMRel, C_COND_FT<"f", TypeStr, RC, itin>, 291 def C_UN_#NAME : MMRel, C_COND_FT<"un", TypeStr, RC, itin>, 296 def C_EQ_#NAME : MMRel, C_COND_FT<"eq", TypeStr, RC, itin>, 301 def C_UEQ_#NAME : MMRel, C_COND_FT<"ueq", TypeStr, RC, itin>, 306 def C_OLT_#NAME : MMRel, C_COND_FT<"olt", TypeStr, RC, itin>, 310 def C_ULT_#NAME : MMRel, C_COND_FT<"ult", TypeStr, RC, itin>, 314 def C_OLE_#NAME : MMRel, C_COND_FT<"ole", TypeStr, RC, itin>, 318 def C_ULE_#NAME : MMRel, C_COND_FT<"ule", TypeStr, RC, itin>, 322 def C_SF_#NAME : MMRel, C_COND_FT<"sf", TypeStr, RC, itin>, [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVGlobalRegistry.cpp | 916 SPIRVGlobalRegistry::getOrCreateSPIRVTypeByName(StringRef TypeStr, in getOrCreateSPIRVTypeByName() argument 924 if (TypeStr.startswith("void")) { in getOrCreateSPIRVTypeByName() 926 TypeStr = TypeStr.substr(strlen("void")); in getOrCreateSPIRVTypeByName() 927 } else if (TypeStr.startswith("int") || TypeStr.startswith("uint")) { in getOrCreateSPIRVTypeByName() 929 TypeStr = TypeStr.startswith("int") ? TypeStr.substr(strlen("int")) in getOrCreateSPIRVTypeByName() 930 : TypeStr.substr(strlen("uint")); in getOrCreateSPIRVTypeByName() 931 } else if (TypeStr.startswith("float")) { in getOrCreateSPIRVTypeByName() 933 TypeStr = TypeStr.substr(strlen("float")); in getOrCreateSPIRVTypeByName() 934 } else if (TypeStr.startswith("half")) { in getOrCreateSPIRVTypeByName() 936 TypeStr = TypeStr.substr(strlen("half")); in getOrCreateSPIRVTypeByName() [all …]
|
| H A D | SPIRVGlobalRegistry.h | 141 SPIRVType *getOrCreateSPIRVTypeByName(StringRef TypeStr,
|
| /openbsd-src/gnu/llvm/llvm/lib/Frontend/HLSL/ |
| H A D | HLSLResource.cpp | 46 FrontendResource::FrontendResource(GlobalVariable *GV, StringRef TypeStr, in FrontendResource() argument 52 Ctx, {ValueAsMetadata::get(GV), MDString::get(Ctx, TypeStr), in FrontendResource()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Frontend/HLSL/ |
| H A D | HLSLResource.h | 65 FrontendResource(GlobalVariable *GV, StringRef TypeStr, ResourceKind RK,
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | ELFYAML.cpp | 41 constexpr StringRef SectionHeaderTable::TypeStr; member in llvm::ELFYAML::SectionHeaderTable 1536 StringRef TypeStr; in mapping() local 1541 TypeStr = SHT->TypeStr; in mapping() 1545 TypeStr = getStringValue(IO, "Type"); in mapping() 1546 if (TypeStr.startswith("SHT_") || isInteger(TypeStr)) in mapping() 1550 if (TypeStr == "Fill") { in mapping() 1557 if (TypeStr == ELFYAML::SectionHeaderTable::TypeStr) { in mapping() 1559 setStringValue(IO, "Type", TypeStr); in mapping()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 494 const std::string TypeStr = AccessIsWrite ? "store" : "load"; in initializeCallbacks() local 499 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr + "N", in initializeCallbacks() 503 M.getOrInsertFunction(ClMemoryAccessCallbackPrefix + TypeStr, in initializeCallbacks()
|
| H A D | HWAddressSanitizer.cpp | 635 const std::string TypeStr = AccessIsWrite ? "store" : "load"; in initializeCallbacks() local 639 ClMemoryAccessCallbackPrefix + TypeStr + "N" + EndingStr, in initializeCallbacks() 646 ClMemoryAccessCallbackPrefix + TypeStr + in initializeCallbacks()
|
| H A D | AddressSanitizer.cpp | 2520 const std::string TypeStr = AccessIsWrite ? "store" : "load"; in initializeCallbacks() local 2538 kAsanReportErrorTemplate + ExpStr + TypeStr + "_n" + EndingStr, in initializeCallbacks() 2542 ClMemoryAccessCallbackPrefix + ExpStr + TypeStr + "N" + EndingStr, in initializeCallbacks() 2547 const std::string Suffix = TypeStr + itostr(1ULL << AccessSizeIndex); in initializeCallbacks()
|
| /openbsd-src/gnu/llvm/clang/lib/Support/ |
| H A D | RISCVVIntrinsicUtils.cpp | 249 auto getTypeString = [&](StringRef TypeStr) { in initTypeStr() argument 251 return Twine(TypeStr + Twine(ElementBitwidth) + "_t").str(); in initTypeStr() 252 return Twine("v" + TypeStr + Twine(ElementBitwidth) + LMUL.str() + "_t") in initTypeStr()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGObjCGNU.cpp | 234 std::string TypeStr = in MakePropertyEncodingString() local 237 NameAndAttributes += TypeStr.length() + 3; in MakePropertyEncodingString() 238 NameAndAttributes += TypeStr; in MakePropertyEncodingString() 303 std::string TypeStr = Context.getObjCEncodingForMethodDecl(accessor); in PushProperty() local 304 llvm::Constant *TypeEncoding = MakeConstantString(TypeStr); in PushProperty() 1137 std::string TypeStr = in PushProperty() local 1139 Fields.add(MakeConstantString(TypeStr)); in PushProperty() 1145 std::string TypeStr = Context.getObjCEncodingForMethodDecl(accessor); in PushProperty() local 1146 Fields.add(GetConstantSelector(accessor->getSelector(), TypeStr)); in PushProperty() 1849 std::string TypeStr; in GenerateClass() local [all …]
|
| H A D | CGObjCMac.cpp | 5652 std::string TypeStr; in GetMethodVarType() local 5653 CGM.getContext().getObjCEncodingForType(Field->getType(), TypeStr, Field); in GetMethodVarType() 5655 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr]; in GetMethodVarType() 5657 Entry = CreateCStringLiteral(TypeStr, ObjCLabelType::MethodVarType); in GetMethodVarType() 5663 std::string TypeStr = in GetMethodVarType() local 5666 llvm::GlobalVariable *&Entry = MethodVarTypes[TypeStr]; in GetMethodVarType() 5668 Entry = CreateCStringLiteral(TypeStr, ObjCLabelType::MethodVarType); in GetMethodVarType() 5685 std::string TypeStr = in GetPropertyTypeString() local 5687 return GetPropertyName(&CGM.getContext().Idents.get(TypeStr)); in GetPropertyTypeString()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXIntrinsics.td | 1432 string SpaceStr, string TypeStr, string OpcStr, PatFrag IntOp, 1435 !strconcat("atom", SpaceStr, OpcStr, TypeStr, " \t$dst, [$addr], $b;"), 1439 !strconcat("atom", SpaceStr, OpcStr, TypeStr, " \t$dst, [$addr], $b;", ""), 1443 multiclass F_ATOMIC_2<NVPTXRegClass regclass, string SpaceStr, string TypeStr, 1446 defm p32 : F_ATOMIC_2_imp<Int32Regs, regclass, SpaceStr, TypeStr, OpcStr, 1448 defm p64 : F_ATOMIC_2_imp<Int64Regs, regclass, SpaceStr, TypeStr, OpcStr, 1454 string SpaceStr, string TypeStr, string OpcStr, PatFrag IntOp, 1459 ".reg \t.s", TypeStr, " temp; \n\t", 1460 "neg.s", TypeStr, " \ttemp, $b; \n\t", 1461 "atom", SpaceStr, OpcStr, ".u", TypeStr, " \t$dst, [$addr], temp; \n\t", [all …]
|
| H A D | NVPTXInstrInfo.td | 610 multiclass SELP<string TypeStr, RegisterClass RC, Operand ImmCls> { 613 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), []>; 616 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), []>; 619 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), []>; 622 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), []>; 625 multiclass SELP_PATTERN<string TypeStr, ValueType T, RegisterClass RC, 630 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), 635 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), 640 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), 645 !strconcat("selp.", TypeStr, " \t$dst, $a, $b, $p;"), [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 1589 std::string TypeStr = PDecl->getASTContext().getUnqualifiedObjCPointerType(T). in VisitObjCPropertyDecl() local 1591 Out << ' ' << TypeStr; in VisitObjCPropertyDecl() 1592 if (!StringRef(TypeStr).endswith("*")) in VisitObjCPropertyDecl()
|
| H A D | ASTContext.cpp | 11427 const char *TypeStr = BuiltinInfo.getTypeString(Id); in GetBuiltinType() local 11428 if (TypeStr[0] == '\0') { in GetBuiltinType() 11437 QualType ResType = DecodeTypeFromStr(TypeStr, *this, Error, in GetBuiltinType() 11444 while (TypeStr[0] && TypeStr[0] != '.') { in GetBuiltinType() 11445 QualType Ty = DecodeTypeFromStr(TypeStr, *this, Error, RequiresICE, true); in GetBuiltinType() 11464 assert((TypeStr[0] != '.' || TypeStr[1] == 0) && in GetBuiltinType() 11467 bool Variadic = (TypeStr[0] == '.'); in GetBuiltinType()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 1964 StringRef TypeStr = Token.range(); in parseTypedImmediateOperand() local 1965 if (TypeStr.front() != 'i' && TypeStr.front() != 's' && in parseTypedImmediateOperand() 1966 TypeStr.front() != 'p') in parseTypedImmediateOperand()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaOverload.cpp | 6077 std::string TypeStr; in diagnoseNoViableConversion() local 6078 ConvTy.getAsStringInternal(TypeStr, SemaRef.getPrintingPolicy()); in diagnoseNoViableConversion() 6082 "static_cast<" + TypeStr + ">(") in diagnoseNoViableConversion() 11594 std::string TypeStr("operator"); in NoteBuiltinOperatorCandidate() local 11595 TypeStr += Opc; in NoteBuiltinOperatorCandidate() 11596 TypeStr += "("; in NoteBuiltinOperatorCandidate() 11597 TypeStr += Cand->BuiltinParamTypes[0].getAsString(); in NoteBuiltinOperatorCandidate() 11599 TypeStr += ")"; in NoteBuiltinOperatorCandidate() 11600 S.Diag(OpLoc, diag::note_ovl_builtin_candidate) << TypeStr; in NoteBuiltinOperatorCandidate() 11602 TypeStr += ", "; in NoteBuiltinOperatorCandidate() [all …]
|
| H A D | SemaDeclAttr.cpp | 2898 StringRef TypeStr; in handleVisibilityAttr() local 2900 if (!S.checkStringLiteralArgumentAttr(AL, 0, TypeStr, &LiteralLoc)) in handleVisibilityAttr() 2904 if (!VisibilityAttr::ConvertStrToVisibilityType(TypeStr, type)) { in handleVisibilityAttr() 2906 << TypeStr; in handleVisibilityAttr()
|
| H A D | SemaChecking.cpp | 8443 const char *TypeStr) { in SemaBuiltinPPCMMACall() argument 8445 assert((TypeStr[0] != '\0') && in SemaBuiltinPPCMMACall() 8476 QualType type = DecodePPCMMATypeFromStr(Context, TypeStr, Mask); in SemaBuiltinPPCMMACall() 8479 while (*TypeStr != '\0') { in SemaBuiltinPPCMMACall() 8481 QualType ExpectedType = DecodePPCMMATypeFromStr(Context, TypeStr, Mask); in SemaBuiltinPPCMMACall() 8520 while (*TypeStr != '\0') { in SemaBuiltinPPCMMACall() 8521 (void) DecodePPCMMATypeFromStr(Context, TypeStr, Mask); in SemaBuiltinPPCMMACall()
|
| H A D | SemaExprCXX.cpp | 3970 std::string TypeStr; in CheckVirtualDtorCall() local 3971 ClassType.getAsStringInternal(TypeStr, getPrintingPolicy()); in CheckVirtualDtorCall() 3973 << FixItHint::CreateInsertion(DtorLoc, TypeStr + "::"); in CheckVirtualDtorCall()
|
| /openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/ |
| H A D | llvm_ocaml.c | 405 value TypeStr = caml_copy_string(TypeCStr); in llvm_string_of_lltype() local 408 return TypeStr; in llvm_string_of_lltype()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 315 static constexpr StringRef TypeStr = "SectionHeaderTable"; member
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | ELFDumper.cpp | 6532 std::string TypeStr; in printFileHeaders() local 6534 TypeStr = Ent->Name.str(); in printFileHeaders() 6537 TypeStr = "Processor Specific"; in printFileHeaders() 6539 TypeStr = "OS Specific"; in printFileHeaders() 6541 TypeStr = "Unknown"; in printFileHeaders() 6543 W.printString("Type", TypeStr + " (0x" + utohexstr(E.e_type) + ")"); in printFileHeaders()
|