Home
last modified time | relevance | path

Searched refs:VK (Results 1 – 25 of 53) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp38 LoongArchMCExpr::VariantKind VK; member
40 LoongArchMCExpr::VariantKind VK = LoongArchMCExpr::VK_LoongArch_None) in Inst()
41 : Opc(Opc), VK(VK) {} in Inst()
202 LoongArchMCExpr::VariantKind &VK) { in evaluateConstantImm() argument
204 VK = LE->getKind(); in evaluateConstantImm()
221 LoongArchMCExpr::VariantKind VK = LoongArchMCExpr::VK_LoongArch_None; in isUImm() local
222 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK); in isUImm()
224 VK == LoongArchMCExpr::VK_LoongArch_None; in isUImm()
232 LoongArchMCExpr::VariantKind VK = LoongArchMCExpr::VK_LoongArch_None; in isSImm() local
233 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK); in isSImm()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp492 RISCVMCExpr::VariantKind &VK) { in evaluateConstantImm()
494 VK = RE->getKind(); in evaluateConstantImm()
499 VK = RISCVMCExpr::VK_RISCV_None; in evaluateConstantImm()
511 RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None; in isBareSimmNLsb0() local
514 bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK); in isBareSimmNLsb0()
517 IsValid = RISCVAsmParser::classifySymbolRef(getImm(), VK); in isBareSimmNLsb0()
520 return IsValid && VK == RISCVMCExpr::VK_RISCV_None; in isBareSimmNLsb0()
527 RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None; in isBareSymbol() local
529 if (!isImm() || evaluateConstantImm(getImm(), Imm, VK)) in isBareSymbol()
531 return RISCVAsmParser::classifySymbolRef(getImm(), VK) && in isBareSymbol()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprObjC.cpp53 ObjCDictionaryLiteral::ObjCDictionaryLiteral(ArrayRef<ObjCDictionaryElement> VK, in ObjCDictionaryLiteral() argument
58 NumElements(VK.size()), HasPackExpansions(HasPackExpansions), Range(SR), in ObjCDictionaryLiteral()
64 KeyValues[I].Key = VK[I].Key; in ObjCDictionaryLiteral()
65 KeyValues[I].Value = VK[I].Value; in ObjCDictionaryLiteral()
67 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
68 if (VK[I].NumExpansions) in ObjCDictionaryLiteral()
69 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
79 ArrayRef<ObjCDictionaryElement> VK, in Create() argument
83 VK.size(), HasPackExpansions ? VK.size() : 0)); in Create()
84 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); in Create()
[all …]
H A DExprCXX.cpp593 QualType Ty, ExprValueKind VK, in CXXOperatorCallExpr() argument
597 : CallExpr(CXXOperatorCallExprClass, Fn, /*PreArgs=*/{}, Args, Ty, VK, in CXXOperatorCallExpr()
615 ExprValueKind VK, SourceLocation OperatorLoc, in Create() argument
623 return new (Mem) CXXOperatorCallExpr(OpKind, Fn, Args, Ty, VK, OperatorLoc, in Create()
664 QualType Ty, ExprValueKind VK, in CXXMemberCallExpr() argument
668 : CallExpr(CXXMemberCallExprClass, Fn, /*PreArgs=*/{}, Args, Ty, VK, RP, in CXXMemberCallExpr()
678 ExprValueKind VK, in Create() argument
689 CXXMemberCallExpr(Fn, Args, Ty, VK, RP, FPFeatures, MinNumArgs); in Create()
762 CXXStaticCastExpr::Create(const ASTContext &C, QualType T, ExprValueKind VK, in Create() argument
771 auto *E = new (Buffer) CXXStaticCastExpr(T, VK, K, Op, PathSize, WrittenTy, in Create()
[all …]
H A DExpr.cpp432 ExprValueKind VK, SourceLocation L, in DeclRefExpr() argument
435 : Expr(DeclRefExprClass, T, VK, OK_Ordinary), D(D), DNLoc(LocInfo) { in DeclRefExpr()
455 QualType T, ExprValueKind VK, NonOdrUseReason NOUR) in DeclRefExpr() argument
456 : Expr(DeclRefExprClass, T, VK, OK_Ordinary), D(D), in DeclRefExpr()
493 ExprValueKind VK, NamedDecl *FoundD, in Create() argument
499 T, VK, FoundD, TemplateArgs, NOUR); in Create()
507 QualType T, ExprValueKind VK, in Create() argument
526 FoundD, TemplateArgs, T, VK, NOUR); in Create()
1450 ArrayRef<Expr *> Args, QualType Ty, ExprValueKind VK, in CallExpr() argument
1453 : Expr(SC, Ty, VK, OK_Ordinary), RParenLoc(RParenLoc) { in CallExpr()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingValue.c280 static uint32_t getNumValueSitesRT(const void *R, uint32_t VK) { in getNumValueDataRT()
281 return ((const ValueProfRuntimeRecord *)R)->Data->NumValueSites[VK]; in getNumValueDataRT()
284 static uint32_t getNumValueDataRT(const void *R, uint32_t VK) { in getNumValueDataRT()
287 if (Record->SiteCountArray[VK] == INSTR_PROF_NULLPTR) in getNumValueDataRT()
289 for (I = 0; I < Record->Data->NumValueSites[VK]; I++) in getNumValueDataForSiteRT() argument
290 S += Record->SiteCountArray[VK][I]; in getNumValueDataForSiteRT()
294 static uint32_t getNumValueDataForSiteRT(const void *R, uint32_t VK,
297 return Record->SiteCountArray[VK][S];
342 static ValueProfNode *getNextNValueData(uint32_t VK, uint32_t Site, in getNextNValueData()
346 ValueProfNode *VNode = StartNode ? StartNode : RTRecord.NodesKind[VK][Sit in getNextNValueData()
275 getNumValueSitesRT(const void * R,uint32_t VK) getNumValueSitesRT() argument
279 getNumValueDataRT(const void * R,uint32_t VK) getNumValueDataRT() argument
337 getNextNValueData(uint32_t VK,uint32_t Site,InstrProfValueData * Dst,ValueProfNode * StartNode,uint32_t N) getNextNValueData() argument
354 getNumValueDataForSiteWrapper(uint32_t VK,uint32_t S) getNumValueDataForSiteWrapper() argument
[all...]
H A DInstrProfilingInternal.h134 uint32_t (*GetNumValueDataForSite)(uint32_t VK, uint32_t Site);
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDerivedUser.h37 DerivedUser(Type *Ty, unsigned VK, Use *U, unsigned NumOps, in DerivedUser() argument
39 : User(Ty, VK, U, NumOps), DeleteValue(DeleteValue) {} in DerivedUser()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp1037 for (uint32_t VK = 0; VK <= IPVK_Last; VK++) { in validateRecord() local
1038 if (VK == IPVK_IndirectCallTarget || VK == IPVK_VTableTarget) in validateRecord()
1040 uint32_t NS = Func.getNumValueSites(VK); in validateRecord()
1043 for (const auto &V : Func.getValueArrayForSite(VK, S)) in validateRecord()
1081 for (uint32_t VK = 0; VK < IPVK_Last + 1; VK++) { in writeRecordInText() local
1082 uint32_t NS = Func.getNumValueSites(VK); in writeRecordInText()
1085 OS << "# ValueKind = " << ValueProfKindStr[VK] << ":\n" << VK << "\n"; in writeRecordInText()
1088 auto VD = Func.getValueArrayForSite(VK, S); in writeRecordInText()
1091 if (VK == IPVK_IndirectCallTarget || VK == IPVK_VTableTarget) in writeRecordInText()
H A DInstrProf.cpp734 for (uint32_t VK = IPVK_First; VK <= IPVK_Last; ++VK) { in accumulateCounts() local
736 uint32_t NumValueSites = getNumValueSites(VK); in accumulateCounts()
738 for (const auto &V : getValueArrayForSite(VK, I)) in accumulateCounts()
741 Sum.ValueCounts[VK] += KindSum; in accumulateCounts()
1097 uint32_t getNumValueDataForSiteInstrProf(const void *R, uint32_t VK, in getNumValueDataForSiteInstrProf() argument
1100 return IPR->getValueArrayForSite(VK, S).size(); in getNumValueDataForSiteInstrProf()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp113 const SparcMCExpr *adjustPICRelocation(SparcMCExpr::VariantKind VK,
1031 auto MatchesKind = [](SparcMCExpr::VariantKind VK) -> bool { in parseTailRelocSym() argument
1036 return VK == SparcMCExpr::VK_Sparc_GOTDATA_OP; in parseTailRelocSym()
1040 switch (VK) { in parseTailRelocSym()
1052 switch (VK) { in parseTailRelocSym()
1062 switch (VK) { in parseTailRelocSym()
1083 SparcMCExpr::VariantKind VK = SparcMCExpr::parseVariantKind(Name); in parseTailRelocSym() local
1084 if (VK == SparcMCExpr::VK_Sparc_None) in parseTailRelocSym()
1087 if (!MatchesKind(VK)) { in parseTailRelocSym()
1102 const MCExpr *Val = adjustPICRelocation(VK, SubExpr); in parseTailRelocSym()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h121 Expr(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK) in Expr() argument
124 ExprBits.ValueKind = VK; in Expr()
1178 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK,
1180 : Expr(OpaqueValueExprClass, T, VK, OK), SourceExpr(SourceExpr) { in Expr() argument
1298 ExprValueKind VK, NonOdrUseReason NOUR);
1306 ExprValueKind VK, SourceLocation L,
1314 QualType T, ExprValueKind VK, NamedDecl *FoundD = nullptr,
1322 const DeclarationNameInfo &NameInfo, QualType T, ExprValueKind VK,
2210 ExprValueKind VK, ExprObjectKind OK, SourceLocation l,
2224 QualType type, ExprValueKind VK,
[all …]
H A DExprCXX.h93 ArrayRef<Expr *> Args, QualType Ty, ExprValueKind VK,
102 ArrayRef<Expr *> Args, QualType Ty, ExprValueKind VK,
181 ExprValueKind VK, SourceLocation RP,
189 ExprValueKind VK, SourceLocation RP,
240 QualType Ty, ExprValueKind VK, SourceLocation RP,
248 QualType Ty, ExprValueKind VK,
386 CXXNamedCastExpr(StmtClass SC, QualType ty, ExprValueKind VK, CastKind kind, in CXXNamedCastExpr() argument
390 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, HasFPFeatures, in CXXNamedCastExpr()
459 Create(const ASTContext &Context, QualType T, ExprValueKind VK, CastKind K,
479 CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind, Expr *op, in CXXDynamicCastExpr() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp206 void EmitTlsCall(const MachineInstr *MI, MCSymbolRefExpr::VariantKind VK);
689 MCSymbolRefExpr::VariantKind VK) { in EmitTlsCall() argument
742 const MCExpr *SymVar = MCSymbolRefExpr::create(MOSymbol, VK, OutContext); in EmitTlsCall()
852 MCSymbolRefExpr::VariantKind VK = in emitInstruction()
855 const auto TOCEntryIter = TOC.find({MOSymbol, VK}); in emitInstruction()
1058 MCSymbolRefExpr::VariantKind VK = GetVKForMO(MO); in emitInstruction() local
1064 lookUpOrCreateTOCEntry(MOSymbol, getTOCEntryTypeForMO(MO), VK); in emitInstruction()
1075 Exp = getTOCEntryLoadingExprForXCOFF(MOSymbol, Exp, VK); in emitInstruction()
1135 MCSymbolRefExpr::VariantKind VK = GetVKForMO(MO); in emitInstruction() local
1141 lookUpOrCreateTOCEntry(MOSymbol, getTOCEntryTypeForMO(MO), VK); in emitInstruction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp374 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK, in CheckExtVectorComponent() argument
490 VK = VK_PRValue; in CheckExtVectorComponent()
936 QualType Ty, ExprValueKind VK, ExprObjectKind OK, in BuildMemberExpr() argument
943 VK, OK, getNonOdrUseReasonInCurrentContext(Member)); in BuildMemberExpr()
1670 ExprValueKind VK = (IsArrow ? VK_LValue : BaseExpr.get()->getValueKind()); in LookupMemberExpr() local
1671 QualType ret = CheckExtVectorComponent(S, BaseType, VK, OpLoc, in LookupMemberExpr()
1680 ExtVectorElementExpr(ret, VK, BaseExpr.get(), *Member, MemberLoc); in LookupMemberExpr()
1832 ExprValueKind VK = VK_LValue; in BuildFieldReferenceExpr() local
1836 VK = BaseExpr->getValueKind(); in BuildFieldReferenceExpr()
1838 VK = VK_PRValue; in BuildFieldReferenceExpr()
[all …]
H A DSemaExpr.cpp2186 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, in BuildDeclRefExpr() argument
2190 return BuildDeclRefExpr(D, Ty, VK, NameInfo, SS); in BuildDeclRefExpr()
2194 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, in BuildDeclRefExpr() argument
2201 return BuildDeclRefExpr(D, Ty, VK, NameInfo, NNS, FoundD, TemplateKWLoc, in BuildDeclRefExpr()
2263 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK, in BuildDeclRefExpr() argument
2273 VK, FoundD, TemplateArgs, getNonOdrUseReasonInCurrentContext(D)); in BuildDeclRefExpr()
3015 ExprValueKind VK = From->getValueKind(); in PerformObjectMemberConversion() local
3053 VK, &BasePath).get(); in PerformObjectMemberConversion()
3072 VK, &BasePath); in PerformObjectMemberConversion()
5095 ExprValueKind VK = VK_LValue; in CreateBuiltinArraySubscriptExpr() local
[all …]
/freebsd/crypto/openssl/crypto/sha/asm/
H A Dsha1-sparcv9a.pl84 @VK=($VK_00_19,$VK_20_39,$VK_40_59,$VK_60_79);
92 my $K=@VK[($i+16)/20];
151 my $K=@VK[($j+16-2)/20];
204 my $K=@VK[($j+16-2)/20];
283 my $K=@VK[($j+16-2)/20];
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/
H A DXtensaAsmPrinter.cpp91 MCSymbolRefExpr::VariantKind VK = getModifierVariantKind(ACPV->getModifier()); in emitMachineConstantPoolValue() local
100 const MCExpr *Expr = MCSymbolRefExpr::create(MCSym, VK, OutContext); in emitMachineConstantPoolValue()
/freebsd/contrib/llvm-project/llvm/tools/opt/
H A DNewPMDriver.h74 opt_tool::OutputKind OK, opt_tool::VerifierKind VK,
H A Doptdriver.cpp730 VerifierKind VK = VK_VerifyOut; in optMain() local
732 VK = VK_NoVerifier; in optMain()
734 VK = VK_VerifyEachPass; in optMain()
742 OK, VK, PreserveAssemblyUseListOrder, in optMain()
H A DNewPMDriver.cpp346 OutputKind OK, VerifierKind VK, bool ShouldPreserveAssemblyUseListOrder, in runPassPipeline() argument
350 bool VerifyEachPass = VK == VK_VerifyEachPass; in runPassPipeline()
490 if (VK > VK_NoVerifier) in runPassPipeline()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlparser.h24 VK, /* info = index of constant in `k' */ enumerator
H A Dlcode.c433 case VK: { in discharge2reg()
537 e->k = VK; in luaK_exp2RK()
544 e->k = VK; in luaK_exp2RK()
547 case VK: { in luaK_exp2RK()
631 case VK: case VKNUM: case VTRUE: { in luaK_goiftrue()
676 case VK: case VKNUM: case VTRUE: { in codenot()
/freebsd/contrib/lua/src/
H A Dlparser.h31 VK, /* constant in 'k'; info = index of constant in 'k' */ enumerator
H A Dlcode.c747 e->k = VK; in str2K()
850 case VK: { in discharge2reg()
1015 case VK: info = e->u.info; break; in luaK_exp2K()
1019 e->k = VK; /* make expression a 'K' expression */ in luaK_exp2K()
1149 case VK: case VKFLT: case VKINT: case VKSTR: case VTRUE: { in luaK_goiftrue()
1199 case VK: case VKFLT: case VKINT: case VKSTR: case VTRUE: { in codenot()
1228 return (e->k == VK && !hasjumps(e) && e->u.info <= MAXARG_B && in isKstr()
1594 lua_assert(e1->k == VK || e1->k == VKINT || e1->k == VKFLT); in codeeq()

123