/external/llvm/lib/Target/AMDGPU/ |
SIShrinkInstructions.cpp | 156 MachineInstr *Def = MRI.getUniqueVRegDef(Reg); 157 if (Def && Def->isMoveImmediate()) { 158 MachineOperand &MovSrc = Def->getOperand(1); 167 Def->eraseFromParent(); 368 // For VOPC instructions, this is replaced by an implicit def of vcc.
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
HexagonMCChecker.cpp | 185 NewDefs[*SRI].push_back(NewSense::Def(PredReg, HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI), 197 NewDefs[*SRI].push_back(NewSense::Def(PredReg, HexagonMCInstrInfo::isPredicatedTrue(MCII, MCI), 562 const NewSense &Def = Defs[i]; 564 if (Use.IsNVJ && (Def.IsFloat || Def.PredReg != 0)) 568 if (Def.PredReg == 0) 573 if (Def.PredReg == Use.PredReg && Def.Cond == Use.Cond) 579 if (Def.PredReg != Use.PredReg || Def.Cond == Use.Cond [all...] |
HexagonMCChecker.h | 91 /// PredReg = predicate register, 0 if use/def not predicated, 111 static NewSense Def(unsigned PR, bool True, bool Float) {
|
/external/llvm/lib/Target/SystemZ/ |
SystemZElimCompare.cpp | 39 : Def(false), Use(false) {} 42 Def |= Other.Def; 47 explicit operator bool() const { return Def || Use; } 51 bool Def; 140 Ref.Def = true; 152 // def operand is dead. 358 (!CCRefs.Def && adjustCCMasksForInstr(MI, Compare, CCUsers))) { 364 if (SrcRefs.Def) 367 if (CCRefs.Use && CCRefs.Def) [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
PeepholeOptimizer.cpp | 209 // Both will be live out of the def MBB anyway. Don't extend live range of 262 /// of the def of A with source of B. e.g. 263 /// %vreg0<def> = VMOVSR %vreg1 264 /// %vreg3<def> = VMOVRS %vreg0 274 unsigned Def = 0; 284 Def = Reg; 292 assert(Def && Src && "Malformed bitcast instruction!"); 319 if (MRI->getRegClass(SrcSrc) != MRI->getRegClass(Def)) 322 MRI->replaceRegWith(Def, SrcSrc); 372 /// and only if the def and use are in the same BB [all...] |
LiveVariables.cpp | 128 assert(MRI->getVRegDef(reg) && "Register use before def!"); 186 /// FindLastPartialDef - Return the last partial def of the specified register. 195 MachineInstr *Def = PhysRegDef[SubReg]; 196 if (!Def) 198 unsigned Dist = DistanceMap[Def]; 201 LastDef = Def; 225 /// HandlePhysRegUse - Turn previous partial def's into read/mod/writes. Add 226 /// implicit defs to a machine instruction if there was an earlier def of its 230 // If there was a previous use or a "full" def all is well. 232 // Otherwise, the last sub-register def implicitly defines this register [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 83 /// that the def may not be the same type as the query, the pointers 88 /// 3. Dependence queries on calls return Def only when they are readonly 92 Def, 120 PointerSumTypeMember<Def, Instruction *>, 132 assert(Inst && "Def requires inst"); 133 return MemDepResult(ValueTy::create<Def>(Inst)); 155 bool isDef() const { return Value.is<Def>(); } 183 case Def: 184 return Value.cast<Def>(); 314 /// Cache storing single nonlocal def for the instruction [all...] |
/external/clang/lib/Lex/ |
Preprocessor.cpp | 342 Def = I->second.findDirectiveAtLoc(Loc, SourceMgr); 343 if (!Def || !Def.getMacroInfo()) 345 if (!Def.getMacroInfo()->isObjectLike()) 347 if (!MacroDefinitionEquals(Def.getMacroInfo(), Tokens)) 349 SourceLocation Location = Def.getLocation(); 614 #include "clang/Basic/TokenKinds.def" [all...] |
/external/llvm/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 74 /// that the def may not be the same type as the query, the pointers 79 /// 3. Dependence queries on calls return Def only when they are readonly 83 Def, 111 PointerSumTypeMember<Def, Instruction *>, 123 assert(Inst && "Def requires inst"); 124 return MemDepResult(ValueTy::create<Def>(Inst)); 146 bool isDef() const { return Value.is<Def>(); } 174 case Def: 175 return Value.cast<Def>(); 428 /// find anything, and Def if it can be assumed that 2 instructions load o [all...] |
/external/llvm/lib/CodeGen/ |
DetectDeadLanes.cpp | 79 /// Given a bitmask \p UsedLanes for the used lanes on a def output of a 86 /// mask to the def and put the instruction into the worklist. 92 /// operand \p Def. 93 LaneBitmask transferDefinedLanes(const MachineOperand &Def, unsigned OpNum, 255 const MachineOperand &Def = MI.getOperand(0); 256 unsigned DefReg = Def.getReg(); 286 // FIXME: PATCHPOINT instructions announce a Def that does not always exist, 290 const MachineOperand &Def = *MI.defs().begin(); 291 unsigned DefReg = Def.getReg(); 301 DefinedLanes = transferDefinedLanes(Def, OpNum, DefinedLanes) [all...] |
LiveVariables.cpp | 114 assert(MBB != &MF->front() && "Can't find reaching def for virtreg"); 133 assert(MRI->getVRegDef(reg) && "Register use before def!"); 190 /// FindLastPartialDef - Return the last partial def of the specified register. 199 MachineInstr *Def = PhysRegDef[SubReg]; 200 if (!Def) 202 unsigned Dist = DistanceMap[Def]; 205 LastDef = Def; 228 /// HandlePhysRegUse - Turn previous partial def's into read/mod/writes. Add 229 /// implicit defs to a machine instruction if there was an earlier def of its 233 // If there was a previous use or a "full" def all is well [all...] |
MachineCSE.cpp | 201 // See a def of Reg (or an alias) before encountering any use, it's 213 /// returns the physical register def by reference if it's the only one and the 247 // Check against PhysRefs even if the def is "dead". 250 // If the def is dead, it's ok. But the def may not marked "dead". That's 389 // Heuristics #1: Don't CSE "cheap" computation if the def is not local or in 542 // Go through implicit defs of CSMI and MI, if a def is not dead at MI, 586 MachineInstr *Def = MRI->getUniqueVRegDef(NewReg); 587 assert(Def != nullptr && "CSEd register has no unique definition?"); 588 Def->clearRegisterDeads(NewReg) [all...] |
/external/llvm/lib/TableGen/ |
TGLexer.h | 46 Bit, Bits, Class, Code, Dag, Def, Foreach, Defm, Field, In, Int, Let, List,
|
/external/llvm/lib/Target/ARM/ |
A15SDOptimizer.cpp | 206 MachineInstr *Def = Op->getParent(); 210 if (DeadInstr.find(Def) != DeadInstr.end()) 217 for (unsigned int j = 0; j < Def->getNumOperands(); ++j) { 218 MachineOperand &MODef = Def->getOperand(j); 230 if (&*II == Def) 241 DEBUG(dbgs() << "Deleting instruction " << *Def << "\n"); 242 DeadInstr.insert(Def); 311 MachineInstr *Def = MRI->getVRegDef(OpReg); 312 if (!Def) 314 if (Def->isImplicitDef() [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 57 /// Def - This is a dependence on the specified instruction which 65 /// that the def may not be the same type as the query, the pointers 70 /// 3. Dependence queries on calls return Def only when they are 74 Def, 106 assert(Inst && "Def requires inst"); 107 return MemDepResult(PairTy(Inst, Def)); 132 bool isDef() const { return Value.getInt() == Def; }
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
TGLexer.h | 44 Bit, Bits, Class, Code, Dag, Def, Defm, Field, In, Int, Let, List,
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
SubtargetEmitter.cpp | 48 Record *Def = DefList[i]; 51 OS << " " << Def->getName();
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Analysis/ |
MemoryDependenceAnalysis.h | 74 /// that the def may not be the same type as the query, the pointers 79 /// 3. Dependence queries on calls return Def only when they are readonly 83 Def, 111 PointerSumTypeMember<Def, Instruction *>, 123 assert(Inst && "Def requires inst"); 124 return MemDepResult(ValueTy::create<Def>(Inst)); 146 bool isDef() const { return Value.is<Def>(); } 174 case Def: 175 return Value.cast<Def>(); 305 /// Cache storing single nonlocal def for the instruction [all...] |