| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| LiveStacks.cpp | 1 //===-- LiveStacks.cpp - Live Stack Slot Analysis -------------------------===// 9 // This file implements the live stack slot analysis pass. It is analogous to 28 "Live Stack Slot Analysis", false, false) 31 "Live Stack Slot Analysis", false, false) 57 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { 58 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 59 SS2IntervalMap::iterator I = S2IMap.find(Slot); 63 std::piecewise_construct, std::forward_as_tuple(Slot), 64 std::forward_as_tuple(Register::index2StackSlot(Slot), 0.0F) [all...] |
| StackColoring.cpp | 16 // 1. Allow merging multiple small slots into a single larger slot at different 85 /// use of stack slot as start of slot lifetime, as opposed to looking 96 STATISTIC(StackSlotMerged, "Number of stack slot merged."); 127 // stack slot corresponding to `z` is always destroyed before either of the 163 // L1) at start, each stack-slot is marked as *out-of-scope*, unless no 164 // lifetime intrinsic refers to that stack slot, in which case 166 // L2) on a `lifetime.start`, a stack slot is marked as *in-scope* and 167 // the stack slot is overwritten with `undef`. 168 // L3) on a `lifetime.end`, a stack slot is marked as *out-of-scope* [all...] |
| MIRPrinter.cpp | 479 assert(DebugVar.Slot >= MFI.getObjectIndexBegin() && 480 DebugVar.Slot < MFI.getObjectIndexEnd() && 482 if (DebugVar.Slot < 0) { // Negative index means fixed objects. 484 YMF.FixedStackObjects[FixedStackObjectsIdx[DebugVar.Slot + 488 auto &Object = YMF.StackObjects[StackObjectsIdx[DebugVar.Slot]]; 915 int Slot = MST.getCurrentFunction() ? MST.getLocalSlot(&V) : -1; 916 MachineOperand::printIRSlotNumber(OS, Slot);
|
| MachineOperand.cpp | 458 Optional<int> Slot; 461 Slot = MST.getLocalSlot(&BB); 465 Slot = CustomMST.getLocalSlot(&BB); 468 if (Slot) 469 MachineOperand::printIRSlotNumber(OS, *Slot); 604 void MachineOperand::printIRSlotNumber(raw_ostream &OS, int Slot) { 605 if (Slot == -1) 608 OS << Slot;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| LiveStacks.h | 1 //===- LiveStacks.h - Live Stack Slot Analysis ------------------*- C++ -*-===// 9 // This file implements the live stack slot analysis pass. It is analogous to 38 /// S2IMap - Stack slot indices to live interval mapping. 42 /// S2RCMap - Stack slot indices to register class mapping. 62 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC); 64 LiveInterval &getInterval(int Slot) { 65 assert(Slot >= 0 && "Spill slot indice must be >= 0"); 66 SS2IntervalMap::iterator I = S2IMap.find(Slot); 67 assert(I != S2IMap.end() && "Interval does not exist for stack slot"); [all...] |
| SlotIndexes.h | 1 //===- llvm/CodeGen/SlotIndexes.h - Slot indexes representation -*- C++ -*-===// 42 /// This class represents an entry in the slot index list held in the 86 enum Slot { 89 /// def slot of PHI-defs. 92 /// Early-clobber register use/def slot. A live range defined at 94 /// Slot_Register. Also used as the kill slot for live ranges tied to an 98 /// Normal register use/def slot. Normal instructions kill and define 99 /// register live ranges at this slot. 102 /// Dead def kill point. Kill slot for a live range that is defined by 112 SlotIndex(IndexListEntry *entry, unsigned slot) [all...] |
| MachineFunction.h | 386 // The Slot can be negative for fixed stack objects. 387 int Slot; 391 int Slot, const DILocation *Loc) 392 : Var(Var), Expr(Expr), Slot(Slot), Loc(Loc) {} 1088 int Slot, const DILocation *Loc) { 1089 VariableDbgInfos.emplace_back(Var, Expr, Slot, Loc);
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
| DemoteRegToStack.cpp | 19 /// Instruction and replaces it with a slot in the stack frame, allocated via 22 /// the alloca inserted to create a stack slot for I. 33 // Create a stack slot to hold the value. 34 AllocaInst *Slot; 36 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 39 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 56 // Change all of the users of the instruction to read from the stack slot. 75 V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", 84 Value *V = new LoadInst(I.getType(), Slot, I.getName() + ".reload", 90 // Insert stores of the computed value into the stack slot. We have to b [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| ConstantMerge.cpp | 185 GlobalVariable *&Slot = CMap[Init]; 190 bool FirstConstantFound = !Slot; 191 if (FirstConstantFound || IsBetterCanonical(*GV, *Slot)) { 192 Slot = GV; 220 GlobalVariable *Slot = Found->second; 221 if (Slot == GV) 224 if (makeMergeable(GV, Slot) == CanMerge::No) 229 << Slot->getName() << "\n"); 230 SameContentReplacements.push_back(std::make_pair(GV, Slot));
|
| WholeProgramDevirt.cpp | 308 // A slot in a set of virtual tables. The TypeID identifies the set of virtual 409 /// The set of call sites for this slot. Used during regular LTO and the 424 /// this slot. 576 WholeProgramDevirtResolution *Res, VTableSlot Slot); 589 // given vtable slot and list of arguments. 590 std::string getGlobalName(VTableSlot Slot, ArrayRef<uint64_t> Args, 596 // definition containing information about the given vtable slot and list of 598 void exportGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name, 600 void exportConstant(VTableSlot Slot, ArrayRef<uint64_t> Args, StringRef Name, 605 Constant *importGlobal(VTableSlot Slot, ArrayRef<uint64_t> Args [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| R600MachineScheduler.h | 87 SUnit *AttemptFillSlot (unsigned Slot, bool AnyAlu); 91 void AssignSlot(MachineInstr *MI, unsigned Slot);
|
| R600MachineScheduler.cpp | 281 // LDS src registers cannot be used in the Trans slot. 341 LLVM_DEBUG(dbgs() << "New Slot\n"); 342 assert (OccupedSlotsMask && "Slot wasn't filled"); 350 void R600SchedStrategy::AssignSlot(MachineInstr* MI, unsigned Slot) { 365 // Constrains the regclass of DestReg to assign it to Slot 366 switch (Slot) { 382 SUnit *R600SchedStrategy::AttemptFillSlot(unsigned Slot, bool AnyAlu) { 384 SUnit *SlotedSU = PopInst(AvailableAlus[IndexToID[Slot]], AnyAlu); 389 AssignSlot(UnslotedSU->getInstr(), Slot);
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| PathTree.h | 151 struct Slot 186 Slot *slots; 248 IS_MVAL_ZERO (Slot& slot, NodeIdx idx) 250 if (slot.vtype == VT_LLONG || slot.vtype == VT_ULLONG) 252 int64_t *tmp = slot.mvals64[idx / CHUNKSZ]; 257 int *tmp = slot.mvals[idx / CHUNKSZ]; 263 ASN_METRIC_VAL (TValue& v, Slot& slot, NodeIdx idx [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| PathTree.h | 151 struct Slot 186 Slot *slots; 248 IS_MVAL_ZERO (Slot& slot, NodeIdx idx) 250 if (slot.vtype == VT_LLONG || slot.vtype == VT_ULLONG) 252 int64_t *tmp = slot.mvals64[idx / CHUNKSZ]; 257 int *tmp = slot.mvals[idx / CHUNKSZ]; 263 ASN_METRIC_VAL (TValue& v, Slot& slot, NodeIdx idx [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/Mips/ |
| MipsDelaySlotFiller.cpp | 1 //===- MipsDelaySlotFiller.cpp - Mips Delay Slot Filler -------------------===// 53 #define DEBUG_TYPE "mips-delay-slot-filler" 145 /// Return true if MI cannot be moved to delay slot. 155 /// Memory instructions are not allowed to move to delay slot if this flag 182 /// memory instruction can be moved to a delay slot. 193 /// disqualify the delay slot candidate between V and values in Uses and 216 StringRef getPassName() const override { return "Mips Delay Slot Filler"; } 226 // instructions to fill delay slot. Without this, -verify-machineinstrs 252 /// This function checks if it is valid to move Candidate to the delay slot 259 /// moved to the delay slot. Returns true on success [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ |
| PDBStringTableBuilder.cpp | 186 uint32_t Slot = (Hash + I) % BucketCount; 187 if (Buckets[Slot] != 0) 189 Buckets[Slot] = Offset;
|
| /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/ |
| LanaiDelaySlotFiller.cpp | 1 //===-- LanaiDelaySlotFiller.cpp - Lanai delay slot filler ----------------===// 24 #define DEBUG_TYPE "delay-slot-filler" 44 StringRef getPassName() const override { return "Lanai Delay Slot Filler"; } 76 MachineBasicBlock::instr_iterator Slot, 90 // There is one or two delay slot per delayed instruction. 102 // generated while all others generated have 1 delay slot. 132 // Record the filler instruction that filled the delay slot. 136 // Bundle the delay slot filler to InstrWithSlot so that the machine 145 MachineBasicBlock::instr_iterator Slot, 150 insertDefsUses(Slot, RegDefs, RegUses) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGExprAgg.cpp | 52 // Calls `Fn` with a valid return value slot, potentially creating a temporary 57 // points to said slot. 665 AggValueSlot Slot = EnsureSlot(E->getType()); 670 !CGF.getLangOpts().CPlusPlus && !Slot.isExternallyDestructed(); 672 Slot.setExternallyDestructed(); 674 CGF.EmitAggExpr(E->getInitializer(), Slot); 679 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), 923 withReturnValueSlot(E, [&](ReturnValueSlot Slot) { 924 return CGF.EmitCallExpr(E, Slot); 929 withReturnValueSlot(E, [&](ReturnValueSlot Slot) { [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| DAGISelMatcher.h | 237 /// ResultNo - The slot number in the RecordedNodes vector that this will be, 266 /// ResultNo - The slot number in the RecordedNodes vector that this will be, 692 /// MatchNumber - This is the recorded nodes slot that contains the node we 699 /// FirstResult - This is the first slot in the RecordedNodes list that the 892 unsigned Slot; 894 EmitConvertToTargetMatcher(unsigned slot) 895 : Matcher(EmitConvertToTarget), Slot(slot) {} 897 unsigned getSlot() const { return Slot; } 906 return cast<EmitConvertToTargetMatcher>(M)->Slot == Slot [all...] |
| DAGISelMatcher.cpp | 272 OS.indent(indent) << "EmitConvertToTarget " << Slot << '\n'; 286 << " Slot=" << Slot << '\n';
|
| /src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| EvalEmitter.cpp | 178 APValue &Slot = R.getArrayInitializedElt(I); 181 TYPE_SWITCH(*T, Ok &= ReturnValue<T>(EP.deref<T>(), Slot)); 183 Ok &= Composite(ElemTy, EP.narrow(), Slot);
|
| /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/ |
| BitcodeReader.cpp | 649 /// Read a value/type pair out of the specified record from slot 'Slot'. 650 /// Increment Slot past the number of slots used in the record. Return true on 652 bool getValueTypePair(const SmallVectorImpl<uint64_t> &Record, unsigned &Slot, 655 if (Slot == Record.size()) return true; 656 unsigned ValNo = (unsigned)Record[Slot++]; 666 if (Slot == Record.size()) 669 unsigned TypeNo = (unsigned)Record[Slot++]; 676 /// Read a value out of the specified record from slot 'Slot'. Increment Slo [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| LegalizeTypesGeneric.cpp | 129 unsigned Slot = 0; 130 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) { 133 SDValue LHS = Vals[Slot]; 134 SDValue RHS = Vals[Slot + 1]; 144 Lo = Vals[Slot++]; 145 Hi = Vals[Slot++]; 170 // Emit a store to the stack slot. 173 // Load the first half from the stack slot. 181 // Load the second half from the stack slot [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| AsmWriter.cpp | 719 // SlotTracker Class: Enumerate slot numbers for unnamed values 721 /// This class provides computation of slot numbers for LLVM Assembly writing. 725 /// ValueMap - A mapping of Values to slot numbers. 729 /// TheModule - The module for which we are holding slot numbers. 732 /// TheFunction - The function for which we are holding slot numbers. 737 /// The summary index for which we are holding slot numbers. 740 /// mMap - The slot map for the module level data. 744 /// fMap - The slot map for the function level data. 752 /// asMap - The slot map for attribute sets. 756 /// ModulePathMap - The slot map for Module paths used in the summary index [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/MIRParser/ |
| MIParser.h | 175 /// Maps from slot numbers to function's unnamed values. 184 const Value *getIRValue(unsigned Slot);
|