Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DMetadata.cpp111 MDNode::MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal) in MDNode() argument
115 if (isFunctionLocal) in MDNode()
164 if (!N->isFunctionLocal()) return 0; in assertLocalFunction()
192 if (!isFunctionLocal()) return NULL; in getFunction()
212 (isa<MDNode>(V) && cast<MDNode>(V)->isFunctionLocal()); in isFunctionLocalValue()
233 bool isFunctionLocal = false; in getMDNode() local
240 isFunctionLocal = true; in getMDNode()
246 isFunctionLocal = false; in getMDNode()
249 isFunctionLocal = true; in getMDNode()
255 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal); in getMDNode()
[all …]
DAsmWriter.cpp445 if (!MD->isFunctionLocal()) in createSlotTracker()
668 if (!N->isFunctionLocal()) { in CreateMetadataSlot()
1131 if (N->isFunctionLocal()) { in WriteAsOperandInternal()
1138 if (N->isFunctionLocal()) in WriteAsOperandInternal()
DVerifier.cpp487 Assert1(!MD->isFunctionLocal(), in visitNamedMDNode()
506 Assert2(MD.isFunctionLocal() || !N->isFunctionLocal(), in visitMDNode()
511 Assert2(MD.isFunctionLocal(), "Invalid operand for global metadata!", &MD, Op); in visitMDNode()
/external/llvm/include/llvm/IR/
DMetadata.h114 MDNode(LLVMContext &C, ArrayRef<Value*> Vals, bool isFunctionLocal);
125 bool isFunctionLocal);
148 bool isFunctionLocal() const {
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.cpp82 if (MD->isFunctionLocal() && MD->getFunction()) in ValueEnumerator()
252 if (N && N->isFunctionLocal() && N->getFunction()) { in EnumerateMetadata()
275 assert(N->isFunctionLocal() && N->getFunction() && in EnumerateFunctionLocalMetadata()
296 if (O->isFunctionLocal() && O->getFunction()) in EnumerateFunctionLocalMetadata()
484 if (MD->isFunctionLocal() && MD->getFunction()) in incorporateFunction()
493 if (N->isFunctionLocal() && N->getFunction()) in incorporateFunction()
DBitcodeWriter.cpp627 unsigned MDCode = N->isFunctionLocal() ? bitc::METADATA_FN_NODE : in WriteMDNode()
643 if (!N->isFunctionLocal() || !N->getFunction()) { in WriteModuleMetadata()
707 if (N->isFunctionLocal() && N->getFunction() == &F) { in WriteFunctionLocalMetadata()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp56 if (!MD->isFunctionLocal() && (Flags & RF_NoModuleLevelChanges)) in MapValue()