Home
last modified time | relevance | path

Searched refs:isFunctionLocal (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/VMCore/
DMetadata.cpp88 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) in MDNode() argument
92 if (isFunctionLocal) in MDNode()
137 if (!N->isFunctionLocal()) return 0; in assertLocalFunction()
165 if (!isFunctionLocal()) return NULL; in getFunction()
184 (isa<MDNode>(V) && cast<MDNode>(V)->isFunctionLocal()); in isFunctionLocalValue()
205 bool isFunctionLocal = false; in getMDNode() local
212 isFunctionLocal = true; in getMDNode()
218 isFunctionLocal = false; in getMDNode()
221 isFunctionLocal = true; in getMDNode()
227 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal); in getMDNode()
[all …]
DAsmWriter.cpp405 if (!MD->isFunctionLocal()) in createSlotTracker()
603 if (!N->isFunctionLocal()) { in CreateMetadataSlot()
1006 if (N->isFunctionLocal()) { in WriteAsOperandInternal()
1013 if (N->isFunctionLocal()) in WriteAsOperandInternal()
DVerifier.cpp488 Assert1(!MD->isFunctionLocal(), in visitNamedMDNode()
507 Assert2(MD.isFunctionLocal() || !N->isFunctionLocal(), in visitMDNode()
512 Assert2(MD.isFunctionLocal(), "Invalid operand for global metadata!", &MD, Op); in visitMDNode()
/external/swiftshader/third_party/LLVM/include/llvm/
DMetadata.h114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
125 bool isFunctionLocal);
145 bool isFunctionLocal() const { in isFunctionLocal() function
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DValueEnumerator.cpp80 if (MD->isFunctionLocal() && MD->getFunction()) in ValueEnumerator()
213 if (N && N->isFunctionLocal() && N->getFunction()) { in EnumerateMetadata()
236 assert(N->isFunctionLocal() && N->getFunction() && in EnumerateFunctionLocalMetadata()
257 if (O->isFunctionLocal() && O->getFunction()) in EnumerateFunctionLocalMetadata()
438 if (MD->isFunctionLocal() && MD->getFunction()) in incorporateFunction()
447 if (N->isFunctionLocal() && N->getFunction()) in incorporateFunction()
DBitcodeWriter.cpp564 unsigned MDCode = N->isFunctionLocal() ? bitc::METADATA_FN_NODE : in WriteMDNode()
580 if (!N->isFunctionLocal() || !N->getFunction()) { in WriteModuleMetadata()
644 if (N->isFunctionLocal() && N->getFunction() == &F) { in WriteFunctionLocalMetadata()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DValueMapper.cpp56 if (!MD->isFunctionLocal() && (Flags & RF_NoModuleLevelChanges)) in MapValue()