Home
last modified time | relevance | path

Searched refs:MDOperand (Results 1 – 25 of 43) 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.cpp690 MDOperand *O = reinterpret_cast<MDOperand *>(this) - SmallSize; in Header()
691 for (MDOperand *E = O + SmallSize; O != E;) in Header()
692 (void)new (O++) MDOperand(); in Header()
700 MDOperand *O = reinterpret_cast<MDOperand *>(this); in ~Header()
701 for (MDOperand *E = O - SmallSize; O != E; --O) in ~Header()
702 (O - 1)->~MDOperand(); in ~Header()
706 static_assert(alignof(MDOperand) <= alignof(Header), in getSmallPtr()
709 sizeof(MDOperand) * SmallSize; in getSmallPtr()
729 MutableArrayRef<MDOperand> ExistingOps = operands(); in resizeSmall()
733 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.cpp42 for (const MDOperand &Op : Tuple->operands()) { in MMRAMetadata()
H A DLLVMContextImpl.cpp164 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); } in get_hashable_data()
H A DVerifier.cpp522 void visitModuleFlagCGProfileEntry(const MDOperand &MDO);
1944 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands()) in visitModuleFlag()
1949 void Verifier::visitModuleFlagCGProfileEntry(const MDOperand &MDO) { in visitModuleFlagCGProfileEntry()
1950 auto CheckFunction = [&](const MDOperand &FuncMDO) { in visitModuleFlagCGProfileEntry()
5121 for (const MDOperand &MDOp : MD->operands()) in visitMMRAMetadata()
5183 [](const MDOperand &Op) { in visitMemProfMetadata()
5204 for (const MDOperand &Op : Annotation->operands()) { in visitAnnotationMetadata()
5240 for (const MDOperand &Op : MD->operands()) { in visitAliasScopeListMetadata()
5257 for (const MDOperand &Op : MD->operands()) { in visitAccessGroupMetadata()
7694 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()
123 for (const MDOperand &MDOp : NoAlias->operands()) in collectScopedDomains()
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()
1051 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in findOptionMDForLoopID()
1076 std::optional<const MDOperand *>
1115 const MDOperand *AttrMD = in getOptionalIntLoopAttribute()
1183 for (const MDOperand &MDO : llvm::drop_begin(OrigLoopID->operands())) { in makePostTransformationMetadata()
H A DTypeBasedAliasAnalysis.cpp307 const ArrayRef<MDOperand> Operands = Node->operands(); in getField()
812 ArrayRef<MDOperand> MDOperands = MD->operands(); in extendToTBAA()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVMetadata.cpp49 for (const MDOperand &Operand : KernelToMDNodeList->operands()) { in getOCLKernelArgAttribute()
H A DSPIRVEmitNonSemanticDI.cpp120 const MDOperand &MaybeStrOp = Op->getOperand(1); in emitGlobalDI()
H A DSPIRVAsmPrinter.cpp442 for (const MDOperand &MDOp : MDN->operands()) { in addOpsFromMDNode()
H A DSPIRVCallLowering.cpp401 for (const MDOperand &MDOp : MD->operands()) { in lowerFormalArguments()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAnnotationRemarks.cpp57 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.cpp40 [](const MDOperand &Op) { return Op.equalsStr("auto-init"); }); in hasAutoInitMetadata()
H A DMemoryOpRemark.cpp392 [](const MDOperand &Op) { in canHandle()
H A DCloneFunction.cpp1175 for (const auto &MDOperand : ScopeList->operands()) { in cloneNoAliasScopes() local
1176 if (MDNode *MD = dyn_cast<MDNode>(MDOperand)) { in cloneNoAliasScopes()
H A DLoopUnroll.cpp1100 for (const MDOperand &MDO : llvm::drop_begin(LoopID->operands())) { in GetUnrollMetadata()
H A DLoopUtils.cpp283 for (const MDOperand &Existing : drop_begin(OrigLoopID->operands())) { in makeFollowupLoopID()
320 for (const MDOperand &Option : drop_begin(FollowupNode->operands())) { in makeFollowupLoopID()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp103 const MDOperand *EVLMD = in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp167 auto GetSym = [this](const MDOperand &MDO) -> MCSymbol * { in emitCGProfileMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h654 LLVM_ABI std::optional<const MDOperand *>
/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/Target/DirectX/
H A DDXILRootSignature.cpp539 const MDOperand &FunctionPointerMdNode = RSDefNode->getOperand(0); in analyzeModule()

12