/external/llvm/include/llvm/CodeGen/ |
D | LiveStackAnalysis.h | 55 LiveInterval &getOrCreateInterval(int Slot, const TargetRegisterClass *RC); 57 LiveInterval &getInterval(int Slot) { in getInterval() argument 58 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getInterval() 59 SS2IntervalMap::iterator I = S2IMap.find(Slot); in getInterval() 64 const LiveInterval &getInterval(int Slot) const { in getInterval() argument 65 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getInterval() 66 SS2IntervalMap::const_iterator I = S2IMap.find(Slot); in getInterval() 71 bool hasInterval(int Slot) const { in hasInterval() argument 72 return S2IMap.count(Slot); in hasInterval() 75 const TargetRegisterClass *getIntervalRegClass(int Slot) const { in getIntervalRegClass() argument [all …]
|
D | SlotIndexes.h | 86 enum Slot { LOAD, USE, DEF, STORE, NUM }; 103 Slot getSlot() const { 104 return static_cast<Slot>(lie.getInt()); 131 SlotIndex(const SlotIndex &li, Slot s) 259 Slot s = getSlot(); 279 Slot s = getSlot();
|
/external/llvm/lib/Transforms/Utils/ |
D | DemoteRegToStack.cpp | 40 AllocaInst *Slot; in DemoteRegToStack() local 42 Slot = new AllocaInst(I.getType(), 0, in DemoteRegToStack() 46 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem", in DemoteRegToStack() 70 V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, in DemoteRegToStack() 78 Value *V = new LoadInst(Slot, I.getName()+".reload", VolatileLoads, U); in DemoteRegToStack() 102 new StoreInst(&I, Slot, InsertPt); in DemoteRegToStack() 104 return Slot; in DemoteRegToStack() 118 AllocaInst *Slot; in DemotePHIToStack() local 120 Slot = new AllocaInst(P->getType(), 0, in DemotePHIToStack() 124 Slot = new AllocaInst(P->getType(), 0, P->getName()+".reg2mem", in DemotePHIToStack() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LiveStackAnalysis.cpp | 54 LiveStacks::getOrCreateInterval(int Slot, const TargetRegisterClass *RC) { in getOrCreateInterval() argument 55 assert(Slot >= 0 && "Spill slot indice must be >= 0"); in getOrCreateInterval() 56 SS2IntervalMap::iterator I = S2IMap.find(Slot); in getOrCreateInterval() 58 I = S2IMap.insert(I, std::make_pair(Slot, in getOrCreateInterval() 59 LiveInterval(TargetRegisterInfo::index2StackSlot(Slot), 0.0F))); in getOrCreateInterval() 60 S2RCMap.insert(std::make_pair(Slot, RC)); in getOrCreateInterval() 63 const TargetRegisterClass *OldRC = S2RCMap[Slot]; in getOrCreateInterval() 64 S2RCMap[Slot] = getCommonSubClass(OldRC, RC); in getOrCreateInterval() 75 int Slot = I->first; in print() local 76 const TargetRegisterClass *RC = getIntervalRegClass(Slot); in print()
|
D | LiveIntervalAnalysis.cpp | 1072 bool isSS, int Slot, unsigned Reg) { in tryFoldMemoryOperand() argument 1094 MachineInstr *fmi = isSS ? tii_->foldMemoryOperand(MI, FoldOps, Slot) in tryFoldMemoryOperand() 1098 if (isSS) vrm.addSpillSlotUse(Slot, fmi); in tryFoldMemoryOperand() 1102 if (isSS && !mf_->getFrameInfo()->isImmutableObjectIndex(Slot)) in tryFoldMemoryOperand() 1185 unsigned Slot, int LdSlot, in rewriteInstructionForSpills() argument 1208 int FoldSlot = Slot; in rewriteInstructionForSpills() 1320 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills() 1323 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills() 1329 assert(Slot != VirtRegMap::NO_STACK_SLOT); in rewriteInstructionForSpills() 1330 vrm.assignVirt2StackSlot(NewVReg, Slot); in rewriteInstructionForSpills() [all …]
|
/external/v8/src/ |
D | variables.cc | 60 Slot* Variable::AsSlot() const { in AsSlot() 66 Slot* slot = AsSlot(); in IsStackAllocated() 72 Slot* s = AsSlot(); in IsParameter() 73 return s != NULL && s->type() == Slot::PARAMETER; in IsParameter() 78 Slot* s = AsSlot(); in IsStackLocal() 79 return s != NULL && s->type() == Slot::LOCAL; in IsStackLocal() 84 Slot* s = AsSlot(); in IsContextSlot() 85 return s != NULL && s->type() == Slot::CONTEXT; in IsContextSlot()
|
D | gdb-jit.cc | 61 class Slot { class in v8::internal::BASE_EMBEDDED 63 Slot(Writer* w, uintptr_t offset) : w_(w), offset_(offset) { } in Slot() function in v8::internal::BASE_EMBEDDED::Slot 73 Slot<T> at(int i) { in at() 74 return Slot<T>(w_, offset_ + sizeof(T) * i); in at() 90 Slot<T> SlotAt(uintptr_t offset) { in SlotAt() 92 return Slot<T>(this, offset); in SlotAt() 96 Slot<T> CreateSlotHere() { in CreateSlotHere() 101 Slot<T> CreateSlotsHere(uint32_t count) { in CreateSlotsHere() 160 template<typename T> friend class Slot; 226 void PopulateHeader(Writer::Slot<Header> header, StringTable* strtab); [all …]
|
D | scopes.cc | 178 new Slot(arguments_shadow_, Slot::CONTEXT, arguments_shadow_index)); in Scope() 283 var->set_rewrite(new Slot(var, Slot::PARAMETER, -1)); in Initialize() 316 var->set_rewrite(new Slot(var, Slot::CONTEXT, index)); in LocalLookup() 342 var->set_rewrite(new Slot(var, Slot::CONTEXT, index)); in LocalLookup() 681 var->set_rewrite(new Slot(var, Slot::LOOKUP, -1)); in NonLocal() 919 var->set_rewrite(new Slot(var, Slot::LOCAL, num_stack_slots_++)); in AllocateStackSlot() 924 var->set_rewrite(new Slot(var, Slot::CONTEXT, num_heap_slots_++)); in AllocateHeapSlot() 1026 var->AsSlot()->type() == Slot::CONTEXT)); in AllocateParameterLocals() 1035 var->AsSlot()->type() == Slot::PARAMETER)); in AllocateParameterLocals() 1040 var->set_rewrite(new Slot(var, Slot::PARAMETER, i)); in AllocateParameterLocals() [all …]
|
D | full-codegen.h | 289 int SlotOffset(Slot* slot); 307 void Move(Slot* dst, Register source, Register scratch1, Register scratch2); 308 void Move(Register dst, Slot* source); 313 MemOperand EmitSlotSearch(Slot* slot, Register scratch); 414 void EmitLoadGlobalSlotCheckExtensions(Slot* slot, 417 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, Label* slow); 418 void EmitDynamicLoadFromSlotFastCase(Slot* slot, 566 virtual void Plug(Slot* slot) const = 0; 624 virtual void Plug(Slot* slot) const; 648 virtual void Plug(Slot* slot) const; [all …]
|
D | scopeinfo.cc | 40 Slot* s = (*v)->AsSlot(); in CompareLocal() 41 Slot* t = (*w)->AsSlot(); in CompareLocal() 86 Slot* slot = var->AsSlot(); in ScopeInfo() 89 case Slot::PARAMETER: in ScopeInfo() 93 case Slot::LOCAL: in ScopeInfo() 98 case Slot::CONTEXT: in ScopeInfo() 102 case Slot::LOOKUP: in ScopeInfo() 134 var->AsSlot()->type() == Slot::CONTEXT) { in ScopeInfo()
|
D | prettyprinter.h | 54 virtual void VisitSlot(Slot* node); 89 virtual void VisitSlot(Slot* node); 165 virtual void VisitSlot(Slot* node);
|
D | full-codegen.cc | 405 int FullCodeGenerator::SlotOffset(Slot* slot) { in SlotOffset() 411 case Slot::PARAMETER: in SlotOffset() 414 case Slot::LOCAL: in SlotOffset() 417 case Slot::CONTEXT: in SlotOffset() 418 case Slot::LOOKUP: in SlotOffset() 531 Slot* slot = var->AsSlot(); in VisitDeclarations() 536 if ((slot != NULL && slot->type() == Slot::LOOKUP) || !var->is_global()) { in VisitDeclarations() 552 Slot* slot = var->AsSlot(); in VisitDeclarations() 554 if ((slot == NULL || slot->type() != Slot::LOOKUP) && var->is_global()) { in VisitDeclarations() 1178 Slot* variable_slot = catch_var->AsSlot(); in VisitTryCatchStatement() [all …]
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 123 GlobalVariable *&Slot = CMap[Init]; in runOnModule() local 128 if (Slot == 0 || IsBetterCannonical(*GV, *Slot)) { in runOnModule() 129 Slot = GV; in runOnModule() 155 GlobalVariable *Slot = CMap[Init]; in runOnModule() local 157 if (!Slot || Slot == GV) in runOnModule() 160 if (!Slot->hasUnnamedAddr() && !GV->hasUnnamedAddr()) in runOnModule() 164 Slot->setUnnamedAddr(false); in runOnModule() 167 Replacements.push_back(std::make_pair(GV, Slot)); in runOnModule()
|
/external/chromium/base/threading/ |
D | thread_local_storage_posix.cc | 11 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) in Slot() function in base::ThreadLocalStorage::Slot 17 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize() 29 void ThreadLocalStorage::Slot::Free() { in Free() 37 void* ThreadLocalStorage::Slot::Get() const { in Get() 42 void ThreadLocalStorage::Slot::Set(void* value) { in Set()
|
D | thread_local_storage_win.cc | 59 ThreadLocalStorage::Slot::Slot(TLSDestructorFunc destructor) in Slot() function in base::ThreadLocalStorage::Slot 65 bool ThreadLocalStorage::Slot::Initialize(TLSDestructorFunc destructor) { in Initialize() 82 void ThreadLocalStorage::Slot::Free() { in Free() 89 void* ThreadLocalStorage::Slot::Get() const { in Get() 97 void ThreadLocalStorage::Slot::Set(void* value) { in Set()
|
D | thread_local_storage.h | 29 class BASE_API Slot { 31 explicit Slot(TLSDestructorFunc destructor = NULL); 35 explicit Slot(base::LinkerInitialized x) {} in Slot() function 68 DISALLOW_COPY_AND_ASSIGN(Slot);
|
D | thread_local_storage_unittest.cc | 25 static ThreadLocalStorage::Slot tls_slot(LINKER_INITIALIZED); 63 ThreadLocalStorage::Slot slot; in TEST()
|
/external/v8/src/mips/ |
D | codegen-mips.h | 199 Slot* slot_number, 209 Slot* slot_; 284 TypeInfo type_info(Slot* slot) { in type_info() 290 TypeInfo set_type_info(Slot* slot, TypeInfo info) { in set_type_info() 337 int NumberOfSlot(Slot* slot); 352 virtual void VisitSlot(Slot* node); 377 MemOperand SlotOperand(Slot* slot, Register tmp); 379 MemOperand ContextSlotOperandCheckExtensions(Slot* slot, 406 void LoadFromSlot(Slot* slot, TypeofState typeof_state); 407 void LoadFromGlobalSlotCheckExtensions(Slot* slot, [all …]
|
D | full-codegen-mips.cc | 90 void FullCodeGenerator::EffectContext::Plug(Slot* slot) const { in Plug() 95 void FullCodeGenerator::AccumulatorValueContext::Plug(Slot* slot) const { in Plug() 100 void FullCodeGenerator::StackValueContext::Plug(Slot* slot) const { in Plug() 105 void FullCodeGenerator::TestContext::Plug(Slot* slot) const { in Plug() 246 MemOperand FullCodeGenerator::EmitSlotSearch(Slot* slot, Register scratch) { in EmitSlotSearch() 252 void FullCodeGenerator::Move(Register destination, Slot* source) { in Move() 265 void FullCodeGenerator::Move(Slot* dst, in Move() 312 Slot* slot, in ContextSlotOperandCheckExtensions() 320 Slot* slot, in EmitDynamicLoadFromSlotFastCase() 329 Slot* slot, in EmitLoadGlobalSlotCheckExtensions()
|
D | codegen-mips.cc | 114 Slot* slot, in TypeInfoCodeGenState() 163 int CodeGenerator::NumberOfSlot(Slot* slot) { in NumberOfSlot() 169 MemOperand CodeGenerator::SlotOperand(Slot* slot, Register tmp) { in SlotOperand() 176 Slot* slot, in ContextSlotOperandCheckExtensions() 528 void CodeGenerator::LoadFromSlot(Slot* slot, TypeofState typeof_state) { in LoadFromSlot() 533 void CodeGenerator::LoadFromSlotCheckForArguments(Slot* slot, in LoadFromSlotCheckForArguments() 539 void CodeGenerator::StoreToSlot(Slot* slot, InitState init_state) { in StoreToSlot() 544 void CodeGenerator::LoadFromGlobalSlotCheckExtensions(Slot* slot, in LoadFromGlobalSlotCheckExtensions() 551 void CodeGenerator::EmitDynamicLoadFromSlotFastCase(Slot* slot, in EmitDynamicLoadFromSlotFastCase() 559 void CodeGenerator::VisitSlot(Slot* node) { in VisitSlot()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.h | 233 bool getValueTypePair(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValueTypePair() argument 235 if (Slot == Record.size()) return true; in getValueTypePair() 236 unsigned ValNo = (unsigned)Record[Slot++]; in getValueTypePair() 242 } else if (Slot == Record.size()) { in getValueTypePair() 246 unsigned TypeNo = (unsigned)Record[Slot++]; in getValueTypePair() 250 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValue() argument 252 if (Slot == Record.size()) return true; in getValue() 253 unsigned ValNo = (unsigned)Record[Slot++]; in getValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 267 AggValueSlot Slot = EnsureSlot(E->getType()); in VisitCompoundLiteralExpr() local 268 CGF.EmitAggExpr(E->getInitializer(), Slot); in VisitCompoundLiteralExpr() 448 AggValueSlot Slot = EnsureSlot(E->getRHS()->getType()); in VisitBinAssign() local 449 CGF.EmitAggExpr(E->getRHS(), Slot); in VisitBinAssign() 450 Src = Slot.asRValue(); in VisitBinAssign() 536 AggValueSlot Slot = EnsureSlot(E->getType()); in VisitCXXConstructExpr() local 537 CGF.EmitCXXConstructExpr(E, Slot); in VisitCXXConstructExpr() 546 AggValueSlot Slot = EnsureSlot(T); in VisitCXXScalarValueInitExpr() local 547 EmitNullInitializationToLValue(CGF.MakeAddrLValue(Slot.getAddr(), T)); in VisitCXXScalarValueInitExpr() 552 AggValueSlot Slot = EnsureSlot(T); in VisitImplicitValueInitExpr() local [all …]
|
D | CGTemporaries.cpp | 41 AggValueSlot Slot) { in EmitExprWithCleanups() argument 43 return EmitAnyExpr(E->getSubExpr(), Slot); in EmitExprWithCleanups()
|
/external/chromium/net/base/ |
D | dns_reload_timer.cc | 75 static base::ThreadLocalStorage::Slot tls_index_ ; 82 base::ThreadLocalStorage::Slot DnsReloadTimer::tls_index_(
|
/external/llvm/utils/TableGen/ |
D | DAGISelMatcher.h | 849 unsigned Slot; variable 852 : Matcher(EmitConvertToTarget), Slot(slot) {} in EmitConvertToTargetMatcher() 854 unsigned getSlot() const { return Slot; } in getSlot() 863 return cast<EmitConvertToTargetMatcher>(M)->Slot == Slot; in isEqualImpl() 865 virtual unsigned getHashImpl() const { return Slot; } in getHashImpl() 930 unsigned Slot; variable 934 : Matcher(EmitNodeXForm), Slot(slot), NodeXForm(nodeXForm) {} in EmitNodeXFormMatcher() 936 unsigned getSlot() const { return Slot; } in getSlot() 946 return cast<EmitNodeXFormMatcher>(M)->Slot == Slot && in isEqualImpl() 950 return Slot ^ ((unsigned)(intptr_t)NodeXForm << 4); in getHashImpl()
|