Searched defs:Slot (Results 1 - 25 of 31) sorted by relevance

12

/external/llvm/lib/CodeGen/
H A DLiveStackAnalysis.cpp1 //===-- LiveStackAnalysis.cpp - Live Stack Slot Analysis ------------------===//
31 "Live Stack Slot Analysis", false, false)
34 "Live Stack Slot Analysis", false, false)
60 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { argument
61 assert(Slot >= 0 && "Spill slot indice must be >= 0");
62 SS2IntervalMap::iterator I = S2IMap.find(Slot);
64 I = S2IMap.emplace(std::piecewise_construct, std::forward_as_tuple(Slot),
66 TargetRegisterInfo::index2StackSlot(Slot), 0.0F))
68 S2RCMap.insert(std::make_pair(Slot, RC));
71 const TargetRegisterClass *OldRC = S2RCMap[Slot];
83 int Slot = I->first; local
[all...]
H A DStackColoring.cpp255 unsigned Slot = MO.getIndex(); local
259 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot);
261 DEBUG(dbgs()<<"Found a lifetime marker for slot #"<<Slot<<
266 BlockInfo.Begin.set(Slot);
268 if (BlockInfo.Begin.test(Slot)) {
272 BlockInfo.Begin.reset(Slot);
274 BlockInfo.End.set(Slot);
394 int Slot = Mo.getIndex(); local
395 assert(Slot >= 0 && "Invalid slot");
400 if (!Starts[Slot]
600 int Slot = MO.getIndex(); local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DDemoteRegToStack.cpp32 AllocaInst *Slot; local
34 Slot = new AllocaInst(I.getType(), nullptr,
38 Slot = new AllocaInst(I.getType(), nullptr, I.getName()+".reg2mem",
74 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads,
82 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U);
101 new StoreInst(&I, Slot, InsertPt);
102 return Slot;
115 AllocaInst *Slot; local
117 Slot = new AllocaInst(P->getType(), nullptr,
121 Slot
[all...]
/external/llvm/include/llvm/CodeGen/
H A DLiveStackAnalysis.h1 //===-- LiveStackAnalysis.h - Live Stack Slot Analysis ----------*- C++ -*-===//
58 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC);
60 LiveInterval &getInterval(int Slot) { argument
61 assert(Slot >= 0 && "Spill slot indice must be >= 0");
62 SS2IntervalMap::iterator I = S2IMap.find(Slot);
67 const LiveInterval &getInterval(int Slot) const {
68 assert(Slot >= 0 && "Spill slot indice must be >= 0");
69 SS2IntervalMap::const_iterator I = S2IMap.find(Slot);
74 bool hasInterval(int Slot) const {
75 return S2IMap.count(Slot);
[all...]
H A DMachineModuleInfo.h189 unsigned Slot; member in struct:llvm::MachineModuleInfo::VariableDbgInfo
193 unsigned Slot, const MDLocation *Loc)
194 : Var(Var), Expr(Expr), Slot(Slot), Loc(Loc) {}
442 unsigned Slot, const MDLocation *Loc) {
443 VariableDbgInfos.emplace_back(Var, Expr, Slot, Loc);
192 VariableDbgInfo(const MDLocalVariable *Var, const MDExpression *Expr, unsigned Slot, const MDLocation *Loc) argument
441 setVariableDbgInfo(const MDLocalVariable *Var, const MDExpression *Expr, unsigned Slot, const MDLocation *Loc) argument
H A DSlotIndexes.h1 //===- llvm/CodeGen/SlotIndexes.h - Slot indexes representation -*- C++ -*-===//
95 enum Slot { enum in class:llvm::SlotIndex
138 Slot getSlot() const {
139 return static_cast<Slot>(lie.getInt());
153 SlotIndex(const SlotIndex &li, Slot s) : lie(li.listEntry(), unsigned(s)) {
273 Slot s = getSlot();
293 Slot s = getSlot();
/external/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp148 GlobalVariable *&Slot = CMap[Init]; local
153 if (!Slot || IsBetterCanonical(*GV, *Slot))
154 Slot = GV;
179 GlobalVariable *Slot = CMap[Init]; local
181 if (!Slot || Slot == GV)
184 if (!Slot->hasUnnamedAddr() && !GV->hasUnnamedAddr())
188 Slot->setUnnamedAddr(false);
191 Replacements.push_back(std::make_pair(GV, Slot));
[all...]
/external/llvm/lib/Target/R600/
H A DR600MachineScheduler.cpp350 DEBUG(dbgs() << "New Slot\n");
351 assert (OccupedSlotsMask && "Slot wasn't filled");
359 void R600SchedStrategy::AssignSlot(MachineInstr* MI, unsigned Slot) { argument
374 // Constrains the regclass of DestReg to assign it to Slot
375 switch (Slot) {
391 SUnit *R600SchedStrategy::AttemptFillSlot(unsigned Slot, bool AnyAlu) { argument
393 SUnit *SlotedSU = PopInst(AvailableAlus[IndexToID[Slot]], AnyAlu);
398 AssignSlot(UnslotedSU->getInstr(), Slot);
H A DR600InstrInfo.cpp434 llvm_unreachable("Wrong Swizzle for Trans Slot");
1231 return Ops[Slot]; \
1234 static unsigned getSlotedOps(unsigned Op, unsigned Slot) { argument
1261 MachineBasicBlock &MBB, MachineInstr *MI, unsigned Slot, unsigned DstReg)
1271 getOperandIdx(MI->getOpcode(), getSlotedOps(AMDGPU::OpName::src0, Slot)));
1273 getOperandIdx(MI->getOpcode(), getSlotedOps(AMDGPU::OpName::src1, Slot)));
1294 getSlotedOps(AMDGPU::OpName::pred_sel, Slot)));
1300 getOperandIdx(MI->getOpcode(), getSlotedOps(Operands[i], Slot)));
1260 buildSlotOfVectorInstruction( MachineBasicBlock &MBB, MachineInstr *MI, unsigned Slot, unsigned DstReg) const argument
/external/skia/src/core/
H A DSkTHash.h62 Slot& s = fSlots[index];
82 Slot& s = fSlots[index];
121 Slot& s = fSlots[index];
150 SkAutoTArray<Slot> oldSlots(capacity);
154 const Slot& s = oldSlots[i];
174 struct Slot { struct in class:SkTHashTable
175 Slot() : hash(0) {} function in struct:SkTHashTable::Slot
186 SkAutoTArray<Slot> fSlots;
/external/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypesGeneric.cpp127 unsigned Slot = 0; local
128 for (unsigned e = Vals.size(); e - Slot > 2; Slot += 2, e += 1) {
131 SDValue LHS = Vals[Slot];
132 SDValue RHS = Vals[Slot + 1];
143 Lo = Vals[Slot++];
144 Hi = Vals[Slot++];
/external/llvm/lib/IR/
H A DAttributes.cpp978 AttributeSet::iterator AttributeSet::begin(unsigned Slot) const {
981 return pImpl->begin(Slot);
984 AttributeSet::iterator AttributeSet::end(unsigned Slot) const {
987 return pImpl->end(Slot);
1001 unsigned AttributeSet::getSlotIndex(unsigned Slot) const {
1002 assert(pImpl && Slot < pImpl->getNumAttributes() &&
1003 "Slot # out of range!");
1004 return pImpl->getSlotIndex(Slot);
1007 AttributeSet AttributeSet::getSlotAttributes(unsigned Slot) const {
1008 assert(pImpl && Slot < pImp
1111 unsigned Slot = ~0U; local
1222 unsigned Slot = ~0U; local
[all...]
H A DAsmWriter.cpp830 /// the function incorporation state that affects get*Slot/Create*Slot. Function
1863 int Slot; local
1867 Slot = Machine->getGlobalSlot(GV);
1870 Slot = Machine->getLocalSlot(V);
1875 if (Slot == -1)
1877 Slot = Machine->getLocalSlot(V);
1884 Slot = Machine->getGlobalSlot(GV);
1887 Slot = Machine->getLocalSlot(V);
1892 Slot
1896 Out << Prefix << Slot; local
1908 int Slot = Machine->getMetadataSlot(N); local
1914 Out << '!' << Slot; local
2224 int Slot = Machine.getMetadataSlot(NMD->getOperand(i)); local
2228 Out << '!' << Slot; local
2583 int Slot = Machine.getLocalSlot(BB); local
2585 Out << Slot; local
2980 writeMDNode(unsigned Slot, const MDNode *Node) argument
2981 Out << '!' << Slot << " = "; local
[all...]
H A DConstants.cpp561 ConstantInt *&Slot = pImpl->IntConstants[V]; local
562 if (!Slot) {
565 Slot = new ConstantInt(ITy, V);
567 assert(Slot->getType() == IntegerType::get(Context, V.getBitWidth()));
568 return Slot;
690 ConstantFP *&Slot = pImpl->FPConstants[V]; local
692 if (!Slot) {
709 Slot = new ConstantFP(Ty, V);
712 return Slot;
2457 auto &Slot
2486 StringMap<ConstantDataSequential*>::iterator Slot = local
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsDelaySlotFiller.cpp1 //===-- MipsDelaySlotFiller.cpp - Mips Delay Slot Filler ------------------===//
174 return "Mips Delay Slot Filler";
216 RegDefsUses &RegDU, InspectMemInstr &IM, Iter Slot,
221 bool searchBackward(MachineBasicBlock &MBB, Iter Slot) const;
225 bool searchForward(MachineBasicBlock &MBB, Iter Slot) const;
230 bool searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const;
644 RegDefsUses &RegDU, InspectMemInstr& IM, Iter Slot,
675 unsigned Opcode = (*Slot).getOpcode();
688 bool Filler::searchBackward(MachineBasicBlock &MBB, Iter Slot) const {
696 RegDU.init(*Slot);
643 searchRange(MachineBasicBlock &MBB, IterTy Begin, IterTy End, RegDefsUses &RegDU, InspectMemInstr& IM, Iter Slot, IterTy &Filler) const argument
[all...]
/external/clang/lib/CodeGen/
H A DCGVTables.cpp285 ReturnValueSlot Slot; local
289 Slot = ReturnValueSlot(ReturnValue, ResultType.isVolatileQualified());
293 RValue RV = EmitCall(*CurFnInfo, Callee, Slot, CallArgs, MD, &CallOrInvoke);
300 if (!ResultType->isVoidType() && Slot.isNull())
H A DCGAtomic.cpp1186 AggValueSlot Slot) {
1195 return EmitAtomicLoad(LV, SL, AO, IsVolatile, Slot);
1515 AggValueSlot Slot) {
1185 EmitAtomicLoad(LValue LV, SourceLocation SL, AggValueSlot Slot) argument
1512 EmitAtomicCompareExchange( LValue Obj, RValue Expected, RValue Desired, SourceLocation Loc, llvm::AtomicOrdering Success, llvm::AtomicOrdering Failure, bool IsWeak, AggValueSlot Slot) argument
H A DCGBlocks.cpp825 AggValueSlot Slot = local
830 EmitAggExpr(copyExpr, Slot);
H A DCGExprAgg.cpp549 AggValueSlot Slot = EnsureSlot(E->getType()); local
550 CGF.EmitAggExpr(E->getInitializer(), Slot);
987 AggValueSlot Slot = EnsureSlot(E->getType()); local
988 CGF.EmitCXXConstructExpr(E, Slot);
993 AggValueSlot Slot = EnsureSlot(E->getType()); local
994 CGF.EmitLambdaExpr(E, Slot);
1005 AggValueSlot Slot = EnsureSlot(T); local
1006 EmitNullInitializationToLValue(CGF.MakeAddrLValue(Slot.getAddr(), T));
1011 AggValueSlot Slot = EnsureSlot(T); local
1012 EmitNullInitializationToLValue(CGF.MakeAddrLValue(Slot
1334 CheckAggExprForMemSetUse(AggValueSlot &Slot, const Expr *E, CodeGenFunction &CGF) argument
1383 EmitAggExpr(const Expr *E, AggValueSlot Slot) argument
[all...]
H A DCGExprCXX.cpp775 AggValueSlot Slot local
780 CGF.EmitAggExpr(Init, Slot);
1820 void CodeGenFunction::EmitLambdaExpr(const LambdaExpr *E, AggValueSlot Slot) { argument
1823 MakeAddrLValue(Slot.getAddr(), E->getType(), Slot.getAlignment());
H A DCGClass.cpp475 AggValueSlot Slot = local
481 CGF.EmitAggExpr(Init, Slot);
/external/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp180 unsigned Slot = getSlot(RegNo);
181 return Slot < StackTop && Stack[Slot] == RegNo;
1323 unsigned Slot = getSlot(SrcFP); local
1324 Stack[Slot] = DstFP;
1325 RegMap[DstFP] = Slot;
H A DX86FastISel.cpp2401 const AllocaInst *Slot = cast<AllocaInst>(II->getArgOperand(1)); local
2403 MFI.setStackProtectorIndex(FuncInfo.StaticAllocaMap[Slot]);
2407 if (!X86SelectAddress(Slot, AM)) return false;
/external/llvm/utils/TableGen/
H A DDAGISelMatcher.h909 unsigned Slot; member in class:llvm::EmitConvertToTargetMatcher
912 : Matcher(EmitConvertToTarget), Slot(slot) {}
914 unsigned getSlot() const { return Slot; }
923 return cast<EmitConvertToTargetMatcher>(M)->Slot == Slot;
925 unsigned getHashImpl() const override { return Slot; }
990 unsigned Slot; member in class:llvm::EmitNodeXFormMatcher
994 : Matcher(EmitNodeXForm), Slot(slot), NodeXForm(nodeXForm) {}
996 unsigned getSlot() const { return Slot; }
1006 return cast<EmitNodeXFormMatcher>(M)->Slot
[all...]
/external/llvm/include/llvm/DebugInfo/PDB/
H A DPDBTypes.h313 Slot, member in class:llvm::PDB_Checksum::PDB_Machine::PDB_Lang::PDB_LocType

Completed in 990 milliseconds

12