Home
last modified time | relevance | path

Searched refs:Ref (Results 1 – 25 of 71) sorted by relevance

123

/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DMetadataTracking.cpp28 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() argument
29 assert(Ref && "Expected live reference"); in track()
30 assert((Owner || *static_cast<Metadata **>(Ref) == &MD) && in track()
33 R->addRef(Ref, Owner); in track()
39 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() argument
40 assert(Ref && "Expected live reference"); in untrack()
42 R->dropRef(Ref); in untrack()
45 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() argument
46 assert(Ref && "Expected live reference"); in retrack()
48 assert(Ref != New && "Expected change"); in retrack()
[all …]
H A DMetadata.cpp122 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) { in addRef() argument
124 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex))) in addRef()
133 void ReplaceableMetadataImpl::dropRef(void *Ref) { in dropRef() argument
134 bool WasErased = UseMap.erase(Ref); in dropRef()
139 void ReplaceableMetadataImpl::moveRef(void *Ref, void *New, in moveRef() argument
141 auto I = UseMap.find(Ref); in moveRef()
178 Metadata *&Ref = *static_cast<Metadata **>(Pair.first); in replaceAllUsesWith() local
179 Ref = MD; in replaceAllUsesWith()
181 MetadataTracking::track(Ref); in replaceAllUsesWith()
523 void UniquableMDNode::handleChangedOperand(void *Ref, Metadata *New) { in handleChangedOperand() argument
[all …]
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DTrackingMDRef.h106 TrackingMDRef Ref; variable
110 explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {} in TypedTrackingMDRef()
112 TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {} in TypedTrackingMDRef()
113 TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {} in TypedTrackingMDRef()
115 Ref = std::move(X.Ref);
119 Ref = X.Ref;
123 T *get() const { return (T *)Ref.get(); } in get()
128 bool operator==(const TypedTrackingMDRef &X) const { return Ref == X.Ref; }
129 bool operator!=(const TypedTrackingMDRef &X) const { return Ref != X.Ref; }
131 void reset() { Ref.reset(); } in reset()
[all …]
H A DMetadataTracking.h53 static bool track(void *Ref, Metadata &MD, Metadata &Owner) { in track() argument
54 return track(Ref, MD, &Owner); in track()
62 static bool track(void *Ref, Metadata &MD, MetadataAsValue &Owner) { in track() argument
63 return track(Ref, MD, &Owner); in track()
70 static void untrack(void *Ref, Metadata &MD);
83 static bool retrack(void *Ref, Metadata &MD, void *New);
94 static bool track(void *Ref, Metadata &MD, OwnerTy Owner);
/minix/external/bsd/flex/dist/doc/
H A Dflex.info82 Ref: option-batch80012
84 Ref: option-7bit81890
85 Ref: option-8bit83194
88 Ref: option-posix84274
89 Ref: option-stack85421
100 Ref: option-c++89168
104 Ref: option-main91048
109 Ref: option-ecs93276
111 Ref: option-read94799
112 Ref: option-full96681
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Object/
H A DCOFFObjectFile.cpp308 DataRefImpl Ref; in getSymbolSection() local
316 const coff_section *Sec = toSec(Ref); in moveSectionNext()
323 const coff_section *Sec = toSec(Ref); in getSectionName()
328 const coff_section *Sec = toSec(Ref); in getSectionAddress()
333 return getSectionSize(toSec(Ref)); in getSectionSize()
338 const coff_section *Sec = toSec(Ref); in getSectionContents()
346 const coff_section *Sec = toSec(Ref); in getSectionAlignment()
351 const coff_section *Sec = toSec(Ref); in isSectionText()
356 const coff_section *Sec = toSec(Ref); in isSectionData()
361 const coff_section *Sec = toSec(Ref); in isSectionBSS()
[all …]
/minix/tests/ipf/expected/
H A Dp326 Dev.0. Group 1020 Ref 2 Flags 0x8000
28 Dev.0. Group 1030 Ref 2 Flags 0x8000
30 Dev.0. Group 2020 Ref 3 Flags 0x4000
32 Dev.0. Group 2040 Ref 2 Flags 0x4000
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp51 unsigned NoModRef, Mod, Ref, ModRef; member in __anonddc9d6cf0111::AAEval
66 NoModRef = Mod = Ref = ModRef = 0; in doInitialization()
289 case AliasAnalysis::Ref: in runOnFunction()
291 ++Ref; break; in runOnFunction()
312 case AliasAnalysis::Ref: in runOnFunction()
314 ++Ref; break; in runOnFunction()
352 unsigned ModRefSum = NoModRef + Mod + Ref + ModRef; in doFinalization()
361 errs() << " " << Ref << " ref responses "; in doFinalization()
362 PrintPercent(Ref, ModRefSum); in doFinalization()
367 << Ref*100/ModRefSum << "%/" << ModRef*100/ModRefSum << "%\n"; in doFinalization()
H A DAliasAnalysis.cpp97 Mask = Ref; in getModRefInfo()
156 Mask = ModRefResult(Mask & Ref); in getModRefInfo()
177 else if (ArgMask == Ref) in getModRefInfo()
206 ((ArgMask & Ref) != NoModRef && (ArgR & Mod) != NoModRef)) in getModRefInfo()
337 return Ref; in getModRefInfo()
447 R = AliasAnalysis::Ref; in callCapturesBefore()
/minix/external/bsd/llvm/dist/llvm/lib/Support/
H A DRegex.cpp154 StringRef Ref = Repl.slice(0, Repl.find_first_not_of("0123456789")); in sub() local
155 Repl = Repl.substr(Ref.size()); in sub()
158 if (!Ref.getAsInteger(10, RefValue) && in sub()
162 *Error = "invalid backreference string '" + Ref.str() + "'"; in sub()
H A DMemoryBuffer.cpp113 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { in getMemBuffer() argument
115 Ref.getBuffer(), Ref.getBufferIdentifier(), RequiresNullTerminator)); in getMemBuffer()
/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGCXX.cpp150 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); in TryEmitDefinitionAsAlias() local
151 llvm::Constant *Aliasee = Ref; in TryEmitDefinitionAsAlias()
152 if (Ref->getType() != AliasType) in TryEmitDefinitionAsAlias()
153 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
173 if (Ref->isDeclaration()) in TryEmitDefinitionAsAlias()
/minix/external/bsd/llvm/dist/llvm/lib/MC/
H A DMCSymbol.cpp48 const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr*>(Value); in AliasedSymbol() local
49 S = &Ref->getSymbol(); in AliasedSymbol()
/minix/external/bsd/llvm/dist/llvm/test/Feature/
H A Dconstexpr.ll59 @S1ptr = global %SType** @S1 ;; Ref. to global S1
60 @S2 = global %SType* @S2c ;; Ref. to constant S2
61 @S3 = global %SAType* @S3c ;; Ref. to constant S3
68 @S1fld1bptr = global float** @S1fld1b ;; Ref. to previous pointer
/minix/external/bsd/llvm/dist/llvm/test/Integer/
H A Dconstexpr_bt.ll61 @S1ptr = global %SType** @S1 ;; Ref. to global S1
62 @S2 = global %SType* @S2c ;; Ref. to constant S2
63 @S3 = global %SAType* @S3c ;; Ref. to constant S3
70 @S1fld1bptr = global float** @S1fld1b ;; Ref. to previous pointer
/minix/external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/
H A Dpassmgr_builder_ocaml.c39 static value alloc_pmbuilder(LLVMPassManagerBuilderRef Ref) { in alloc_pmbuilder() argument
42 PMBuilder_val(Val) = Ref; in alloc_pmbuilder()
/minix/external/bsd/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp140 Reference Ref; in getRegReferences() local
147 Ref.Use = true; in getRegReferences()
148 Ref.IndirectUse |= (MOReg != Reg); in getRegReferences()
151 Ref.Def = true; in getRegReferences()
152 Ref.IndirectDef |= (MOReg != Reg); in getRegReferences()
158 return Ref; in getRegReferences()
/minix/external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/
H A Dcs-cs.ll25 ; CHECK: Just Ref: Ptr: i8* %p <-> %a = call <8 x i16> @llvm.arm.neon.vld1.v8i16(i8* %p, i…
29 ; CHECK: Just Ref: Ptr: i8* %p <-> %b = call <8 x i16> @llvm.arm.neon.vld1.v8i16(i8* %p, i…
64 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
66 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
83 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
86 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %R, i8* %…
104 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
107 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %R, i8* %…
125 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
180 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %P, i8* %…
[all …]
/minix/external/bsd/llvm/dist/llvm/unittests/IR/
H A DConstantsTest.cpp317 GlobalVariable *Ref = in TEST() local
319 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST()
322 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()
337 auto *Ref = in TEST() local
339 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
346 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/IPA/
H A DGlobalsModRef.cpp59 unsigned Effect = MayReadAnyGlobal ? AliasAnalysis::Ref : 0; in getInfoForGlobal()
228 FunctionInfo[Readers[i]].GlobalInfo[I] |= Ref; in AnalyzeGlobals()
392 FunctionEffect |= Ref; in AnalyzeCallGraph()
443 FunctionEffect |= Ref; in AnalyzeCallGraph()
452 FunctionEffect |= Ref; in AnalyzeCallGraph()
/minix/external/bsd/llvm/dist/llvm/lib/DebugInfo/
H A DDWARFDebugInfoEntry.cpp167 uint32_t Ref = formValue.getAsReference(u).getValue(); in dumpAttribute() local
169 if (const DWARFUnit *RefU = findUnitAndExtractFast(DIE, u, &Ref)) in dumpAttribute()
170 if (const char *Ref = DIE.getName(RefU, DINameKind::LinkageName)) in dumpAttribute() local
171 OS << " \"" << Ref << '\"'; in dumpAttribute()
/minix/external/bsd/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp292 const MCSymbolRefExpr *Ref = in getTTypeGlobalReference() local
295 return getTTypeReference(Ref, Encoding, Streamer); in getTTypeGlobalReference()
/minix/external/bsd/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp157 BasicBlock *&Ref = Blocks[L]; in tryUnify() local
159 if (Ref) { in tryUnify()
160 if (Ref == R) return false; in tryUnify()
164 << L << R << Ref; in tryUnify()
168 Ref = R; in tryUnify()
/minix/external/bsd/llvm/dist/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp376 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol() local
378 MachO->getSectionName(Ref, SectionName); in darwinPrintSymbol()
379 StringRef SegmentName = MachO->getSectionFinalSegmentName(Ref); in darwinPrintSymbol()
762 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar() local
764 Obj.getSectionName(Ref, SectionName); in getSymbolNMTypeChar()
765 StringRef SegmentName = Obj.getSectionFinalSegmentName(Ref); in getSymbolNMTypeChar()
866 DataRefImpl Ref = I->getRawDataRefImpl(); in getNsectForSegSect() local
868 Obj->getSectionName(Ref, SectionName); in getNsectForSegSect()
869 StringRef SegmentName = Obj->getSectionFinalSegmentName(Ref); in getNsectForSegSect()
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h233 enum ModRefResult { NoModRef = 0, Ref = 1, Mod = 2, ModRef = 3 }; enumerator
257 OnlyReadsArgumentPointees = ArgumentPointees | Ref,
272 OnlyReadsMemory = Anywhere | Ref,

123