Home
last modified time | relevance | path

Searched refs:MDOperand (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h891 class MDOperand {
895 MDOperand() = default;
896 MDOperand(const MDOperand &) = delete;
897 MDOperand(MDOperand &&Op) {
903 MDOperand &operator=(const MDOperand &) = delete;
904 MDOperand &operator=(MDOperand &&Op) {
918 ~MDOperand() { untrack(); }
952 template <> struct simplify_type<MDOperand> {
955 static SimpleType getSimplifiedValue(MDOperand &MD) { return MD.get(); }
958 template <> struct simplify_type<const MDOperand> {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp683 MDOperand *O = reinterpret_cast<MDOperand *>(this) - SmallSize; in Header()
684 for (MDOperand *E = O + SmallSize; O != E;) in Header()
685 (void)new (O++) MDOperand(); in Header()
693 MDOperand *O = reinterpret_cast<MDOperand *>(this); in ~Header()
694 for (MDOperand *E = O - SmallSize; O != E; --O) in ~Header()
695 (void)(O - 1)->~MDOperand(); in ~Header()
699 static_assert(alignof(MDOperand) <= alignof(Header), in getSmallPtr()
702 sizeof(MDOperand) * SmallSize; in getSmallPtr()
722 MutableArrayRef<MDOperand> ExistingOps = operands(); in resizeSmall()
726 MDOperand *O = ExistingOps.end(); in resizeSmall()
[all …]
H A DAbstractCallSite.cpp44 for (const MDOperand &Op : CallbackMD->operands()) { in getCallbackUses()
102 for (const MDOperand &Op : CallbackMD->operands()) { in AbstractCallSite()
H A DMemoryModelRelaxationAnnotations.cpp43 for (const MDOperand &Op : Tuple->operands()) { in MMRAMetadata()
H A DLLVMContextImpl.cpp195 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); } in get_hashable_data()
H A DVerifier.cpp514 void visitModuleFlagCGProfileEntry(const MDOperand &MDO);
1873 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands()) in visitModuleFlag()
1878 void Verifier::visitModuleFlagCGProfileEntry(const MDOperand &MDO) { in visitModuleFlagCGProfileEntry()
1879 auto CheckFunction = [&](const MDOperand &FuncMDO) { in visitModuleFlagCGProfileEntry()
4912 for (const MDOperand &MDOp : MD->operands()) in visitMMRAMetadata()
4954 [](const MDOperand &Op) { return isa<MDString>(Op); }), in visitMemProfMetadata()
4974 for (const MDOperand &Op : Annotation->operands()) { in visitAnnotationMetadata()
5010 for (const MDOperand &Op : MD->operands()) { in visitAliasScopeListMetadata()
5027 for (const MDOperand &Op : MD->operands()) { in visitAccessGroupMetadata()
7296 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp111 for (const MDOperand &MDOp : List->operands()) in collectMDInDomain()
124 for (const MDOperand &MDOp : NoAlias->operands()) in mayAliasInScopes()
H A DLoopInfo.cpp576 for (const MDOperand &MD : drop_begin(ParallelAccesses->operands())) { in isAnnotatedParallel()
601 for (const MDOperand &AccessListItem : AG->operands()) { in isAnnotatedParallel()
641 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in getLocRange()
1039 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in findOptionMDForLoopID()
1064 std::optional<const MDOperand *>
1103 const MDOperand *AttrMD = in getOptionalIntLoopAttribute()
1171 for (const MDOperand &MDO : llvm::drop_begin(OrigLoopID->operands())) { in makePostTransformationMetadata()
H A DTypeBasedAliasAnalysis.cpp307 const ArrayRef<MDOperand> Operands = Node->operands(); in getField()
809 ArrayRef<MDOperand> MDOperands = MD->operands(); in extendToTBAA()
H A DLoopAccessAnalysis.cpp2712 std::optional<const MDOperand *> Value = in emitUnsafeDependenceRemark()
2715 const MDOperand *Op = *Value; in emitUnsafeDependenceRemark()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMetadata.cpp49 for (const MDOperand &Operand : KernelToMDNodeList->operands()) { in getOCLKernelArgAttribute()
H A DSPIRVAsmPrinter.cpp412 for (const MDOperand &MDOp : MDN->operands()) { in addOpsFromMDNode()
H A DSPIRVCallLowering.cpp353 for (const MDOperand &MDOp : MD->operands()) { in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAnnotationRemarks.cpp58 for (const MDOperand &Op : in runImpl()
H A DLoopDistribute.cpp936 std::optional<const MDOperand *> Value = in setForced()
941 const MDOperand *Op = *Value; in setForced()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DMoveAutoInit.cpp42 [](const MDOperand &Op) { return Op.equalsStr("auto-init"); }); in hasAutoInitMetadata()
H A DMemoryOpRemark.cpp392 [](const MDOperand &Op) { in canHandle()
H A DCloneFunction.cpp1118 for (const auto &MDOperand : ScopeList->operands()) { in cloneNoAliasScopes() local
1119 if (MDNode *MD = dyn_cast<MDNode>(MDOperand)) { in cloneNoAliasScopes()
H A DLoopUtils.cpp282 for (const MDOperand &Existing : drop_begin(OrigLoopID->operands())) { in makeFollowupLoopID()
319 for (const MDOperand &Option : drop_begin(FollowupNode->operands())) { in makeFollowupLoopID()
H A DLoopUnroll.cpp1094 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in GetUnrollMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp168 auto GetSym = [this](const MDOperand &MDO) -> MCSymbol * { in emitCGProfileMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h654 std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp160 for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands()) in addModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp264 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in getHintsFromMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp5201 for (const auto &MDOperand : MDScopeList->operands()) in analyse() local
5202 if (auto *MDScope = dyn_cast<MDNode>(MDOperand)) in analyse()
5220 auto &MDOperand = MDSL->getOperand(0); in isNoAliasScopeDeclDead() local
5221 if (auto *MD = dyn_cast<MDNode>(MDOperand)) in isNoAliasScopeDeclDead()

12