Searched refs:Literal (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/lib/ObjCopy/
H A DCommonConfig.cpp19 case MatchStyle::Literal:
31 return create(Pattern, MatchStyle::Literal, ErrorCallback);
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp58 using Literal = uint32_t;
62 [[maybe_unused]] static constexpr Literal NullLit = 0;
65 static constexpr Literal posLit(Variable V) { return 2 * V; }
67 static constexpr bool isPosLit(Literal L) { return 0 == (L & 1); }
69 static constexpr bool isNegLit(Literal L) { return 1 == (L & 1); }
72 static constexpr Literal negLit(Variable V) { return 2 * V + 1; }
75 static constexpr Literal notLit(Literal L) { return L ^ 1; }
78 static constexpr Variable var(Literal L) { return L >> 1; }
101 std::vector<Literal> Clause
[all...]
H A DArena.cpp45 if (LHS.kind() == Formula::Literal)
47 if (RHS.kind() == Formula::Literal)
58 if (LHS.kind() == Formula::Literal)
60 if (RHS.kind() == Formula::Literal)
71 if (Val.kind() == Formula::Literal)
82 if (LHS.kind() == Formula::Literal)
84 if (RHS.kind() == Formula::Literal)
95 if (LHS.kind() == Formula::Literal)
97 if (RHS.kind() == Formula::Literal)
H A DFormula.cpp42 case Formula::Literal:
71 case Literal:
H A DSimplifyConstraints.cpp27 case Formula::Literal:
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DFormula.h56 Literal,
74 assert(kind() == Literal);
79 return kind() == Literal && static_cast<bool>(Value) == b;
106 case Literal:
H A DArena.h24 : True(Formula::create(Alloc, Formula::Literal, {}, 1)),
25 False(Formula::create(Alloc, Formula::Literal, {}, 0)) {}
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatVariadic.h46 enum class ReplacementType { Empty, Format, Literal };
50 explicit ReplacementItem(StringRef Literal) argument
51 : Type(ReplacementType::Literal), Spec(Literal) {}
89 if (R.Type == ReplacementType::Literal) {
/freebsd-current/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp302 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(),
305 if (Literal.hadError)
308 if (Literal.isFloatingLiteral() || Literal.isImaginary) {
312 assert(Literal.isIntegerLiteral() && "Unknown ppnumber");
315 if (Literal.hasUDSuffix())
319 if (!PP.getLangOpts().C99 && Literal.isLongLong) {
329 if (Literal.isSizeT)
339 if (Literal.isBitInt)
345 if (Literal
[all...]
H A DPreprocessor.cpp1366 StringLiteralParser Literal(StrToks, *this);
1367 assert(Literal.isOrdinary() && "Didn't allow wide strings in");
1369 if (Literal.hadError)
1372 if (Literal.Pascal) {
1378 String = std::string(Literal.GetString());
1389 NumericLiteralParser Literal(Spelling, Tok.getLocation(), getSourceManager(),
1392 if (Literal.hadError || !Literal.isIntegerLiteral() || Literal.hasUDSuffix())
1395 if (Literal
[all...]
H A DPPDirectives.cpp1440 StringLiteralParser Literal(StrTok, *this);
1441 assert(Literal.isOrdinary() && "Didn't allow wide strings in");
1442 if (Literal.hadError) {
1446 if (Literal.Pascal) {
1451 FilenameID = SourceMgr.getLineTableFilenameID(Literal.GetString());
1591 StringLiteralParser Literal(StrTok, *this);
1592 assert(Literal.isOrdinary() && "Didn't allow wide strings in");
1593 if (Literal.hadError) {
1597 if (Literal.Pascal) {
1612 if (!(IsFileExit && Literal
[all...]
H A DPragma.cpp776 StringLiteralParser Literal(Tok, PP);
777 if (Literal.hadError)
780 PP.getIdentifierInfo(Literal.GetString()), Tok.getLocation());
1091 StringLiteralParser Literal(DiagName, PP,
1093 if (Literal.hadError)
1095 PP.getDiagnostics().dump(Literal.GetString());
/freebsd-current/contrib/llvm-project/llvm/include/llvm/FileCheck/
H A DFileCheck.h99 FileCheckType &setLiteralMatch(bool Literal = true) {
100 Modifiers.set(FileCheckKindModifier::ModifierLiteral, Literal);
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp266 StringLiteral *Literal = Constraints[i]; local
267 assert(Literal->isOrdinary());
273 TargetInfo::ConstraintInfo Info(Literal->getString(), OutputName);
276 targetDiag(Literal->getBeginLoc(),
345 FeatureMap, Literal->getString(), Size)) {
358 StringLiteral *Literal = Constraints[i]; local
359 assert(Literal->isOrdinary());
365 TargetInfo::ConstraintInfo Info(Literal->getString(), InputName);
368 targetDiag(Literal->getBeginLoc(), diag::err_asm_invalid_input_constraint)
459 Literal
469 StringLiteral *Literal = Clobbers[i]; local
539 StringLiteral *Literal = Constraints[ConstraintIdx]; local
[all...]
H A DSemaExpr.cpp1972 StringLiteralParser Literal(StringToks, PP,
1974 if (Literal.hadError)
1982 Context, Literal.GetString(), StringLiteralKind::Unevaluated, false, {},
1985 if (!Literal.getUDSuffix().empty()) {
1987 getUDSuffixLoc(*this, StringTokLocs[Literal.getUDSuffixToken()],
1988 Literal.getUDSuffixOffset());
2059 StringLiteralParser Literal(StringToks, PP);
2060 if (Literal.hadError)
2069 if (Literal.isWide()) {
2072 } else if (Literal
3865 BuildFloatingLiteral(Sema &S, NumericLiteralParser &Literal, QualType Ty, SourceLocation Loc) argument
8625 ExprResult Literal = DefaultLvalueConversion(exprs[0]); local
8646 ExprResult Literal = DefaultLvalueConversion(exprs[0]); local
12608 Expr *Literal; local
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNVOPDUtils.cpp49 for (auto &Literal : UniqueLiterals) {
50 if (Literal->isIdenticalTo(Op))
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp166 TemplateElement{TemplateElement::Literal, "$"});
189 TemplateElement::Literal,
205 case TemplateElement::Literal:
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h1348 inline bool isInlinableIntLiteral(int64_t Literal) {
1349 return Literal >= -16 && Literal <= 64;
1354 bool isInlinableLiteral64(int64_t Literal, bool HasInv2Pi);
1357 bool isInlinableLiteral32(int32_t Literal, bool HasInv2Pi);
1360 bool isInlinableLiteral16(int16_t Literal, bool HasInv2Pi);
1363 std::optional<unsigned> getInlineEncodingV2I16(uint32_t Literal);
1366 std::optional<unsigned> getInlineEncodingV2F16(uint32_t Literal);
1369 bool isInlinableLiteralV216(uint32_t Literal, uint8_t OpType);
1372 bool isInlinableLiteralV2I16(uint32_t Literal);
[all...]
H A DAMDGPUBaseInfo.cpp2579 bool isInlinableLiteral64(int64_t Literal, bool HasInv2Pi) {
2580 if (isInlinableIntLiteral(Literal))
2583 uint64_t Val = static_cast<uint64_t>(Literal);
2596 bool isInlinableLiteral32(int32_t Literal, bool HasInv2Pi) {
2597 if (isInlinableIntLiteral(Literal))
2609 uint32_t Val = static_cast<uint32_t>(Literal);
2622 bool isInlinableLiteral16(int16_t Literal, bool HasInv2Pi) {
2626 if (isInlinableIntLiteral(Literal))
2629 uint16_t Val = static_cast<uint16_t>(Literal);
2641 std::optional<unsigned> getInlineEncodingV216(bool IsFloat, uint32_t Literal) {
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h102 enum { Literal, Identifier } Type; enumerator in enum:clang::tooling::ReplaceNodeWithTemplate::TemplateElement::__anon1403
/freebsd-current/contrib/bearssl/T0/
H A DWordBuilder.cs182 internal void Literal(TValue v) method in class:WordBuilder
H A DT0Comp.cs415 wordBuilder.Literal(tv);
542 wordBuilder.Literal(cpu.Pop());
578 wordBuilder.Literal(v);
584 wordBuilder.Literal(new TValue(0,
589 wordBuilder.Literal(new TValue(0,
1440 wordBuilder.Literal(v);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h94 Literal, // Default for symbols. member in class:llvm::objcopy::MatchStyle
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp613 : MatchStyle::Literal;
1210 "__LLVM,__asm", MatchStyle::Literal, ErrorCallback)));
1212 "__LLVM,__bitcode", MatchStyle::Literal, ErrorCallback)));
1214 "__LLVM,__bundle", MatchStyle::Literal, ErrorCallback)));
1216 "__LLVM,__cmdline", MatchStyle::Literal, ErrorCallback)));
1218 "__LLVM,__swift_cmdline", MatchStyle::Literal, ErrorCallback)));
1287 : MatchStyle::Literal;
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h533 class Literal : public SExpr { class in namespace:clang::threadSafety
535 Literal(const Expr *C) function in class:clang::threadSafety::Literal
537 Literal(ValueType VT) : SExpr(COP_Literal), ValType(VT) {} function in class:clang::threadSafety::Literal
538 Literal(const Literal &) = default;
557 typename C::CType compare(const Literal* E, C& Cmp) const {
569 class LiteralT : public Literal {
571 LiteralT(T Dat) : Literal(ValueType::getValueType<T>()), Val(Dat) {}
572 LiteralT(const LiteralT<T> &L) : Literal(L), Val(L.Val) {}
586 typename V::R_SExpr Literal
[all...]

Completed in 447 milliseconds

12