/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceInstVarIter.h | 27 /// for (Variable Var : Op.Vars()) 28 /// do_my_thing(Var, Instr) 35 /// FOREACH_VAR_IN_INST(Var, Instr) provides this interface. Its first argument 40 /// FOREACH_VAR_IN_INST(Var, Instr) 41 /// do_my_thing(Var, Instr) 52 /// It is sometimes useful to know Var's index in Instr, which can be obtained 55 /// IndexOfVarInInst(Var) 59 /// IndexOfVarOperandInInst(Var). 81 /// * Var##Index --> the current variable index 96 /// FOREACH_VAR_IN_INST(Var, Inst [all...] |
H A D | IceLiveness.cpp | 50 Variable *Var = *I; in initInternal() local 51 if (VMetadata->isMultiBlock(Var)) { in initInternal() 53 } else if (VMetadata->isSingleBlock(Var)) { in initInternal() 54 SizeT Index = VMetadata->getLocalUseNode(Var)->getIndex(); in initInternal() 82 Variable *Var = *I; in initInternal() local 83 SizeT VarIndex = Var->getIndex(); in initInternal() 85 if (VMetadata->isMultiBlock(Var)) { in initInternal() 87 LiveToVarMap[LiveIndex] = Var; in initInternal() 88 } else if (VMetadata->isSingleBlock(Var)) { in initInternal() 89 SizeT NodeIndex = VMetadata->getLocalUseNode(Var) in initInternal() 102 Variable *Var = *I; initInternal() local [all...] |
H A D | IceRegAlloc.cpp | 32 // Returns true if Var has any definitions within Item's live range. 38 bool overlapsDefs(const Cfg *Func, const Variable *Item, const Variable *Var) { in overlapsDefs() argument 41 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in overlapsDefs() 44 for (const Inst *Def : VMetadata->getLatterDefinitions(Var)) { in overlapsDefs() 51 void dumpDisableOverlap(const Cfg *Func, const Variable *Var, in dumpDisableOverlap() argument 60 Str << "Disabling Overlap due to " << Reason << " " << *Var in dumpDisableOverlap() 61 << " LIVE=" << Var->getLiveRange() << " Defs="; in dumpDisableOverlap() 62 if (const Inst *FirstDef = VMetadata->getFirstDefinition(Var)) in dumpDisableOverlap() 64 const InstDefList &Defs = VMetadata->getLatterDefinitions(Var); in dumpDisableOverlap() 71 void dumpLiveRange(const Variable *Var, cons argument 173 Variable *Var = Vars[VarNum]; livenessValidateIntervals() local 178 Variable *Var = Vars[VarNum]; livenessValidateIntervals() local 248 Variable *Var = Vars[i]; initForInfOnly() local 280 Variable *Var = Vars[VarNum]; initForInfOnly() local 285 Variable *Var = Vars[VarNum]; initForInfOnly() local [all...] |
H A D | IceOperand.cpp | 391 for (Variable *Var : Func->getImplicitArgs()) { in init() 395 Metadata[Var->getIndex()].markUse(Kind, NoInst, EntryNode, IsImplicit); in init() 415 if (auto *Var = llvm::dyn_cast<Variable>(I.getSrc(SrcNum))) { in addNode() 416 SizeT VarNum = Var->getIndex(); in addNode() 434 FOREACH_VAR_IN_INST(Var, I) { in addNode() 435 SizeT VarNum = Var->getIndex(); in addNode() 443 bool VariablesMetadata::isMultiDef(const Variable *Var) const { 445 if (Var->getIsArg()) 447 if (!isTracked(Var)) 449 SizeT VarNum = Var [all...] |
H A D | IceVariableSplitting.cpp | 31 bool isAllocable(const Variable *Var) { in isAllocable() argument 32 if (Var == nullptr) in isAllocable() 34 return !Var->hasReg() && Var->mayHaveReg(); in isAllocable() 38 bool isInf(const Variable *Var) { in isInf() argument 39 if (Var == nullptr) in isInf() 41 return Var->hasReg() || Var->mustHaveReg(); in isInf() 92 /// Get Var's current mapping (or Var itsel in reset() 104 makeLinked(Variable *Var) makeLinked() argument 115 spliceBlockLocalLinkedToChain(Variable *Var) spliceBlockLocalLinkedToChain() argument 141 isInstLastUseOfVar(const Variable *Var, const Inst *Instr) isInstLastUseOfVar() argument [all...] |
H A D | IceTargetLowering.cpp | 543 for (Variable *Var : Func->getVariables()) { in postRegallocSplitting() 544 if (!Var->mustNotHaveReg() && !Var->hasReg()) { in postRegallocSplitting() 545 if (Var->getLiveRange().getNumSegments() > 1) in postRegallocSplitting() 546 SplitCandidates.insert(Var); in postRegallocSplitting() 563 for (auto *Var : SplitCandidates) { in postRegallocSplitting() 564 for (auto &Segment : Var->getLiveRange().getSegments()) { in postRegallocSplitting() 566 Info.Replacing = Var; in postRegallocSplitting() 567 auto *Node = Var->getLiveRange().getNodeForSegment(Segment.first); in postRegallocSplitting() 575 if (auto *Var in postRegallocSplitting() 981 emitGlobal(const VariableDeclaration &Var, const std::string &SectionSuffix) emitGlobal() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DbgEntityHistoryCalculator.cpp | 53 bool DbgValueHistoryMap::startDbgValue(InlinedEntity Var, in startDbgValue() argument 59 auto &Entries = VarEntries[Var]; in startDbgValue() 73 EntryIndex DbgValueHistoryMap::startClobber(InlinedEntity Var, in startClobber() argument 75 auto &Entries = VarEntries[Var]; in startClobber() 111 // Claim that @Var is not described by @RegNo anymore. 113 InlinedEntity Var) { in dropRegDescribedVar() 117 const auto &VarPos = llvm::find(VarSet, Var); in dropRegDescribedVar() 125 // Claim that @Var is now described by @RegNo. 127 InlinedEntity Var) { in addRegDescribedVar() 130 assert(!is_contained(VarSet, Var)); in addRegDescribedVar() 112 dropRegDescribedVar(RegDescribedVarsMap &RegVars, unsigned RegNo, InlinedEntity Var) dropRegDescribedVar() argument 126 addRegDescribedVar(RegDescribedVarsMap &RegVars, unsigned RegNo, InlinedEntity Var) addRegDescribedVar() argument 136 clobberRegEntries(InlinedEntity Var, unsigned RegNo, const MachineInstr &ClobberingInstr, DbgValueEntriesMap &LiveEntries, DbgValueHistoryMap &HistMap) clobberRegEntries() argument 159 handleNewDebugValue(InlinedEntity Var, const MachineInstr &DV, RegDescribedVarsMap &RegVars, DbgValueEntriesMap &LiveEntries, DbgValueHistoryMap &HistMap) handleNewDebugValue() argument 343 const InlinedEntity &Var = VarRangePair.first; dump() local [all...] |
/third_party/libunwind/libunwind/doc/ |
H A D | unw_create_addr_space.tex | 15 \Type{unw\_addr\_space\_t} \Func{unw\_create\_addr\_space}(\Type{unw\_accessors\_t~*}\Var{ap}, \Type{int} \Var{byteorder});\\ 21 passed via the \Var{ap} pointer and the specified \Var{byteorder}. 23 \Var{byteorder} can be set to 0 to request the default byte-order of 25 \Var{byteorder} can be set to any constant defined by 35 routines are specified via the \Var{ap} argument, which points to a 42 identifier (\Var{as}) and the last argument is an arbitrary, 43 application-specified void-pointer (\Var{arg}). When invoking a 44 call-back routine, \Prog{libunwind} sets the \Var{a [all...] |
H A D | unw_reg_states_iterate.tex | 15 \Type{int} \Func{unw\_reg\_states\_iterate}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_reg\_states\_callback}\Var{cb}, \Type{void~*}\Var{token});\\ 21 identified by argument \Var{cp}. The \Var{cb} argument is a pointer 26 \Type{int} (~*\Var{unw\_reg\_states\_callback})(\Type{void~*}\Var{token}, 27 \Type{void~*}\Var{reg\_states\_data}, 28 \Type{size\_t} \Var{reg\_states\_data\_size}, 29 \Type{unw\_word\_t} \Var{star [all...] |
H A D | unw_flush_cache.tex | 15 \Type{void} \Func{unw\_flush\_cache}(\Type{unw\_addr\_space\_t} \Var{as}, \Type{unw\_word\_t} \Var{lo}, \Type{unw\_word\_t} \Var{hi});\\ 20 relates to address-range \Var{lo} to \Var{hi} (non-inclusive) in the 21 target address-space \Var{as}. In addition, all info cached for 22 address-space \Var{as} that is not tied to a particular code-range is 26 \Var{lo} and \Var{hi} should be understood as a hint: 31 As a special case, if arguments \Var{l [all...] |
H A D | unw_init_remote.tex | 15 \Type{int} \Func{unw\_init\_remote}(\Type{unw\_cursor\_t~*}\Var{c}, \Type{unw\_addr\_space\_t~}\Var{as}, \Type{void~*}\Var{arg});\\ 20 pointed to by \Var{c} for unwinding in the address space identified by 21 \Var{as}. The \Var{as} argument can either be set to 22 \Var{unw\_local\_addr\_space} (local address space) or to an arbitrary 25 The \Var{arg} void-pointer tells the address space exactly what entity 26 should be unwound. For example, if \Var{unw\_local\_addr\_space} is 27 passed in \Var{a [all...] |
H A D | unw_get_proc_info.tex | 15 \Type{int} \Func{unw\_get\_proc\_info}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{unw\_proc\_info\_t~*}\Var{pip});\\ 21 identified by argument \Var{cp}. The \Var{pip} argument is a pointer 26 \item[\Type{unw\_word\_t} \Var{start\_ip}] The address of the first 28 (e.g., due to lack of unwind information), the \Var{start\_ip} 30 \item[\Type{unw\_word\_t} \Var{end\_ip}] The address of the first 33 the \Var{end\_ip} member is cleared to 0. \\ 34 \item[\Type{unw\_word\_t} \Var{lsda}] The address of the 38 \item[\Type{unw\_word\_t} \Var{handle [all...] |
H A D | unw_get_proc_info_by_ip.tex | 15 \Type{int} \Func{unw\_get\_proc\_info\_by\_ip}(\Type{unw\_addr\_space\_t~}\Var{as}, \Type{unw\_word\_t~}\Var{ip}, \Type{unw\_proc\_info\_t~*}\Var{pip}, \Type{void~*}\Var{arg});\\ 28 The routine expects the followins arguments: \Var{as} is the 31 \Var{unw\_local\_addr\_space} can be passed for this argument. 32 Argument \Var{ip} is the instruction-pointer for which the procedure 33 info should be looked up and \Var{pip} is a pointer to a structure of 35 Lastly, \Var{arg} is the address-space argument that should be used 39 \Var{un [all...] |
H A D | unw_get_proc_name.tex | 15 \Type{int} \Func{unw\_get\_proc\_name}(\Type{unw\_cursor\_t~*}\Var{cp}, \Type{char~*}\Var{bufp}, \Type{size\_t} \Var{len}, \Type{unw\_word\_t~*}\Var{offp});\\ 21 \Var{cp}. The \Var{bufp} argument is a pointer to a character buffer 22 that is at least \Var{len} bytes long. This buffer is used to return 23 the name of the procedure. The \Var{offp} argument is a pointer to a 25 saved in the stack frame identified by \Var{cp}, relative to the start 29 return a value of 0x80 in the word pointed to by \Var{off [all...] |
/third_party/elfutils/libelf/ |
H A D | common.h | 135 #define CONVERT(Var) \ 136 (Var) = (sizeof (Var) == 1 \ 137 ? (unsigned char) (Var) \ 138 : (sizeof (Var) == 2 \ 139 ? bswap_16 (Var) \ 140 : (sizeof (Var) == 4 \ 141 ? bswap_32 (Var) \ 142 : bswap_64 (Var)))) 144 #define CONVERT_TO(Dst, Var) \ [all...] |
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
H A D | generator_impl_assign_test.cc | 27 Decl(Var("lhs", ty.i32())), in TEST_F() 28 Decl(Var("rhs", ty.i32())), in TEST_F() 47 Decl(Var("lhs", ty.vec3<f32>())), in TEST_F() 48 Decl(Var("rhs", ty.f32())), in TEST_F() 69 Decl(Var("lhs", ty.vec3<f32>())), in TEST_F() 70 Decl(Var("rhs", ty.f32())), in TEST_F() 71 Decl(Var("index", ty.u32())), in TEST_F() 95 Decl(Var("lhs", ty.mat4x2<f32>())), in TEST_F() 96 Decl(Var("rhs", ty.vec2<f32>())), in TEST_F() 117 Decl(Var("lh in TEST_F() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | ASanStackFrameLayout.cpp | 103 for (const auto &Var : Vars) { in ComputeASanStackFrameDescription() 104 std::string Name = Var.Name; in ComputeASanStackFrameDescription() 105 if (Var.Line) { in ComputeASanStackFrameDescription() 107 Name += to_string(Var.Line); in ComputeASanStackFrameDescription() 109 StackDescription << " " << Var.Offset << " " << Var.Size << " " in ComputeASanStackFrameDescription() 123 for (const auto &Var : Vars) { in GetShadowBytes() 124 SB.resize(Var.Offset / Granularity, kAsanStackMidRedzoneMagic); in GetShadowBytes() 126 SB.resize(SB.size() + Var.Size / Granularity, 0); in GetShadowBytes() 127 if (Var in GetShadowBytes() [all...] |
H A D | SSAUpdaterBulk.cpp | 41 unsigned Var = Rewrites.size(); in AddVariable() local 42 LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var << ": initialized with Ty = " in AddVariable() 46 return Var; in AddVariable() 51 void SSAUpdaterBulk::AddAvailableValue(unsigned Var, BasicBlock *BB, Value *V) { in AddAvailableValue() argument 52 assert(Var < Rewrites.size() && "Variable not found!"); in AddAvailableValue() 53 LLVM_DEBUG(dbgs() << "SSAUpdater: Var=" << Var in AddAvailableValue() 56 Rewrites[Var].Defines[BB] = V; in AddAvailableValue() 61 void SSAUpdaterBulk::AddUse(unsigned Var, Us [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SDNodeDbgValue.h | 48 DIVariable *Var; member in llvm::SDDbgValue 59 SDDbgValue(DIVariable *Var, DIExpression *Expr, SDNode *N, unsigned R, in SDDbgValue() argument 61 : Var(Var), Expr(Expr), DL(std::move(dl)), Order(O), IsIndirect(indir) { in SDDbgValue() 68 SDDbgValue(DIVariable *Var, DIExpression *Expr, const Value *C, DebugLoc dl, in SDDbgValue() argument 70 : Var(Var), Expr(Expr), DL(std::move(dl)), Order(O), IsIndirect(false) { in SDDbgValue() 76 SDDbgValue(DIVariable *Var, DIExpression *Expr, unsigned VRegOrFrameIdx, in SDDbgValue() argument 79 : Var(Var), Exp in SDDbgValue() [all...] |
/third_party/skia/tests/ |
H A D | SkSLDSLTest.cpp | 119 Var a(kInt_Type, "a"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 163 Var x(kInt_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 172 Var x(kHalf_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 173 Var y(kFloat_Type, "y"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 179 Var x(kInt_Type, "x"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 571 Var x(kFloat_Type); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 589 Var f22(kFloat2x2_Type, "f22"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 591 Var f32(kFloat3x2_Type, "f32"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 594 Var f42(kFloat4x2_Type, "f42"); in DEF_GPUTEST_FOR_MOCK_CONTEXT() 597 Var f2 in DEF_GPUTEST_FOR_MOCK_CONTEXT() [all...] |
/third_party/skia/third_party/externals/tint/src/resolver/ |
H A D | control_block_validation_test.cc | 33 auto* var = Var("a", ty.f32(), Expr(3.14f)); in TEST_F() 51 auto* var = Var("a", ty.i32(), Expr(2)); in TEST_F() 71 auto* var = Var("a", ty.i32(), Expr(2)); in TEST_F() 93 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 112 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 130 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 150 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 171 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 193 auto* decl_z = Decl(Var("z", ty.i32())); in TEST_F() 215 auto* var = Var(" in TEST_F() [all...] |
H A D | var_let_validation_test.cc | 48 WrapInFunction(Var(Source{{12, 34}}, "a", nullptr)); in TEST_F() 69 auto* i = Var("i", ty.i32(), ast::StorageClass::kNone); in TEST_F() 71 Var(Source{{56, 78}}, "a", ty.pointer<i32>(ast::StorageClass::kFunction), in TEST_F() 108 Var(Source{{3, 3}}, "v", ty.i32(), ast::StorageClass::kNone, Expr(2u))); in TEST_F() 129 Var(Source{{3, 3}}, "v", ty.Of(a), ast::StorageClass::kNone, Expr(2u))); in TEST_F() 141 auto* var_a = Var("a", ty.f32(), priv); in TEST_F() 175 WrapInFunction(Var(Source{{12, 34}}, "v", ty.f32(), ast::StorageClass::kNone, in TEST_F() 186 auto* var_outer = Var("v", ty.f32(), ast::StorageClass::kNone); in TEST_F() 188 Var(Source{{12, 34}}, "v", ty.f32(), ast::StorageClass::kNone); in TEST_F() 202 auto* var_a_float = Var(" in TEST_F() [all...] |
H A D | assignment_validation_test.cc | 55 auto* var = Var("a", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() 76 auto* a = Var("a", ty.array(ty.f32(), 4)); in TEST_F() 77 auto* b = Var("b", ty.array(ty.f32(), "len")); in TEST_F() 96 auto* a = Var("a", ty.array(ty.f32(), 4)); in TEST_F() 97 auto* b = Var("b", ty.array(ty.f32(), "len")); in TEST_F() 114 auto* var = Var("a", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() 127 auto* var = Var("a", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() 144 auto* var = Var("a", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() 158 auto* var = Var("my_var", ty.i32(), ast::StorageClass::kNone, Expr(2)); in TEST_F() 168 auto* var = Var(" in TEST_F() [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/ |
H A D | item_kind.rs | 8 use super::var::Var; 25 Var(Var), 44 ItemKind::Var(..) => "Var", in kind_name() 108 /// Get a reference to this `ItemKind`'s underying `Var`, or `None` if it is 110 pub fn as_var(&self) -> Option<&Var> { in as_var() 112 ItemKind::Var(ref v) => Some(v), in as_var() 122 /// Get a reference to this `ItemKind`'s underying `Var`, or panic if it is 124 pub fn expect_var(&self) -> &Var { in expect_var() [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | variable_test.cc | 26 auto* v = Var("my_var", ty.i32(), StorageClass::kFunction); in TEST_F() 38 auto* v = Var( in TEST_F() 52 auto* v = Var( in TEST_F() 69 b.Var("", b.ty.i32(), StorageClass::kNone); in TEST_F() 79 b1.Var(b2.Sym("x"), b1.ty.f32(), StorageClass::kNone); in TEST_F() 89 b1.Var("x", b1.ty.f32(), StorageClass::kNone, b2.Expr(1.2f)); in TEST_F() 95 auto* var = Var("my_var", ty.i32(), StorageClass::kFunction, nullptr, in TEST_F() 113 auto* var = Var("my_var", ty.i32(), StorageClass::kFunction, nullptr, in TEST_F() 126 auto* var = Var("my_var", ty.i32(), StorageClass::kFunction, nullptr, in TEST_F() 134 auto* var = Var("my_va in TEST_F() [all...] |