Home
last modified time | relevance | path

Searched refs:ValueKind (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/include/llvm/ProfileData/
DInstrProf.h250 InstrProfValueKind ValueKind, uint32_t SiteIndx,
255 uint64_t Sum, InstrProfValueKind ValueKind,
262 InstrProfValueKind ValueKind,
587 inline uint32_t getNumValueSites(uint32_t ValueKind) const;
589 inline uint32_t getNumValueData(uint32_t ValueKind) const;
592 inline uint32_t getNumValueDataForSite(uint32_t ValueKind,
598 getValueForSite(uint32_t ValueKind, uint32_t Site,
603 inline uint64_t getValueForSite(InstrProfValueData Dest[], uint32_t ValueKind,
606 inline void reserveSites(uint32_t ValueKind, uint32_t NumValueSites);
608 void addValueData(uint32_t ValueKind, uint32_t Site,
[all …]
DInstrProfData.inc510 * Extract value profile data of a function for the profile kind \c ValueKind
516 uint32_t ValueKind, uint32_t NumValueSites) {
519 This->Kind = ValueKind;
524 uint32_t ND = Closure->GetNumValueDataForSite(Record, ValueKind, S);
526 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
/external/llvm/lib/ProfileData/
DInstrProf.cpp371 void InstrProfRecord::mergeValueProfData(uint32_t ValueKind, in mergeValueProfData() argument
374 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in mergeValueProfData()
375 uint32_t OtherNumValueSites = Src.getNumValueSites(ValueKind); in mergeValueProfData()
381 getValueSitesForKind(ValueKind); in mergeValueProfData()
383 Src.getValueSitesForKind(ValueKind); in mergeValueProfData()
408 void InstrProfRecord::scaleValueProfData(uint32_t ValueKind, uint64_t Weight) { in scaleValueProfData() argument
409 uint32_t ThisNumValueSites = getNumValueSites(ValueKind); in scaleValueProfData()
411 getValueSitesForKind(ValueKind); in scaleValueProfData()
428 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue() argument
432 switch (ValueKind) { in remapValue()
[all …]
DInstrProfReader.cpp166 VP_READ_ADVANCE(ValueKind); in readValueProfileData()
167 if (ValueKind > IPVK_Last) in readValueProfileData()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp184 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in computeNumValueSiteCounts() local
189 PD.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts()
191 } else if (It->second.NumValueSites[ValueKind] <= Index) in computeNumValueSiteCounts()
192 It->second.NumValueSites[ValueKind] = Index + 1; in computeNumValueSiteCounts()
203 uint64_t ValueKind = Ind->getValueKind()->getZExtValue(); in lowerValueProfileInst() local
205 for (uint32_t Kind = IPVK_First; Kind < ValueKind; ++Kind) in lowerValueProfileInst()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp753 void CodeGenPGO::valueProfile(CGBuilderTy &Builder, uint32_t ValueKind, in valueProfile() argument
773 Builder.getInt32(ValueKind), in valueProfile()
774 Builder.getInt32(NumValueSites[ValueKind]++) in valueProfile()
790 if (NumValueSites[ValueKind] >= ProfRecord->getNumValueSites(ValueKind)) in valueProfile()
794 (llvm::InstrProfValueKind)ValueKind, in valueProfile()
795 NumValueSites[ValueKind]); in valueProfile()
797 NumValueSites[ValueKind]++; in valueProfile()
DCodeGenPGO.h95 void valueProfile(CGBuilderTy &Builder, uint32_t ValueKind,
/external/clang/lib/Sema/
DSemaCast.cpp54 ValueKind(Expr::getValueKindForType(destType)), in CastOperation()
69 ExprValueKind ValueKind; member
261 Op.ValueKind, Op.SrcExpr.get(), DestTInfo, in BuildCXXNamedCast()
272 Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCXXNamedCast()
284 Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCXXNamedCast()
297 Op.ValueKind, Op.Kind, Op.SrcExpr.get(), in BuildCXXNamedCast()
575 if (ValueKind == VK_RValue) in CheckDynamicCast()
728 if (ValueKind == VK_RValue) in CheckConstCast()
843 if (ValueKind == VK_RValue && !isPlaceholder(BuiltinType::Overload)) in CheckReinterpretCast()
907 if (ValueKind == VK_RValue && !DestType->isRecordType() && in CheckStaticCast()
[all …]
DSemaInit.cpp4254 ExprValueKind ValueKind = in TryReferenceInitializationCore() local
4258 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
4314 ExprValueKind ValueKind = InitCategory.isXValue()? VK_XValue : VK_RValue; in TryReferenceInitializationCore() local
4333 ValueKind); in TryReferenceInitializationCore()
4338 ValueKind = convertQualifiersAndValueKindIfNecessary(S, Sequence, in TryReferenceInitializationCore()
4343 Sequence.AddReferenceBindingStep(cv1T1, ValueKind == VK_RValue); in TryReferenceInitializationCore()
/external/llvm/test/Transforms/PGOProfile/Inputs/
Dindirect_call.proftext11 # ValueKind = IPVK_IndirectCallTarget:
/external/compiler-rt/lib/profile/
DInstrProfilingValue.c58 uint32_t ValueKind, uint16_t NumValueSites) { in __llvm_profile_set_num_value_sites() argument
59 *((uint16_t *)&Data->NumValueSites[ValueKind]) = NumValueSites; in __llvm_profile_set_num_value_sites()
DInstrProfiling.h18 enum ValueKind { enum
DInstrProfilingInternal.h130 struct ValueProfNode *(*GetValueData)(uint32_t ValueKind, uint32_t Site,
DInstrProfData.inc510 * Extract value profile data of a function for the profile kind \c ValueKind
516 uint32_t ValueKind, uint32_t NumValueSites) {
519 This->Kind = ValueKind;
524 uint32_t ND = Closure->GetNumValueDataForSite(Record, ValueKind, S);
526 Closure->GetValueForSite(Record, DstVD, ValueKind, S);
/external/clang/include/clang/AST/
DAPValue.h42 enum ValueKind { enum
69 ValueKind Kind;
180 ValueKind getKind() const { return Kind; } in getKind()
DExpr.h116 ExprBits.ValueKind = VK; in Expr()
402 return static_cast<ExprValueKind>(ExprBits.ValueKind); in getValueKind()
418 void setValueKind(ExprValueKind Cat) { ExprBits.ValueKind = Cat; } in setValueKind()
DStmt.h128 unsigned ValueKind : 2; in LLVM_ALIGNAS() local
/external/compiler-rt/test/profile/
Dinstrprof-value-prof-2.c19 uint32_t ValueKind,
Dinstrprof-value-prof.c34 uint32_t ValueKind,
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml260 module ValueKind = struct module
417 external classify_value : llvalue -> ValueKind.t = "llvm_classify_value"
1069 let open ValueKind in
1116 if classify_value llv <> ValueKind.Instruction Opcode.Br then
Dllvm_ocaml.c519 enum ValueKind { enum
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm.ml207 module ValueKind = struct module
327 external classify_value : llvalue -> ValueKind.t = "llvm_classify_value"
Dllvm_ocaml.c410 enum ValueKind { enum
Dllvm.mli259 module ValueKind : sig module
568 val classify_value : llvalue -> ValueKind.t
/external/llvm/docs/
DCodingStandards.rst1123 (e.g. ``ValueKind``).
1129 For example, ``enum ValueKind { ... };`` may contain enumerators like

12