Home
last modified time | relevance | path

Searched refs:Lit (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DWatchedLiteralsSolver.cpp321 bool watchedByUnitClause(Literal Lit) const { in watchedByUnitClause()
322 for (ClauseID LitWatcher = WatchedHead[Lit]; LitWatcher != NullClause; in watchedByUnitClause()
331 assert(Clause.front() == Lit); in watchedByUnitClause()
347 bool isCurrentlyFalse(Literal Lit) const { in isCurrentlyFalse()
348 return static_cast<int8_t>(VarAssignments[var(Lit)]) == in isCurrentlyFalse()
349 static_cast<int8_t>(Lit & 1); in isCurrentlyFalse()
353 bool isWatched(Literal Lit) const { return WatchedHead[Lit] != NullClause; } in isWatched()
365 for (Literal Lit = 2; Lit < WatchedHead.size(); Lit++) { in watchedLiterals() local
366 if (WatchedHead[Lit] == NullClause) in watchedLiterals()
368 WatchedLiterals.insert(Lit); in watchedLiterals()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp204 const StringLiteral *Lit = cast<StringLiteral>(StringArg->IgnoreParenCasts()); in computeOSLogBufferLayout() local
205 assert(Lit && (Lit->isOrdinary() || Lit->isUTF8())); in computeOSLogBufferLayout()
206 StringRef Data = Lit->getString(); in computeOSLogBufferLayout()
H A DExpr.cpp2473 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(getInit(0)->IgnoreImplicit()); in isIdiomaticZeroInitializer() local
2474 return Lit && Lit->getValue() == 0; in isIdiomaticZeroInitializer()
4043 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(this); in isNullPointerConstant() local
4044 if (Lit && !Lit->getValue()) in isNullPointerConstant()
H A DExprConstant.cpp3460 static APSInt extractStringLiteralCharacter(EvalInfo &Info, const Expr *Lit, in extractStringLiteralCharacter() argument
3462 assert(!isa<SourceLocExpr>(Lit) && in extractStringLiteralCharacter()
3466 if (const auto *ObjCEnc = dyn_cast<ObjCEncodeExpr>(Lit)) { in extractStringLiteralCharacter()
3473 if (auto PE = dyn_cast<PredefinedExpr>(Lit)) in extractStringLiteralCharacter()
3474 Lit = PE->getFunctionName(); in extractStringLiteralCharacter()
3475 const StringLiteral *S = cast<StringLiteral>(Lit); in extractStringLiteralCharacter()
4358 APValue Lit; in handleLValueToRValueConversion() local
4359 if (!Evaluate(Lit, Info, CLE->getInitializer())) in handleLValueToRValueConversion()
4384 CompleteObject LitObj(LVal.Base, &Lit, Base->getType()); in handleLValueToRValueConversion()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp2863 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); in ParseObjCAtExpression() local
2864 if (Lit.isInvalid()) { in ParseObjCAtExpression()
2865 return Lit; in ParseObjCAtExpression()
2869 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
2870 if (Lit.isInvalid()) in ParseObjCAtExpression()
2871 return Lit; in ParseObjCAtExpression()
2874 Actions.ObjC().BuildObjCNumericLiteral(AtLoc, Lit.get())); in ParseObjCAtExpression()
3405 ExprResult Lit(ParseStringLiteralExpression()); in ParseObjCStringLiteral() local
3406 if (Lit.isInvalid()) in ParseObjCStringLiteral()
3407 return Lit; in ParseObjCStringLiteral()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp80 bool Lit = false; member
3157 Mods.Lit = HasLit; in parseImm()
3334 bool Lit; in parseRegOrImmWithFPInputMods() local
3354 Lit = trySkipId("lit"); in parseRegOrImmWithFPInputMods()
3355 if (Lit && !skipToken(AsmToken::LParen, "expected left paren after lit")) in parseRegOrImmWithFPInputMods()
3365 Res = parseRegOrImm(Operands, SP3Abs, Lit); in parseRegOrImmWithFPInputMods()
3370 return (SP3Neg || Neg || SP3Abs || Abs || Lit) ? ParseStatus::Failure : Res; in parseRegOrImmWithFPInputMods()
3372 if (Lit && !Operands.back()->isImm()) in parseRegOrImmWithFPInputMods()
3381 if (Lit && !skipToken(AsmToken::RParen, "expected closing parentheses")) in parseRegOrImmWithFPInputMods()
3387 Mods.Lit = Lit; in parseRegOrImmWithFPInputMods()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1966 StringLiteral *Lit = StringLiteral::Create( in ActOnUnevaluatedStringLiteral() local
1977 return Lit; in ActOnUnevaluatedStringLiteral()
2102 StringLiteral *Lit = StringLiteral::Create(Context, Literal.GetString(), in ActOnStringLiteral() local
2107 return Lit; in ActOnStringLiteral()
2136 /*DiagnoseMissing*/ true, Lit)) { in ActOnStringLiteral()
2142 Expr *Args[] = { Lit, LenArg }; in ActOnStringLiteral()
2149 TemplateArgument Arg(Lit); in ActOnStringLiteral()
2150 TemplateArgumentLocInfo ArgInfo(Lit); in ActOnStringLiteral()
2167 for (unsigned I = 0, N = Lit->getLength(); I != N; ++I) { in ActOnStringLiteral()
2168 Value = Lit->getCodeUnit(I); in ActOnStringLiteral()
[all …]
H A DSemaDeclCXX.cpp16673 StringLiteral *Lit = cast<StringLiteral>(LangStr); in ActOnStartLinkageSpecification() local
16674 assert(Lit->isUnevaluated() && "Unexpected string literal kind"); in ActOnStartLinkageSpecification()
16676 StringRef Lang = Lit->getString(); in ActOnStartLinkageSpecification()
H A DSemaChecking.cpp506 Expr *Lit = S.Context.getPredefinedStringLiteralFromCache(Str); in getStringLiteral() local
508 return new (S.Context) ParenExpr(Loc, Loc, Lit); in getStringLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelDAGToDAG.cpp3063 uint64_t Lit = cast<ConstantFPSDNode>(Lo)->getValueAPF() in SelectVOP3PMods() local
3065 if (AMDGPU::isInlinableLiteral32(Lit, Subtarget->hasInv2PiInlineImm())) { in SelectVOP3PMods()
3066 Src = CurDAG->getTargetConstant(Lit, SDLoc(In), MVT::i64); in SelectVOP3PMods()
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h2773 Node *parseIntegerLiteral(std::string_view Lit);
4465 std::string_view Lit) { in parseIntegerLiteral() argument
4468 return make<IntegerLiteral>(Lit, Tmp); in parseIntegerLiteral()
/freebsd/sys/contrib/zlib/doc/
H A Drfc1951.txt661 Lit Value Bits Codes