Home
last modified time | relevance | path

Searched refs:RK (Results 1 – 25 of 74) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp71 RetainedKnowledge canonicalizedKnowledge(RetainedKnowledge RK, in canonicalizedKnowledge() argument
73 switch (RK.AttrKind) { in canonicalizedKnowledge()
75 return RK; in canonicalizedKnowledge()
77 RK.WasOn = getUnderlyingObject(RK.WasOn); in canonicalizedKnowledge()
78 return RK; in canonicalizedKnowledge()
80 Value *V = RK.WasOn->stripInBoundsOffsets([&](const Value *Strip) { in canonicalizedKnowledge()
82 RK.ArgValue = in canonicalizedKnowledge()
83 MinAlign(RK.ArgValue, GEP->getMaxPreservedAlignment(DL).value()); in canonicalizedKnowledge()
85 RK.WasOn = V; in canonicalizedKnowledge()
86 return RK; in canonicalizedKnowledge()
[all …]
H A DMemoryOpRemark.cpp114 StringRef MemoryOpRemark::remarkName(RemarkKind RK) const { in remarkName()
115 switch (RK) { in remarkName()
402 StringRef AutoInitRemark::remarkName(RemarkKind RK) const { in remarkName()
403 switch (RK) { in remarkName()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp56 RecordKeeperImpl(RecordKeeper &RK) in RecordKeeperImpl()
57 : SharedBitRecTy(RK), SharedIntRecTy(RK), SharedStringRecTy(RK), in RecordKeeperImpl()
58 SharedDagRecTy(RK), AnyRecord(RK, {}), TheUnsetInit(RK), in RecordKeeperImpl()
144 ListTy = new (RK.getImpl().Allocator) ListRecTy(this); in getListTy()
155 const BitRecTy *BitRecTy::get(RecordKeeper &RK) { in get() argument
156 return &RK.getImpl().SharedBitRecTy; in get()
167 const BitsRecTy *BitsRecTy::get(RecordKeeper &RK, unsigned Sz) { in get() argument
168 detail::RecordKeeperImpl &RKImpl = RK.getImpl(); in get()
173 Ty = new (RKImpl.Allocator) BitsRecTy(RK, Sz); in get()
188 const IntRecTy *IntRecTy::get(RecordKeeper &RK) { in get() argument
[all …]
H A DTableGenBackendSkeleton.cpp35 SkeletonEmitter(const RecordKeeper &RK) : Records(RK) {} in SkeletonEmitter() argument
58 static void EmitSkeleton(const RecordKeeper &RK, raw_ostream &OS) { in EmitSkeleton() argument
60 SkeletonEmitter(RK).run(OS); in EmitSkeleton()
H A DDetailedRecordsBackend.cpp36 explicit DetailedRecordsEmitter(const RecordKeeper &RK) : Records(RK) {} in DetailedRecordsEmitter() argument
190 void llvm::EmitDetailedRecords(const RecordKeeper &RK, raw_ostream &OS) { in EmitDetailedRecords() argument
192 DetailedRecordsEmitter(RK).run(OS); in EmitDetailedRecords()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DRISCVTargetDefEmitter.cpp167 static void emitRISCVProcs(const RecordKeeper &RK, raw_ostream &OS) { in emitRISCVProcs() argument
175 RK.getAllDerivedDefinitionsIfDefined("RISCVProcessorModel")) { in emitRISCVProcs()
215 RK.getAllDerivedDefinitionsIfDefined("RISCVTuneProcessorModel")) { in emitRISCVProcs()
223 static void emitRISCVExtensionBitmask(const RecordKeeper &RK, raw_ostream &OS) { in emitRISCVExtensionBitmask() argument
225 RK.getAllDerivedDefinitionsIfDefined("RISCVExtensionBitmask"); in emitRISCVExtensionBitmask()
261 static void emitRiscvTargetDef(const RecordKeeper &RK, raw_ostream &OS) { in emitRiscvTargetDef() argument
262 emitRISCVExtensions(RK, OS); in emitRiscvTargetDef()
263 emitRISCVProfiles(RK, OS); in emitRiscvTargetDef()
264 emitRISCVProcs(RK, OS); in emitRiscvTargetDef()
265 emitRISCVExtensionBitmask(RK, OS); in emitRiscvTargetDef()
H A DARMTargetDefEmitter.cpp56 static void emitARMTargetDef(const RecordKeeper &RK, raw_ostream &OS) { in emitARMTargetDef() argument
61 auto GatherSubtargetFeatureFieldValues = [&RK](StringRef FieldName) { in emitARMTargetDef()
63 for (const Record *Rec : RK.getAllDerivedDefinitions("SubtargetFeature")) { in emitARMTargetDef()
73 RK.getAllDerivedDefinitions("Extension"); in emitARMTargetDef()
115 if (!RK.getClass("Architecture64")) in emitARMTargetDef()
154 auto FMVExts = RK.getAllDerivedDefinitionsIfDefined("FMVExtension"); in emitARMTargetDef()
209 auto Architectures = RK.getAllDerivedDefinitionsIfDefined("Architecture64"); in emitARMTargetDef()
269 for (const Record *Rec : RK.getAllDerivedDefinitions("ProcessorModel")) in emitARMTargetDef()
273 for (const Record *Rec : RK.getAllDerivedDefinitions("ProcessorAlias")) { in emitARMTargetDef()
298 for (const Record *Rec : RK.getAllDerivedDefinitions("ProcessorModel")) { in emitARMTargetDef()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp153 RetainedKnowledge RK = in getKnowledgeFromUse() local
155 if (llvm::is_contained(AttrKinds, RK.AttrKind)) in getKnowledgeFromUse()
156 return RK; in getKnowledgeFromUse()
172 if (RetainedKnowledge RK = getKnowledgeFromBundle( in getKnowledgeForValue() local
174 if (V != RK.WasOn) in getKnowledgeForValue()
176 if (is_contained(AttrKinds, RK.AttrKind) && in getKnowledgeForValue()
177 Filter(RK, II, &II->bundle_op_info_begin()[Elem.Index])) { in getKnowledgeForValue()
179 return RK; in getKnowledgeForValue()
H A DLoads.cpp36 function_ref<bool(const RetainedKnowledge &RK)> CheckSize, in isDereferenceableAndAlignedPointerViaAssumption()
53 [&](RetainedKnowledge RK, Instruction *Assume, auto) { in isDereferenceableAndAlignedPointerViaAssumption() argument
56 if (RK.AttrKind == Attribute::Alignment) in isDereferenceableAndAlignedPointerViaAssumption()
57 AlignRK = std::max(AlignRK, RK); in isDereferenceableAndAlignedPointerViaAssumption()
58 if (RK.AttrKind == Attribute::Dereferenceable) in isDereferenceableAndAlignedPointerViaAssumption()
59 DerefRK = std::max(DerefRK, RK); in isDereferenceableAndAlignedPointerViaAssumption()
208 [Size](const RetainedKnowledge &RK) { in isDereferenceableAndAlignedPointer() argument
209 return RK.ArgValue >= Size.getZExtValue(); in isDereferenceableAndAlignedPointer()
397 [&SE, AccessSizeSCEV](const RetainedKnowledge &RK) { in isDereferenceableAndAlignedInLoop() argument
399 SE.getSCEV(RK.IRArgValue)); in isDereferenceableAndAlignedInLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h77 RecordKeeper &RK; variable
83 RecTy(RecTyKind K, RecordKeeper &RK) : Kind(K), RK(RK) {} in RecTy() argument
89 RecordKeeper &getRecordKeeper() const { return RK; } in getRecordKeeper()
116 BitRecTy(RecordKeeper &RK) : RecTy(BitRecTyKind, RK) {} in BitRecTy() argument
123 static const BitRecTy *get(RecordKeeper &RK);
134 explicit BitsRecTy(RecordKeeper &RK, unsigned Sz) in BitsRecTy() argument
135 : RecTy(BitsRecTyKind, RK), Size(Sz) {} in BitsRecTy()
142 static const BitsRecTy *get(RecordKeeper &RK, unsigned Sz);
155 IntRecTy(RecordKeeper &RK) : RecTy(IntRecTyKind, RK) {} in IntRecTy() argument
162 static const IntRecTy *get(RecordKeeper &RK);
[all …]
H A DTableGenBackend.h39 static void run(const RecordKeeper &RK, raw_ostream &OS) { in run() argument
40 EmitterC(RK).run(OS); in run()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp61 RecurKind RK = getMinMaxReductionRecurKind(ID); in expandReductions() local
79 Rdx = getOrderedReduction(Builder, Acc, Vec, RdxOpcode, RK); in expandReductions()
84 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions()
117 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions()
132 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions()
145 Rdx = getShuffleReduction(Builder, Vec, RdxOpcode, RS, RK); in expandReductions()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSDNodeInfoEmitter.cpp32 const RecordKeeper &RK; member in __anon3d1c9afe0111::SDNodeInfoEmitter
37 explicit SDNodeInfoEmitter(const RecordKeeper &RK);
86 SDNodeInfoEmitter::SDNodeInfoEmitter(const RecordKeeper &RK) in SDNodeInfoEmitter() argument
87 : RK(RK), Target(RK) { in SDNodeInfoEmitter()
97 for (const Record *R : RK.getAllDerivedDefinitions("SDNode")) { in SDNodeInfoEmitter()
354 emitSourceFileHeader("Target SDNode descriptions", OS, RK); in run()
H A DTableGenBackends.h64 void EmitMapTable(const RecordKeeper &RK, raw_ostream &OS);
67 void EmitDecoder(const RecordKeeper &RK, raw_ostream &OS,
H A DExegesisEmitter.cpp33 ExegesisEmitter(const RecordKeeper &RK);
99 ExegesisEmitter::ExegesisEmitter(const RecordKeeper &RK) in ExegesisEmitter() argument
100 : Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) { in ExegesisEmitter()
H A DGlobalISelEmitter.cpp319 explicit GlobalISelEmitter(const RecordKeeper &RK);
339 const RecordKeeper &RK; member in __anon868ebc530111::GlobalISelEmitter
509 for (const Record *Equiv : RK.getAllDerivedDefinitions("GINodeEquiv")) in gatherNodeEquivs()
514 RK.getAllDerivedDefinitions("GIComplexPatternEquiv")) { in gatherNodeEquivs()
523 RK.getAllDerivedDefinitions("GISDNodeXFormEquiv")) { in gatherNodeEquivs()
564 GlobalISelEmitter::GlobalISelEmitter(const RecordKeeper &RK) in GlobalISelEmitter() argument
565 : GlobalISelMatchTableExecutorEmitter(), RK(RK), CGP(RK), in GlobalISelEmitter()
759 &Target.getInstruction(RK.getDef("G_CONSTANT"))); in createAndImportSelDAGMatcher()
1192 Target.getInstruction(RK.getDef("G_BUILD_VECTOR")); in importChildMatcher()
1194 Target.getInstruction(RK.getDef("G_BUILD_VECTOR_TRUNC")); in importChildMatcher()
[all …]
/freebsd/contrib/llvm-project/lldb/utils/TableGen/
H A DLLDBTableGenBackends.h32 void EmitOptionDefs(const RecordKeeper &RK, raw_ostream &OS);
33 void EmitPropertyDefs(const RecordKeeper &RK, raw_ostream &OS);
34 void EmitPropertyEnumDefs(const RecordKeeper &RK, raw_ostream &OS);
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDataCollectorsEmitter.cpp19 void clang::EmitClangDataCollectors(const RecordKeeper &RK, raw_ostream &OS) { in EmitClangDataCollectors() argument
20 const auto &Defs = RK.getClasses(); in EmitClangDataCollectors()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrettyPrinter.cpp100 static StringRef getTextureDimName(dxil::ResourceKind RK) { in getTextureDimName() argument
101 switch (RK) { in getTextureDimName()
149 dxil::ResourceKind RK = Item.getResourceKind(); in format() local
150 switch (RK) { in format()
152 OS << getTextureDimName(RK); in format()
/freebsd/crypto/openssl/crypto/aria/
H A Daria.c338 #define ARIA_ADD_ROUND_KEY(RK, T0, T1, T2, T3) \ argument
340 (T0) ^= (RK)->u[0]; \
341 (T1) ^= (RK)->u[1]; \
342 (T2) ^= (RK)->u[2]; \
343 (T3) ^= (RK)->u[3]; \
403 #define _ARIA_GSRK(RK, X, Y, Q, R) … argument
405 … (RK)->u[0] = ((X)[0]) ^ (((Y)[((Q)) % 4]) >> (R)) ^ (((Y)[((Q) + 3) % 4]) << (32 - (R))); \
406 … (RK)->u[1] = ((X)[1]) ^ (((Y)[((Q) + 1) % 4]) >> (R)) ^ (((Y)[((Q)) % 4]) << (32 - (R))); \
407 … (RK)->u[2] = ((X)[2]) ^ (((Y)[((Q) + 2) % 4]) >> (R)) ^ (((Y)[((Q) + 1) % 4]) << (32 - (R))); \
408 … (RK)->u[3] = ((X)[3]) ^ (((Y)[((Q) + 3) % 4]) >> (R)) ^ (((Y)[((Q) + 2) % 4]) << (32 - (R))); \
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCVTypeVisitor.cpp26 TypeRecordKind RK = static_cast<TypeRecordKind>(Record.kind()); in visitKnownRecord() local
27 T KnownRecord(RK); in visitKnownRecord()
36 TypeRecordKind RK = static_cast<TypeRecordKind>(Record.Kind); in visitKnownMember() local
37 T KnownRecord(RK); in visitKnownMember()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp233 ReferenceKind RK)>;
255 Expr *Init, ReferenceKind RK,
699 Expr *Init, ReferenceKind RK, in visitLocalsRetainedByReferenceBinding() argument
753 if (Visit(Path, Local(MTE), RK)) in visitLocalsRetainedByReferenceBinding()
776 Visit(Path, Local(DRE), RK); in visitLocalsRetainedByReferenceBinding()
810 visitLocalsRetainedByReferenceBinding(Path, C->getTrueExpr(), RK, Visit); in visitLocalsRetainedByReferenceBinding()
812 visitLocalsRetainedByReferenceBinding(Path, C->getFalseExpr(), RK, Visit); in visitLocalsRetainedByReferenceBinding()
819 Visit(Path, Local(CLE), RK); in visitLocalsRetainedByReferenceBinding()
870 [&](IndirectLocalPath &Path, Local L, ReferenceKind RK) -> bool { in visitLocalsRetainedByInitializer() argument
1310 ReferenceKind RK) -> bool { in checkExprLifetimeImpl() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DMemoryOpRemark.h56 virtual StringRef remarkName(RemarkKind RK) const;
107 StringRef remarkName(RemarkKind RK) const override;
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenHwModes.cpp58 CodeGenHwModes::CodeGenHwModes(const RecordKeeper &RK) : Records(RK) { in CodeGenHwModes() argument
/freebsd/sys/contrib/device-tree/Bindings/misc/
H A Datmel-ssc.txt23 clock can get from TK pin, and also can get from RK pin. So, add
25 - By default the clock is from TK pin, if the clock from RK pin, this

123