| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| MDBuilder.h | 31 class MDNode; 54 MDNode *createFPMath(float Accuracy); 61 MDNode *createBranchWeights(uint32_t TrueWeight, uint32_t FalseWeight); 64 MDNode *createBranchWeights(ArrayRef<uint32_t> Weights); 67 MDNode *createUnpredictable(); 73 MDNode *createFunctionEntryCount(uint64_t Count, bool Synthetic, 77 MDNode *createFunctionSectionPrefix(StringRef Prefix); 80 MDNode *createPseudoProbeDesc(uint64_t GUID, uint64_t Hash, Function *F); 87 MDNode *createRange(const APInt &Lo, const APInt &Hi); 90 MDNode *createRange(Constant *Lo, Constant *Hi) [all...] |
| Verifier.h | 33 class MDNode; 54 DenseMap<const MDNode *, TBAABaseNodeSummary> TBAABaseNodes; 58 DenseMap<const MDNode *, bool> TBAAScalarNodes; 62 MDNode *getFieldNodeFromTBAABaseNode(Instruction &I, const MDNode *BaseNode, 65 const MDNode *BaseNode, 68 const MDNode *BaseNode, 71 bool isValidScalarTBAANode(const MDNode *MD); 79 bool visitTBAAMetadata(Instruction &I, const MDNode *MD);
|
| DebugLoc.h | 32 /// one based on relatively opaque \a MDNode pointers. 42 /// Construct from an \a MDNode. 48 explicit DebugLoc(const MDNode *N); 77 DenseMap<const MDNode *, MDNode *> &Cache); 81 MDNode *getScope() const; 87 MDNode *getInlinedAtScope() const; 98 /// Return \c this as a bar \a MDNode. 99 MDNode *getAsMDNode() const { return Loc; }
|
| AutoUpgrade.h | 24 class MDNode; 70 MDNode *UpgradeTBAANode(MDNode &TBAANode); 92 MDNode *upgradeInstructionLoopAttachment(MDNode &N);
|
| TypeFinder.h | 22 class MDNode; 34 DenseSet<const MDNode *> VisitedMetadata; 61 DenseSet<const MDNode *> &getVisitedMetadata() { return VisitedMetadata; } 74 /// incorporateMDNode - This method is used to walk the operands of an MDNode 76 void incorporateMDNode(const MDNode *V);
|
| Metadata.h | 312 /// ResolveUsers, call \a MDNode::resolve() on any users whose last operand 323 /// If this is an unresolved MDNode, RAUW support will be created on-demand. 463 /// In prehistory -- when metadata was a subclass of \a Value -- \a MDNode 467 /// MDNode *N = ...; 482 /// MDNode *N = ...; 493 /// MDNode *N = ...; 653 explicit AAMDNodes(MDNode *T, MDNode *TS, MDNode *S, MDNode *N [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| MDBuilder.cpp | 28 MDNode *MDBuilder::createFPMath(float Accuracy) { 34 return MDNode::get(Context, Op); 37 MDNode *MDBuilder::createBranchWeights(uint32_t TrueWeight, 42 MDNode *MDBuilder::createBranchWeights(ArrayRef<uint32_t> Weights) { 52 return MDNode::get(Context, Vals); 55 MDNode *MDBuilder::createUnpredictable() { 56 return MDNode::get(Context, None); 59 MDNode *MDBuilder::createFunctionEntryCount( 75 return MDNode::get(Context, Ops); 78 MDNode *MDBuilder::createFunctionSectionPrefix(StringRef Prefix) [all...] |
| Metadata.cpp | 78 /// - nullptr is replaced by an empty MDNode. 79 /// - An MDNode with a single null operand is replaced by an empty MDNode. 80 /// - An MDNode whose only operand is a \a ConstantAsMetadata gets skipped. 88 return MDNode::get(Context, None); 90 // Return early if this isn't a single-operand MDNode. 91 auto *N = dyn_cast<MDNode>(MD); 97 return MDNode::get(Context, None); 100 // Look through the MDNode. 318 auto *OwnerMD = dyn_cast<MDNode>(Owner.get<Metadata *>()) [all...] |
| AbstractCallSite.cpp | 41 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); 46 MDNode *OpMD = cast<MDNode>(Op.get()); 94 MDNode *CallbackMD = Callee->getMetadata(LLVMContext::MD_callback); 102 MDNode *CallbackEncMD = nullptr; 104 MDNode *OpMD = cast<MDNode>(Op.get());
|
| DebugLoc.cpp | 19 DebugLoc::DebugLoc(const MDNode *L) : Loc(const_cast<MDNode *>(L)) {} 35 MDNode *DebugLoc::getScope() const { 45 MDNode *DebugLoc::getInlinedAtScope() const { 51 const MDNode *Scope = getInlinedAtScope(); 73 DenseMap<const MDNode *, MDNode *> &Cache) {
|
| MetadataImpl.h | 28 template <class T> T *MDNode::storeImpl(T *N, StorageType Storage) { 42 T *MDNode::storeImpl(T *N, StorageType Storage, StoreT &Store) {
|
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CodeGenTBAA.h | 43 TBAAAccessInfo(TBAAAccessKind Kind, llvm::MDNode *BaseType, 44 llvm::MDNode *AccessType, uint64_t Offset, uint64_t Size) 49 TBAAAccessInfo(llvm::MDNode *BaseType, llvm::MDNode *AccessType, 55 explicit TBAAAccessInfo(llvm::MDNode *AccessType, uint64_t Size) 101 llvm::MDNode *BaseType; 105 llvm::MDNode *AccessType; 129 llvm::DenseMap<const Type *, llvm::MDNode *> MetadataCache; 131 llvm::DenseMap<const Type *, llvm::MDNode *> BaseTypeMetadataCache; 133 llvm::DenseMap<TBAAAccessInfo, llvm::MDNode *> AccessTagMetadataCache [all...] |
| CGLoopInfo.cpp | 23 MDNode * 30 MDNode *LoopID = MDNode::getDistinct(Ctx, NewLoopProperties); 35 MDNode *LoopInfo::createPipeliningMetadata(const LoopAttributes &Attrs, 51 MDNode::get(Ctx, {MDString::get(Ctx, "llvm.loop.pipeline.disable"), 68 Args.push_back(MDNode::get(Ctx, Vals)); 73 MDNode *LoopID = MDNode::getDistinct(Ctx, Args); 79 MDNode * 107 MDNode::get(Ctx, MDString::get(Ctx, "llvm.loop.unroll.disable"))) [all...] |
| CGLoopInfo.h | 26 class MDNode; 95 llvm::MDNode *getLoopID() const { return TempLoopID.get(); } 104 llvm::MDNode *getAccessGroup() const { return AccGroup; } 118 llvm::MDNode *AccGroup = nullptr; 128 llvm::MDNode *UnrollAndJamInnerFollowup = nullptr; 131 llvm::MDNode * 145 /// @param HasUserTransforms [out] Set to true if the returned MDNode encodes 151 llvm::MDNode * 155 llvm::MDNode * 159 llvm::MDNode * [all...] |
| SanitizerMetadata.h | 22 class MDNode; 47 llvm::MDNode *getLocationMetadata(SourceLocation Loc);
|
| CodeGenTBAA.cpp | 43 llvm::MDNode *CodeGenTBAA::getRoot() { 58 llvm::MDNode *CodeGenTBAA::createScalarTypeNode(StringRef Name, 59 llvm::MDNode *Parent, 68 llvm::MDNode *CodeGenTBAA::getChar() { 115 llvm::MDNode *CodeGenTBAA::getTypeInfoHelper(const Type *Ty) { 225 llvm::MDNode *CodeGenTBAA::getTypeInfo(QualType QTy) { 245 if (llvm::MDNode *N = MetadataCache[Ty]) 251 llvm::MDNode *TypeNode = getTypeInfoHelper(Ty); 313 llvm::MDNode *TBAAType = MayAlias ? getChar() : getTypeInfo(QTy); 314 llvm::MDNode *TBAATag = getAccessTagInfo(TBAAAccessInfo(TBAAType, Size)) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| ScopedNoAliasAA.cpp | 62 const MDNode *AScopes = LocA.AATags.Scope, *BScopes = LocB.AATags.Scope; 64 const MDNode *ANoAlias = LocA.AATags.NoAlias, *BNoAlias = LocB.AATags.NoAlias; 110 static void collectMDInDomain(const MDNode *List, const MDNode *Domain, 111 SmallPtrSetImpl<const MDNode *> &Nodes) { 113 if (const MDNode *MD = dyn_cast<MDNode>(MDOp)) 118 bool ScopedNoAliasAAResult::mayAliasInScopes(const MDNode *Scopes, 119 const MDNode *NoAlias) const { 124 SmallPtrSet<const MDNode *, 16> Domains [all...] |
| TypeBasedAliasAnalysis.cpp | 137 static bool isNewFormatTypeNode(const MDNode *N) { 141 if (!isa<MDNode>(N->getOperand(0))) 146 /// This is a simple wrapper around an MDNode which provides a higher-level 157 /// getNode - Get the MDNode for this TBAANode. 192 /// \c MDNode. 194 using TBAANode = TBAANodeImpl<const MDNode>; 195 using MutableTBAANode = TBAANodeImpl<MDNode>; 198 /// This is a simple wrapper around an MDNode which provides a 209 /// Get the MDNode for this TBAAStructTagNode. 224 return dyn_cast_or_null<MDNode>(Node->getOperand(0)) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| CallPromotionUtils.h | 21 class MDNode; 51 MDNode *BranchWeights = nullptr);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
| ReduceMetadata.cpp | 25 std::set<MDNode *> &SeenNodes, 26 std::set<MDNode *> &NodesToKeep) { 27 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 39 const std::set<MDNode *> &NodesToKeep) { 40 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 53 std::set<MDNode *> SeenNodes; 54 std::set<MDNode *> NodesToKeep; 95 static void addMetadataToSet(T &MDUser, std::set<MDNode *> &UnnamedNodes) { 96 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; 104 std::set<MDNode *> UnnamedNodes [all...] |
| /src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
| IRBindings.cpp | 35 MDNode::get(*unwrap(C), ArrayRef<Metadata *>(unwrap(MDs), Count))); 45 N->addOperand(unwrap<MDNode>(Val)); 49 MDNode *N = MD ? unwrap<MDNode>(MD) : nullptr; 60 unwrap<MDNode>(Scope)->getContext(), Line, Col, unwrap<MDNode>(Scope), 61 InlinedAt ? unwrap<MDNode>(InlinedAt) : nullptr));
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| R600OpenCLImageTypeLoweringPass.cpp | 77 GetFunctionFromMDNode(MDNode *Node) { 92 MDNode *ArgNode = dyn_cast_or_null<MDNode>(Node->getOperand(i + 1)); 109 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { 110 MDNode *ArgAQNode = cast<MDNode>(KernelMDNode->getOperand(2)); 115 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { 116 MDNode *ArgTypeNode = cast<MDNode>(KernelMDNode->getOperand(3)); 121 GetArgMD(MDNode *KernelMDNode, unsigned OpIdx) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| DwarfFile.h | 33 class MDNode; 90 DenseMap<const MDNode *, DIE *> AbstractSPDies; 96 DenseMap<const MDNode *, DIE *> DITypeNodeToDieMap; 165 DenseMap<const MDNode *, DIE *> &getAbstractSPDies() { 173 void insertDIE(const MDNode *TypeMD, DIE *Die) { 177 DIE *getDIE(const MDNode *TypeMD) {
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| ScopedNoAliasAA.h | 25 class MDNode; 49 bool mayAliasInScopes(const MDNode *Scopes, const MDNode *NoAlias) const;
|
| TypeBasedAliasAnalysis.h | 27 class MDNode; 55 bool Aliases(const MDNode *A, const MDNode *B) const;
|