Lines Matching refs:Variable
79 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest)
138 // If Src is a Variable, it returns true if this instruction ends Src's live
143 if (auto *TestVar = llvm::dyn_cast<const Variable>(TestSrc)) {
147 // We've found where the variable is used in the instruction.
169 // and masks in the computation. In the example above, OrigInst has variable e
179 Variable *SpliceDest = SpliceAssn->getDest();
248 // For a variable in SSA form, its live range can end at most once in a
251 // begins and ends twice. ICE only allows a variable to have a single
253 // variable is live-in and live-out but there is a gap in the middle).
273 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount,
281 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest,
304 InstAssign::InstAssign(Cfg *Func, Variable *Dest, Operand *Source)
309 bool InstAssign::isVarAssign() const { return llvm::isa<Variable>(getSrc(0)); }
357 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source)
362 InstExtractElement::InstExtractElement(Cfg *Func, Variable *Dest,
369 InstFcmp::InstFcmp(Cfg *Func, FCond Condition, Variable *Dest, Operand *Source1,
376 InstIcmp::InstIcmp(Cfg *Func, ICond Condition, Variable *Dest, Operand *Source1,
383 InstInsertElement::InstInsertElement(Cfg *Func, Variable *Dest,
392 InstLoad::InstLoad(Cfg *Func, Variable *Dest, Operand *SourceAddr)
397 InstPhi::InstPhi(Cfg *Func, SizeT MaxSrcs, Variable *Dest)
445 if (auto *Var = llvm::dyn_cast<Variable>(getSrc(I))) {
463 Variable *Dest = getDest();
465 Variable *NewSrc = Func->makeVariable(Dest->getType());
480 InstSelect::InstSelect(Cfg *Func, Variable *Dest, Operand *Condition,
497 Variable
498 return llvm::dyn_cast<Variable>(getSrc(2));
501 void InstStore::setRmwBeacon(Variable *Beacon) {
502 Dest = llvm::dyn_cast<Variable>(getData());
569 InstFakeDef::InstFakeDef(Cfg *Func, Variable *Dest, Variable *Src)
576 InstFakeUse::InstFakeUse(Cfg *Func, Variable *Src, uint32_t Weight)
586 InstShuffleVector::InstShuffleVector(Cfg *Func, Variable *Dest, Operand *Src0,
1094 bool checkForRedundantAssign(const Variable *Dest, const Operand *Source) {
1095 const auto *SrcVar = llvm::dyn_cast<const Variable>(Source);