| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Metadata.h | 773 class MDOperand { 777 MDOperand() = default; 778 MDOperand(const MDOperand &) = delete; 779 MDOperand(MDOperand &&Op) { 785 MDOperand &operator=(const MDOperand &) = delete; 786 MDOperand &operator=(MDOperand &&Op) { 793 ~MDOperand() { untrack(); } 975 return sizeof(MDOperand) * NumOps; 1028 MutableArrayRef<MDOperand> operands() { 1035 ArrayRef<MDOperand> operands() const { [all …]
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Metadata.cpp | 580 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() 599 sizeof(MDOperand) * SmallSize; in getSmallPtr() 623 MDOperand *O = ExistingOps.end(); in resizeSmall() 1041 for (const MDOperand &MDOp : A->operands()) in getMostGenericAliasScope() 1046 for (const MDOperand &MDOp : B->operands()) in getMostGenericAliasScope() [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 | LLVMContextImpl.cpp | 187 static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); } in get_hashable_data()
|
| H A D | Verifier.cpp | 466 void visitModuleFlagCGProfileEntry(const MDOperand &MDO); 1703 for (const MDOperand &MDO : cast<MDNode>(Op->getOperand(2))->operands()) in visitModuleFlag() 1708 void Verifier::visitModuleFlagCGProfileEntry(const MDOperand &MDO) { in visitModuleFlagCGProfileEntry() 1709 auto CheckFunction = [&](const MDOperand &FuncMDO) { in visitModuleFlagCGProfileEntry() 4530 [](const MDOperand &Op) { return isa<MDString>(Op); }), in visitMemProfMetadata() 4546 for (const MDOperand &Op : Annotation->operands()) in visitAnnotationMetadata() 4575 for (const MDOperand &Op : MD->operands()) { in visitAliasScopeListMetadata() 4592 for (const MDOperand &Op : MD->operands()) { in visitAccessGroupMetadata() 6376 const MDOperand &FieldTy = BaseNode->getOperand(Idx); in verifyTBAABaseNodeImpl() 6377 const MDOperand &FieldOffset = BaseNode->getOperand(Idx + 1); in verifyTBAABaseNodeImpl()
|
| H A D | DebugInfo.cpp | 416 [&Visited, &DILocationReachable](const MDOperand &Op) { in stripDebugLocFromLoopID() 426 [&Visited, &DILocationReachable](const MDOperand &Op) { in stripDebugLocFromLoopID()
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | ManualOptimizer.cpp | 63 for (const MDOperand &X : drop_begin(MD->operands(), 1)) { in findFirstDebugLoc() 129 [](const MDOperand &MDOp) { return isa<MDNode>(MDOp.get()); }), in getLoopMDProps() 130 [](const MDOperand &MDOp) { return cast<MDNode>(MDOp.get()); }); in getLoopMDProps()
|
| /llvm-project-15.0.7/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 | 571 for (const MDOperand &MD : drop_begin(ParallelAccesses->operands())) { in isAnnotatedParallel() 596 for (const MDOperand &AccessListItem : AG->operands()) { in isAnnotatedParallel() 1048 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop, in findStringMetadataForLoop() 1087 const MDOperand *AttrMD = in getOptionalIntLoopAttribute()
|
| H A D | TypeBasedAliasAnalysis.cpp | 306 const ArrayRef<MDOperand> Operands = Node->operands(); in getField() 814 ArrayRef<MDOperand> MDOperands = MD->operands(); in extendToTBAA()
|
| H A D | VectorUtils.cpp | 822 for (const MDOperand &Node : MD1->operands()) { in intersectAccessGroups()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | AnnotationRemarks.cpp | 61 for (const MDOperand &Op : in runImpl()
|
| H A D | LoopDistribute.cpp | 940 Optional<const MDOperand *> Value = in setForced() 945 const MDOperand *Op = *Value; in setForced()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILTranslateMetadata.cpp | 21 static uint32_t ConstMDToUint32(const MDOperand &MDO) { in ConstMDToUint32()
|
| /llvm-project-15.0.7/polly/lib/Support/ |
| H A D | ScopHelper.cpp | 688 for (const MDOperand &X : drop_begin(LoopMD->operands(), 1)) { in findNamedMetadataNode() 702 static Optional<const MDOperand *> findNamedMetadataArg(MDNode *LoopID, in findNamedMetadataArg() 755 const MDOperand *AttrMD = in getOptionalIntLoopAttribute()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | MemoryOpRemark.cpp | 387 [](const MDOperand &Op) { in canHandle()
|
| H A D | CloneFunction.cpp | 1044 for (auto &MDOperand : ScopeList->operands()) { in cloneNoAliasScopes() local 1045 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()
|
| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | TargetLoweringObjectFile.cpp | 168 auto GetSym = [this](const MDOperand &MDO) -> MCSymbol * { in emitCGProfileMetadata()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 190 for (const MDOperand &MDOp : MD->operands()) { in lowerFormalArguments()
|
| H A D | SPIRVAsmPrinter.cpp | 364 for (const MDOperand &MDOp : MDN->operands()) { in addOpsFromMDNode()
|
| /llvm-project-15.0.7/clang/unittests/CodeGen/ |
| H A D | IRMatchers.h | 342 const MDOperand &Op = MT->getOperand(I); in matchEntity()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 162 for (const MDOperand &MDOption : cast<MDNode>(MDOptions)->operands()) in addModule()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 1346 Optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 4363 for (auto &MDOperand : MDScopeList->operands()) in analyse() local 4364 if (auto *MDScope = dyn_cast<MDNode>(MDOperand)) in analyse() 4382 auto &MDOperand = MDSL->getOperand(0); in isNoAliasScopeDeclDead() local 4383 if (auto *MD = dyn_cast<MDNode>(MDOperand)) in isNoAliasScopeDeclDead()
|