Home
last modified time | relevance | path

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

123456

/external/llvm/include/llvm/IR/
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 …]
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);
/external/llvm/lib/IR/
DMetadataTracking.cpp25 bool MetadataTracking::track(void *Ref, Metadata &MD, OwnerTy Owner) { in track() argument
26 assert(Ref && "Expected live reference"); in track()
27 assert((Owner || *static_cast<Metadata **>(Ref) == &MD) && in track()
30 R->addRef(Ref, Owner); in track()
36 void MetadataTracking::untrack(void *Ref, Metadata &MD) { in untrack() argument
37 assert(Ref && "Expected live reference"); in untrack()
39 R->dropRef(Ref); in untrack()
42 bool MetadataTracking::retrack(void *Ref, Metadata &MD, void *New) { in retrack() argument
43 assert(Ref && "Expected live reference"); in retrack()
45 assert(Ref != New && "Expected change"); in retrack()
[all …]
DMetadata.cpp123 void ReplaceableMetadataImpl::addRef(void *Ref, OwnerTy Owner) { in addRef() argument
125 UseMap.insert(std::make_pair(Ref, std::make_pair(Owner, NextIndex))) in addRef()
134 void ReplaceableMetadataImpl::dropRef(void *Ref) { in dropRef() argument
135 bool WasErased = UseMap.erase(Ref); in dropRef()
140 void ReplaceableMetadataImpl::moveRef(void *Ref, void *New, in moveRef() argument
142 auto I = UseMap.find(Ref); in moveRef()
152 assert((OwnerAndIndex.first || *static_cast<Metadata **>(Ref) == &MD) && in moveRef()
180 Metadata *&Ref = *static_cast<Metadata **>(Pair.first); in replaceAllUsesWith() local
181 Ref = MD; in replaceAllUsesWith()
183 MetadataTracking::track(Ref); in replaceAllUsesWith()
[all …]
/external/eigen/Eigen/src/Core/
DRef.h17 …onditional<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,OuterStride<> >::type > class Ref; variable
91 struct traits<Ref<_PlainObjectType, _Options, _StrideType> >
187 template<typename PlainObjectType, int Options, typename StrideType> class Ref
188 : public RefBase<Ref<PlainObjectType, Options, StrideType> >
190 typedef internal::traits<Ref> Traits;
192 inline Ref(const PlainObjectBase<Derived>& expr);
195 typedef RefBase<Ref> Base;
196 EIGEN_DENSE_PUBLIC_INTERFACE(Ref)
201 inline Ref(PlainObjectBase<Derived>& expr)
207 inline Ref(const DenseBase<Derived>& expr)
[all …]
/external/llvm/lib/Object/
DCOFFObjectFile.cpp100 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
102 reinterpret_cast<const coff_symbol_type *>(Ref.p); in toSymb()
116 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
117 const coff_section *Addr = reinterpret_cast<const coff_section*>(Ref.p); in toSec()
132 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
135 const coff_symbol16 *Symb = toSymb<coff_symbol16>(Ref); in moveSymbolNext()
137 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
139 const coff_symbol32 *Symb = toSymb<coff_symbol32>(Ref); in moveSymbolNext()
141 Ref.p = std::min(reinterpret_cast<uintptr_t>(Symb), End); in moveSymbolNext()
147 std::error_code COFFObjectFile::getSymbolName(DataRefImpl Ref, in getSymbolName() argument
[all …]
/external/eigen/test/
Dref.cpp45 typedef Ref<MatrixType> RefMat; in ref_matrix()
46 typedef Ref<DynMatrixType> RefDynMat; in ref_matrix()
47 typedef Ref<const DynMatrixType> ConstRefDynMat; in ref_matrix()
48 typedef Ref<RealDynMatrixType , 0, Stride<Dynamic,Dynamic> > RefRealMatWithStride; in ref_matrix()
95 typedef Ref<VectorType> RefMat; in ref_vector()
96 typedef Ref<DynMatrixType> RefDynMat; in ref_vector()
97 typedef Ref<const DynMatrixType> ConstRefDynMat; in ref_vector()
98 typedef Ref<RealDynMatrixType , 0, InnerStride<> > RefRealMatWithStride; in ref_vector()
99 typedef Ref<DynMatrixType , 0, InnerStride<> > RefMatWithStride; in ref_vector()
151 VERIFY( !(internal::traits<Ref<ConstPlainObjectType> >::Flags & LvalueBit) ); in check_const_correctness()
[all …]
Dnomalloc.cpp187 …typedef Eigen::Ref<const Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, Flag > > Re… in test_reference() typedef
188 …typedef Eigen::Ref<const Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic, TransposeFlag> > Re… in test_reference()
190 Ref r1(m); in test_reference()
191 Ref r2(m.block(rows/3, cols/4, rows/2, cols/2)); in test_reference()
196 VERIFY_RAISES_ASSERT(Ref r6(m.transpose())); in test_reference()
197 VERIFY_RAISES_ASSERT(Ref r7(Scalar(2) * m)); in test_reference()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DInstructionFactory.java44 public interface InstructionFactory<Ref extends Reference> {
50 …Instruction makeInstruction20bc(@Nonnull Opcode opcode, int verificationError, @Nonnull Ref refere… in makeInstruction20bc()
52 Instruction makeInstruction21c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction21c()
58 …n makeInstruction22c(@Nonnull Opcode opcode, int registerA, int registerB, @Nonnull Ref reference); in makeInstruction22c()
64 Instruction makeInstruction31c(@Nonnull Opcode opcode, int registerA, @Nonnull Ref reference); in makeInstruction31c()
69 int registerF, int registerG, @Nonnull Ref reference); in makeInstruction35c()
71 @Nonnull Ref reference); in makeInstruction3rc()
/external/mesa3d/src/mesa/main/
Dstencil.c163 ctx->Stencil.Ref[0] == ref && in _mesa_StencilFuncSeparateATI()
164 ctx->Stencil.Ref[1] == ref) in _mesa_StencilFuncSeparateATI()
169 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref; in _mesa_StencilFuncSeparateATI()
214 ctx->Stencil.Ref[face] == ref) in _mesa_StencilFunc()
218 ctx->Stencil.Ref[face] = ref; in _mesa_StencilFunc()
234 ctx->Stencil.Ref[0] == ref && in _mesa_StencilFunc()
235 ctx->Stencil.Ref[1] == ref) in _mesa_StencilFunc()
239 ctx->Stencil.Ref[0] = ctx->Stencil.Ref[1] = ref; in _mesa_StencilFunc()
503 ctx->Stencil.Ref[0] = ref; in _mesa_StencilFuncSeparate()
509 ctx->Stencil.Ref[1] = ref; in _mesa_StencilFuncSeparate()
[all …]
/external/regex-re2/re2/testing/
Dregexp_test.cc22 CHECK_EQ(re->Ref(), 1); in TEST()
34 CHECK_EQ(x->Ref(), 1 + v.size()) << x->Ref(); in TEST()
38 CHECK_EQ(x->Ref(), 1) << x->Ref(); in TEST()
/external/llvm/lib/Analysis/
DAliasAnalysisEvaluator.cpp51 unsigned NoModRef, Mod, Ref, ModRef; member in __anon866283a60111::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()
DAliasAnalysis.cpp114 Mask = Ref; in getModRefInfo()
173 Mask = ModRefResult(Mask & Ref); in getModRefInfo()
194 else if (ArgMask == Ref) in getModRefInfo()
223 ((ArgMask & Ref) != NoModRef && (ArgR & Mod) != NoModRef)) in getModRefInfo()
354 return Ref; in getModRefInfo()
468 R = AliasAnalysis::Ref; in callCapturesBefore()
/external/llvm/lib/Support/
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 '" + Twine(Ref) + "'").str(); in sub()
/external/eigen/failtest/
Dref_3.cpp6 void call_ref(Ref<VectorXf> a) { } in call_ref()
8 void call_ref(const Ref<const VectorXf> &a) { } in call_ref()
/external/eigen/Eigen/src/SparseLU/
DSparseLUImpl.h26 typedef Ref<Matrix<Scalar,Dynamic,1> > BlockScalarVector;
27 typedef Ref<Matrix<Index,Dynamic,1> > BlockIndexVector;
45Ref<IndexVector> repfnz_col, IndexVector& xprune, Ref<IndexVector> marker, IndexVector& parent,
/external/clang/lib/CodeGen/
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()
/external/llvm/test/Integer/
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
/external/llvm/test/Feature/
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
/external/llvm/lib/MC/
DMCSymbol.cpp48 const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr*>(Value); in AliasedSymbol() local
49 S = &Ref->getSymbol(); in AliasedSymbol()
/external/llvm/lib/Target/SystemZ/
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()
/external/llvm/test/Analysis/BasicAA/
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* %…
128 ; CHECK: Just Ref: Ptr: i8* %Q <-> tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %R, i8* %…
[all …]
/external/llvm/bindings/ocaml/transforms/passmgr_builder/
Dpassmgr_builder_ocaml.c39 static value alloc_pmbuilder(LLVMPassManagerBuilderRef Ref) { in alloc_pmbuilder() argument
42 PMBuilder_val(Val) = Ref; in alloc_pmbuilder()
/external/llvm/unittests/IR/
DConstantsTest.cpp321 GlobalVariable *Ref = in TEST() local
323 ASSERT_EQ(Int1, Ref->getInitializer()); in TEST()
326 ASSERT_EQ(Int2, Ref->getInitializer()); in TEST()
341 auto *Ref = in TEST() local
343 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
350 ASSERT_EQ(GEP, Ref->getInitializer()); in TEST()
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h241 enum ModRefResult { NoModRef = 0, Ref = 1, Mod = 2, ModRef = 3 }; enumerator
265 OnlyReadsArgumentPointees = ArgumentPointees | Ref,
280 OnlyReadsMemory = Anywhere | Ref,
376 else if (MRB & Ref) in getModRefInfo()
377 return Ref; in getModRefInfo()

123456