Home
last modified time | relevance | path

Searched refs:Code (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/external/v8/src/ic/
Dic-compiler.h20 static Code* FindPreMonomorphic(Isolate* isolate, Code::Kind kind,
24 static Handle<Code> ComputeLoad(Isolate* isolate, InlineCacheState ic_state,
26 static Handle<Code> ComputeStore(Isolate* isolate, InlineCacheState ic_state,
29 static Handle<Code> ComputeMonomorphic(Code::Kind kind, Handle<Name> name,
31 Handle<Code> handler,
33 static Handle<Code> ComputePolymorphic(Code::Kind kind, TypeHandleList* types,
40 static Handle<Code> ComputeKeyedLoadMonomorphic(Handle<Map> receiver_map);
42 static Handle<Code> ComputeKeyedStoreMonomorphic(
45 static Handle<Code> ComputeKeyedLoadPolymorphic(MapHandleList* receiver_maps);
46 static Handle<Code> ComputeKeyedStorePolymorphic(
[all …]
Dic-compiler.cc16 Handle<Code> PropertyICCompiler::Find(Handle<Name> name, in Find()
17 Handle<Map> stub_holder, Code::Kind kind, in Find()
20 Code::Flags flags = in Find()
21 Code::ComputeMonomorphicFlags(kind, extra_state, cache_holder); in Find()
23 if (probe->IsCode()) return handle(Code::cast(probe)); in Find()
24 return Handle<Code>::null(); in Find()
36 Handle<Code> PropertyICCompiler::CompileMonomorphic(Handle<HeapType> type, in CompileMonomorphic()
37 Handle<Code> handler, in CompileMonomorphic()
44 Code::StubType stub_type = handler->type(); in CompileMonomorphic()
49 Handle<Code> PropertyICCompiler::ComputeMonomorphic( in ComputeMonomorphic()
[all …]
Dic.h80 static void RegisterWeakMapDependency(Handle<Code> stub);
84 static void InvalidateMaps(Code* stub);
112 static bool IsCleared(Code* code) { in IsCleared()
132 Handle<Code> target() const { return target_; } in target()
141 Code* GetCode() const;
143 Code* GetOriginalCode() const;
146 inline void set_target(Code* code);
159 static inline Code* GetTargetAtAddress(Address address,
161 static inline void SetTargetAtAddress(Address address, Code* target,
166 static void PostPatching(Address address, Code* target, Code* old_target);
[all …]
Daccess-compiler.h18 static Builtins::Name MissBuiltin(Code::Kind kind) { in MissBuiltin()
20 case Code::LOAD_IC: in MissBuiltin()
22 case Code::STORE_IC: in MissBuiltin()
24 case Code::KEYED_LOAD_IC: in MissBuiltin()
26 case Code::KEYED_STORE_IC: in MissBuiltin()
37 PropertyAccessCompiler(Isolate* isolate, Code::Kind kind, in PropertyAccessCompiler()
45 Code::Kind kind() const { return kind_; } in kind()
61 static Register* GetCallingConvention(Code::Kind);
68 static void GenerateTailCall(MacroAssembler* masm, Handle<Code> code);
70 Handle<Code> GetCodeWithFlags(Code::Flags flags, const char* name);
[all …]
Dhandler-compiler.h20 static Handle<Code> Find(Handle<Name> name, Handle<Map> map, Code::Kind kind,
21 CacheHolderFlag cache_holder, Code::StubType type);
24 PropertyHandlerCompiler(Isolate* isolate, Code::Kind kind, in PropertyHandlerCompiler()
88 Handle<Code> GetCode(Code::Kind kind, Code::StubType type, Handle<Name> name);
105 : PropertyHandlerCompiler(isolate, Code::LOAD_IC, type, holder, in NamedLoadHandlerCompiler()
110 Handle<Code> CompileLoadField(Handle<Name> name, FieldIndex index);
112 Handle<Code> CompileLoadCallback(Handle<Name> name,
115 Handle<Code> CompileLoadCallback(Handle<Name> name,
118 Handle<Code> CompileLoadConstant(Handle<Name> name, int constant_index);
123 Handle<Code> CompileLoadInterceptor(LookupIterator* it);
[all …]
Dhandler-compiler.cc16 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, in Find()
18 Code::Kind kind, in Find()
20 Code::StubType type) { in Find()
21 Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder); in Find()
23 if (probe->IsCode()) return handle(Code::cast(probe)); in Find()
24 return Handle<Code>::null(); in Find()
28 Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent( in ComputeLoadNonexistent()
36 return Handle<Code>(); in ComputeLoadNonexistent()
61 Handle<Code> handler = PropertyHandlerCompiler::Find( in ComputeLoadNonexistent()
62 cache_name, stub_holder_map, Code::LOAD_IC, flag, Code::FAST); in ComputeLoadNonexistent()
[all …]
Dstub-cache.cc25 static Code::Flags CommonStubCacheChecks(Name* name, Map* map, in CommonStubCacheChecks()
26 Code::Flags flags) { in CommonStubCacheChecks()
27 flags = Code::RemoveTypeAndHolderFromFlags(flags); in CommonStubCacheChecks()
37 DCHECK_EQ(Code::HANDLER, Code::ExtractKindFromFlags(flags)); in CommonStubCacheChecks()
38 STATIC_ASSERT((Code::ICStateField::kMask & 1) == 1); in CommonStubCacheChecks()
41 DCHECK(Code::ExtractTypeFromFlags(flags) == 0); in CommonStubCacheChecks()
42 DCHECK(Code::ExtractCacheHolderFromFlags(flags) == 0); in CommonStubCacheChecks()
48 Code* StubCache::Set(Name* name, Map* map, Code* code) { in Set()
49 Code::Flags flags = CommonStubCacheChecks(name, map, code->flags()); in Set()
54 Code* old_code = primary->value; in Set()
[all …]
Daccess-compiler.cc14 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, in GetCodeWithFlags()
19 Handle<Code> code = factory()->NewCode(desc, flags, masm()->CodeObject()); in GetCodeWithFlags()
31 Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, in GetCodeWithFlags()
42 Handle<Code> code(masm->isolate()->builtins()->builtin(name)); in TailCallBuiltin()
47 Register* PropertyAccessCompiler::GetCallingConvention(Code::Kind kind) { in GetCallingConvention()
48 if (kind == Code::LOAD_IC || kind == Code::KEYED_LOAD_IC) { in GetCallingConvention()
51 DCHECK(kind == Code::STORE_IC || kind == Code::KEYED_STORE_IC); in GetCallingConvention()
Dic-inl.h36 Code* code = GetCode(); in address()
37 Code* original_code = GetOriginalCode(); in address()
84 Code* IC::GetTargetAtAddress(Address address, in GetTargetAtAddress()
90 Code* result = Code::GetCodeFromTargetAddress(target); in GetTargetAtAddress()
96 void IC::SetTargetAtAddress(Address address, Code* target, in SetTargetAtAddress()
100 Code* old_target = GetTargetAtAddress(address, constant_pool); in SetTargetAtAddress()
104 if (old_target->kind() == Code::STORE_IC || in SetTargetAtAddress()
105 old_target->kind() == Code::KEYED_STORE_IC) { in SetTargetAtAddress()
121 void IC::set_target(Code* code) { in set_target()
130 void LoadIC::set_target(Code* code) { in set_target()
[all …]
Dstub-cache.h37 Code* value;
43 Code* Set(Name* name, Map* map, Code* code);
44 Code* Get(Name* name, Map* map, Code::Flags flags);
49 Code::Flags flags, Handle<Context> native_context,
55 void GenerateProbe(MacroAssembler* masm, Code::Flags flags, bool leave_frame,
108 static int PrimaryOffset(Name* name, Code::Flags flags, Map* map) { in PrimaryOffset()
121 (static_cast<uint32_t>(flags) & ~Code::kFlagsNotUsedInLookup); in PrimaryOffset()
130 static int SecondaryOffset(Name* name, Code::Flags flags, int seed) { in SecondaryOffset()
137 (static_cast<uint32_t>(flags) & ~Code::kFlagsNotUsedInLookup); in SecondaryOffset()
/external/lldb/utils/test/
DREADME-lldb-disasm34 [ 0] 0 Code 0x0000000000001420 0x0000000000000000 0x000e0008…
35 [ 1] 1 Code 0x00000000000014c4 0x0000000000000000 0x001e0008…
36 [ 2] 2 Code 0x00000000000014fc 0x0000000000000000 0x000e0008…
37 [ 3] 3 Code 0x0000000000001564 0x0000000000000000 0x000e0008…
38 [ 4] 4 Code 0x0000000000001684 0x0000000000000000 0x000e0008…
39 [ 5] 5 Code 0x0000000000001930 0x0000000000000000 0x000e0000…
40 [ 6] 6 Code 0x0000000000001c30 0x0000000000000000 0x000e0000…
41 [ 7] 7 Code 0x0000000000001c34 0x0000000000000000 0x000e0000…
42 [ 8] 8 Code 0x0000000000001c48 0x0000000000000000 0x000e0000…
43 [ 9] 9 Code 0x0000000000001c4c 0x0000000000000000 0x000e0000…
[all …]
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h63 const std::string &Code, const T &AMatcher, bool ExpectMatch,
82 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, Filename,
84 return testing::AssertionFailure() << "Parsing error in \"" << Code << "\"";
94 << "Could not find match in \"" << Code << "\"";
97 << "Found unexpected match in \"" << Code << "\"";
103 testing::AssertionResult matches(const std::string &Code, const T &AMatcher) { in matches() argument
104 return matchesConditionally(Code, AMatcher, true, "-std=c++11"); in matches()
108 testing::AssertionResult notMatches(const std::string &Code, in notMatches() argument
110 return matchesConditionally(Code, AMatcher, false, "-std=c++11"); in notMatches()
114 testing::AssertionResult matchesObjC(const std::string &Code, in matchesObjC() argument
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DParser.cpp61 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer()
68 : Code(MatcherCode), StartOfLine(MatcherCode), Line(1), Error(Error), in CodeTokenizer()
91 if (CodeCompletionLocation && CodeCompletionLocation <= Code.data()) { in getNextToken()
98 if (Code.empty()) { in getNextToken()
104 switch (Code[0]) { in getNextToken()
107 Result.Text = Code.substr(0, 1); in getNextToken()
108 Code = Code.drop_front(); in getNextToken()
112 Result.Text = Code.substr(0, 1); in getNextToken()
113 Code = Code.drop_front(); in getNextToken()
117 Result.Text = Code.substr(0, 1); in getNextToken()
[all …]
/external/bison/m4/
Dgnulib-comp.m442 # Code from module alloca-opt:
43 # Code from module announce-gen:
44 # Code from module argmatch:
45 # Code from module assert:
46 # Code from module binary-io:
47 # Code from module bitrotate:
48 # Code from module c-ctype:
49 # Code from module c-strcase:
50 # Code from module c-strcaseeq:
51 # Code from module calloc-posix:
[all …]
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp22 void expectRewritten(const std::string &Code, in expectRewritten() argument
30 ASSERT_TRUE(tooling::runToolOnCode(Factory->create(), Code)) in expectRewritten()
31 << "Parsing error in \"" << Code << "\""; in expectRewritten()
33 FileID ID = Context.createInMemoryFile("input.cc", Code); in expectRewritten()
40 std::string Code = "void f() { int i = 1; }"; in TEST() local
43 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
47 std::string Code = "#define A void f() { int i = 1; }\nA"; in TEST() local
50 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
54 std::string Code = "#define A void f() { int i = 1; }"; in TEST() local
57 expectRewritten(Code, Expected, id("id", declStmt()), Callback); in TEST()
[all …]
/external/lzma/Java/SevenZip/Compression/RangeCoder/
DDecoder.java13 int Code; field in Decoder
29 Code = 0; in Init()
32 Code = (Code << 8) | Stream.read(); in Init()
41 int t = ((Code - Range) >>> 31); in DecodeDirectBits()
42 Code -= Range & (t - 1); in DecodeDirectBits()
47 Code = (Code << 8) | Stream.read(); in DecodeDirectBits()
58 if ((Code ^ 0x80000000) < (newBound ^ 0x80000000)) in DecodeBit()
64 Code = (Code << 8) | Stream.read(); in DecodeBit()
72 Code -= newBound; in DecodeBit()
76 Code = (Code << 8) | Stream.read(); in DecodeBit()
/external/v8/src/
Dtype-info.cc22 Handle<Code> code, Handle<TypeFeedbackVector> feedback_vector, in TypeFeedbackOracle()
69 Handle<Code> code = Handle<Code>::cast(maybe_code); in LoadIsUninitialized()
79 Handle<Code> code = Handle<Code>::cast(maybe_code); in StoreIsUninitialized()
87 Handle<Code> code = Handle<Code>::cast(maybe_code); in StoreIsKeyedPolymorphic()
122 Handle<Code> code = Handle<Code>::cast(maybe_code); in GetStoreMode()
123 if (code->kind() == Code::KEYED_STORE_IC) { in GetStoreMode()
186 Handle<Code> code = Handle<Code>::cast(info); in CompareType()
228 Handle<Code> code = Handle<Code>::cast(object); in BinaryType()
229 DCHECK_EQ(Code::BINARY_OP_IC, code->kind()); in BinaryType()
250 Handle<Code> code = Handle<Code>::cast(object); in CountType()
[all …]
Dlog.h235 Code* code, const char* source);
237 Code* code, Name* name);
239 Code* code,
244 Code* code,
248 void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
250 void CodeDisableOptEvent(Code* code, SharedFunctionInfo* shared);
253 void RegExpCodeCreateEvent(Code* code, String* source);
270 void CodeEndLinePosInfoRecordEvent(Code* code, void* jit_handler_data);
295 void CodeDeoptEvent(Code* code);
324 Handle<Code> code);
[all …]
/external/v8/test/cctest/
Dtest-assembler-ia32.cc64 Handle<Code> code = isolate->factory()->NewCode( in TEST()
65 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
101 Handle<Code> code = isolate->factory()->NewCode( in TEST()
102 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
142 Handle<Code> code = isolate->factory()->NewCode( in TEST()
143 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
171 Handle<Code> code = isolate->factory()->NewCode( in TEST()
172 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
201 Handle<Code> code = isolate->factory()->NewCode( in TEST()
202 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
[all …]
Dtest-assembler-x87.cc64 Handle<Code> code = isolate->factory()->NewCode( in TEST()
65 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
101 Handle<Code> code = isolate->factory()->NewCode( in TEST()
102 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
142 Handle<Code> code = isolate->factory()->NewCode( in TEST()
143 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
173 Handle<Code> code = isolate->factory()->NewCode( in TEST()
174 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
221 Handle<Code> code = isolate->factory()->NewCode( in TEST()
222 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); in TEST()
[all …]
/external/lzma/CS/7zip/Compress/RangeCoder/
DRangeCoder.cs126 public uint Code; field in SevenZip.Compression.RangeCoder.Decoder
135 Code = 0; in Init()
138 Code = (Code << 8) | (byte)Stream.ReadByte(); in Init()
156 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize()
165 Code = (Code << 8) | (byte)Stream.ReadByte(); in Normalize2()
172 return Code / (Range /= total); in GetThreshold()
177 Code -= start * Range; in Decode()
185 uint code = Code; in DecodeDirectBits()
209 Code = code; in DecodeDirectBits()
217 if (Code < newBound) in DecodeBit()
[all …]
/external/clang/unittests/Format/
DFormatTestProto.cpp22 static std::string format(llvm::StringRef Code, unsigned Offset, in format() argument
25 DEBUG(llvm::errs() << Code << "\n\n"); in format()
27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format()
28 std::string Result = applyAllReplacements(Code, Replaces); in format()
34 static std::string format(llvm::StringRef Code) { in format() argument
37 return format(Code, 0, Code.size(), Style); in format()
40 static void verifyFormat(llvm::StringRef Code) { in verifyFormat() argument
41 EXPECT_EQ(Code.str(), format(test::messUp(Code))); in verifyFormat()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp37 serialization::StmtCode Code; member in clang::ASTStmtWriter
68 Code = serialization::STMT_NULL; in VisitNullStmt()
78 Code = serialization::STMT_COMPOUND; in VisitCompoundStmt()
94 Code = serialization::STMT_CASE; in VisitCaseStmt()
100 Code = serialization::STMT_DEFAULT; in VisitDefaultStmt()
108 Code = serialization::STMT_LABEL; in VisitLabelStmt()
117 Code = serialization::STMT_ATTRIBUTED; in VisitAttributedStmt()
128 Code = serialization::STMT_IF; in VisitIfStmt()
141 Code = serialization::STMT_SWITCH; in VisitSwitchStmt()
150 Code = serialization::STMT_WHILE; in VisitWhileStmt()
[all …]
/external/lzma/CPP/7zip/Compress/
DRangeCoder.h114 UInt32 Code; variable
121 Code = (Code << 8) | Stream.ReadByte(); in Normalize()
130 Code = 0; in Init()
133 Code = (Code << 8) | Stream.ReadByte(); in Init()
140 return (Code) / ( Range /= total); in GetThreshold()
145 Code -= start * Range; in Decode()
153 UInt32 code = Code; in DecodeDirectBits()
177 Code = code; in DecodeDirectBits()
185 if (Code < newBound) in DecodeBit()
193 Code -= newBound; in DecodeBit()
/external/clang/unittests/AST/
DStmtPrinterTest.cpp70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, in PrintedStmtMatches() argument
79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) in PrintedStmtMatches()
81 << "Parsing error in \"" << Code.str() << "\""; in PrintedStmtMatches()
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX98Matches() argument
106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX98Matches()
110 StringRef Code, in PrintedStmtCXX98Matches() argument
116 return PrintedStmtMatches(Code, in PrintedStmtCXX98Matches()
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch, in PrintedStmtCXX11Matches() argument
129 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); in PrintedStmtCXX11Matches()
133 StringRef Code, in PrintedStmtMSMatches() argument
[all …]

12345678910>>...37