| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Metadata.h | 891 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 D | Metadata.cpp | 683 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 D | AbstractCallSite.cpp | 44 for (const MDOperand &Op : CallbackMD->operands()) { in getCallbackUses() 102 for (const MDOperand &Op : CallbackMD->operands()) { in AbstractCallSite()
|
| H A D | MemoryModelRelaxationAnnotations.cpp | 43 for (const MDOperand &Op : Tuple->operands()) { in MMRAMetadata()
|
| H A D | LLVMContextImpl.cpp | 195 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); } in get_hashable_data()
|
| H A D | Verifier.cpp | 514 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 D | ScopedNoAliasAA.cpp | 111 for (const MDOperand &MDOp : List->operands()) in collectMDInDomain() 124 for (const MDOperand &MDOp : NoAlias->operands()) in mayAliasInScopes()
|
| H A D | LoopInfo.cpp | 576 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 D | TypeBasedAliasAnalysis.cpp | 307 const ArrayRef<MDOperand> Operands = Node->operands(); in getField() 809 ArrayRef<MDOperand> MDOperands = MD->operands(); in extendToTBAA()
|
| H A D | LoopAccessAnalysis.cpp | 2712 std::optional<const MDOperand *> Value = in emitUnsafeDependenceRemark() 2715 const MDOperand *Op = *Value; in emitUnsafeDependenceRemark()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVMetadata.cpp | 49 for (const MDOperand &Operand : KernelToMDNodeList->operands()) { in getOCLKernelArgAttribute()
|
| H A D | SPIRVAsmPrinter.cpp | 412 for (const MDOperand &MDOp : MDN->operands()) { in addOpsFromMDNode()
|
| H A D | SPIRVCallLowering.cpp | 353 for (const MDOperand &MDOp : MD->operands()) { in lowerFormalArguments()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | AnnotationRemarks.cpp | 58 for (const MDOperand &Op : in runImpl()
|
| H A D | LoopDistribute.cpp | 936 std::optional<const MDOperand *> Value = in setForced() 941 const MDOperand *Op = *Value; in setForced()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | MoveAutoInit.cpp | 42 [](const MDOperand &Op) { return Op.equalsStr("auto-init"); }); in hasAutoInitMetadata()
|
| H A D | MemoryOpRemark.cpp | 392 [](const MDOperand &Op) { in canHandle()
|
| H A D | CloneFunction.cpp | 1118 for (const auto &MDOperand : ScopeList->operands()) { in cloneNoAliasScopes() local 1119 if (MDNode *MD = dyn_cast<MDNode>(MDOperand)) { in cloneNoAliasScopes()
|
| H A D | LoopUtils.cpp | 282 for (const MDOperand &Existing : drop_begin(OrigLoopID->operands())) { in makeFollowupLoopID() 319 for (const MDOperand &Option : drop_begin(FollowupNode->operands())) { in makeFollowupLoopID()
|
| H A D | LoopUnroll.cpp | 1094 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in GetUnrollMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 168 auto GetSym = [this](const MDOperand &MDO) -> MCSymbol * { in emitCGProfileMetadata()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 654 std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 160 for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands()) in addModule()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorizationLegality.cpp | 264 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in getHintsFromMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 5201 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()
|