Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DMetadata.h772 class MDOperand {
776 MDOperand() = default;
777 MDOperand(const MDOperand &) = delete;
778 MDOperand(MDOperand &&Op) {
784 MDOperand &operator=(const MDOperand &) = delete;
785 MDOperand &operator=(MDOperand &&Op) {
792 ~MDOperand() { untrack(); }
826 template <> struct simplify_type<MDOperand> {
829 static SimpleType getSimplifiedValue(MDOperand &MD) { return MD.get(); }
832 template <> struct simplify_type<const MDOperand> {
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DMetadata.cpp580 MDOperand *O = reinterpret_cast<MDOperand *>(this) - SmallSize; in Header()
581 for (MDOperand *E = O + SmallSize; O != E;) in Header()
582 (void)new (O++) MDOperand(); in Header()
590 MDOperand *O = reinterpret_cast<MDOperand *>(this); in ~Header()
591 for (MDOperand *E = O - SmallSize; O != E; --O) in ~Header()
592 (void)(O - 1)->~MDOperand(); in ~Header()
596 static_assert(alignof(MDOperand) <= alignof(Header), in getSmallPtr()
599 sizeof(MDOperand) * SmallSize; in getSmallPtr()
619 MutableArrayRef<MDOperand> ExistingOps = operands(); in resizeSmall()
623 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 DLLVMContextImpl.cpp188 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); } in get_hashable_data()
H A DVerifier.cpp467 void visitModuleFlagCGProfileEntry(const MDOperand &MDO);
1737 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands()) in visitModuleFlag()
1742 void Verifier::visitModuleFlagCGProfileEntry(const MDOperand &MDO) { in visitModuleFlagCGProfileEntry()
1743 auto CheckFunction = [&](const MDOperand &FuncMDO) { in visitModuleFlagCGProfileEntry()
4618 [](const MDOperand &Op) { return isa<MDString>(Op); }), in visitMemProfMetadata()
4634 for (const MDOperand &Op : Annotation->operands()) in visitAnnotationMetadata()
4663 for (const MDOperand &Op : MD->operands()) { in visitAliasScopeListMetadata()
4680 for (const MDOperand &Op : MD->operands()) { in visitAccessGroupMetadata()
6529 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl()
6530 const MDOperand &FieldOffset = BaseNode->getOperand(Idx + 1); in verifyTBAABaseNodeImpl()
H A DDebugInfo.cpp432 [&Visited, &DILocationReachable](const MDOperand &Op) { in stripDebugLocFromLoopID()
441 [&Visited, &DILocationReachable](const MDOperand &Op) { in stripDebugLocFromLoopID()
H A DDIBuilder.cpp1164 for (const MDOperand &O : T->operands()) in replaceVTableHolder()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScopedNoAliasAA.cpp112 for (const MDOperand &MDOp : List->operands()) in collectMDInDomain()
125 for (const MDOperand &MDOp : NoAlias->operands()) in mayAliasInScopes()
H A DLoopInfo.cpp575 for (const MDOperand &MD : drop_begin(ParallelAccesses->operands())) { in isAnnotatedParallel()
600 for (const MDOperand &AccessListItem : AG->operands()) { in isAnnotatedParallel()
1052 std::optional<const MDOperand *>
1091 const MDOperand *AttrMD = in getOptionalIntLoopAttribute()
H A DTypeBasedAliasAnalysis.cpp306 const ArrayRef<MDOperand> Operands = Node->operands(); in getField()
809 ArrayRef<MDOperand> MDOperands = MD->operands(); in extendToTBAA()
H A DVectorUtils.cpp873 for (const MDOperand &Node : MD1->operands()) { in intersectAccessGroups()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DAnnotationRemarks.cpp59 for (const MDOperand &Op : in runImpl()
H A DLoopDistribute.cpp936 std::optional<const MDOperand *> Value = in setForced()
941 const MDOperand *Op = *Value; in setForced()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVCallLowering.cpp151 for (const MDOperand &Operand : KernelToMDNodeList->operands()) { in getKernelArgAttribute()
283 for (const MDOperand &MDOp : MD->operands()) { in lowerFormalArguments()
H A DSPIRVAsmPrinter.cpp391 for (const MDOperand &MDOp : MDN->operands()) { in addOpsFromMDNode()
H A DSPIRVModuleAnalysis.cpp911 const MDOperand &MDOp = MDN->getOperand(1); in collectReqs()
/openbsd-src/gnu/llvm/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp168 auto GetSym = [this](const MDOperand &MDO) -> MCSymbol * { in emitCGProfileMetadata()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DMemoryOpRemark.cpp389 [](const MDOperand &Op) { in canHandle()
H A DCloneFunction.cpp1090 for (const auto &MDOperand : ScopeList->operands()) { in cloneNoAliasScopes() local
1091 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()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DIRSymtab.cpp162 for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands()) in addModule()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DLoopInfo.h1349 std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp4421 for (const auto &MDOperand : MDScopeList->operands()) in analyse() local
4422 if (auto *MDScope = dyn_cast<MDNode>(MDOperand)) in analyse()
4440 auto &MDOperand = MDSL->getOperand(0); in isNoAliasScopeDeclDead() local
4441 if (auto *MD = dyn_cast<MDNode>(MDOperand)) in isNoAliasScopeDeclDead()
/openbsd-src/gnu/llvm/llvm/lib/Linker/
H A DIRMover.cpp1391 ArrayRef<MDOperand> DstOperands = DstValue->operands(); in linkModuleFlagsMetadata()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1499 for (const MDOperand &MDO : MD.operands()) { in emitPCSections()
1520 for (const MDOperand &AuxMDO : AuxMDs->operands()) { in emitPCSections()

12