| /external/chromium_org/v8/src/compiler/ |
| pipeline.cc | 2 // Use of this source code is governed by a BSD-style license that can be 10 #include "src/compiler/code-generator.h" 153 Handle<Code> Pipeline::GenerateCode() { 162 return Handle<Code>::null(); 213 // Specialize the code to the context as aggressively as possible. 289 Handle<Code> code = Handle<Code>::null(); local 308 // Generate optimized code. 311 code = GenerateCode(&linkage, &graph, schedule, &source_positions) 351 Handle<Code> code = GenerateCode(linkage, graph, schedule, &source_positions); local [all...] |
| /external/chromium_org/v8/src/ |
| disassembler.cc | 2 // Use of this source code is governed by a BSD-style license that can be 7 #include "src/code-stubs.h" 39 explicit V8NameConverter(Code* code) : code_(code) {} 42 Code* code() const { return code_; } function in class:v8::internal::V8NameConverter 44 Code* code_; 59 // print as code offset, if it seems reasonable 71 // The V8NameConverter is used for well known code, so we can "safely 213 Code* code = Code::GetCodeFromTargetAddress(relocinfo.target_address()); local [all...] |
| type-info.cc | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "src/code-stubs.h" 22 Handle<Code> code, Handle<TypeFeedbackVector> feedback_vector, 25 BuildDictionary(code); 69 Handle<Code> code = Handle<Code>::cast(maybe_code); local 70 return code->is_inline_cache_stub() && code->ic_state() == UNINITIALIZED 87 Handle<Code> code = Handle<Code>::cast(maybe_code); local 122 Handle<Code> code = Handle<Code>::cast(maybe_code); local 186 Handle<Code> code = Handle<Code>::cast(info); local 228 Handle<Code> code = Handle<Code>::cast(object); local [all...] |
| /external/chromium_org/v8/src/ic/ |
| handler-compiler.cc | 2 // Use of this source code is governed by a BSD-style license that can be 16 Handle<Code> PropertyHandlerCompiler::Find(Handle<Name> name, 18 Code::Kind kind, 20 Code::StubType type) { 21 Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder); 23 if (probe->IsCode()) return handle(Code::cast(probe)); 24 return Handle<Code>::null(); 28 Handle<Code> NamedLoadHandlerCompiler::ComputeLoadNonexistent( 36 return Handle<Code>(); 76 Handle<Code> code = GetCodeWithFlags(flags, name); local [all...] |
| ic-compiler.cc | 2 // Use of this source code is governed by a BSD-style license that can be 16 Handle<Code> PropertyICCompiler::Find(Handle<Name> name, 17 Handle<Map> stub_holder, Code::Kind kind, 20 Code::Flags flags = 21 Code::ComputeMonomorphicFlags(kind, extra_state, cache_holder); 23 if (probe->IsCode()) return handle(Code::cast(probe)); 24 return Handle<Code>::null(); 36 Handle<Code> PropertyICCompiler::CompileMonomorphic(Handle<HeapType> type, 37 Handle<Code> handler, 44 Code::StubType stub_type = handler->type() 111 Handle<Code> code = local 139 Handle<Code> code = local 156 Object* code = dictionary->ValueAt(entry); local 180 Handle<Code> code; local 203 Handle<Code> code; local 261 Handle<Code> code = ic_compiler.CompilePolymorphic( local 301 Handle<Code> code = local 310 Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadInitialize"); local 318 Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadPreMonomorphic"); local 327 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreInitialize"); local 335 Handle<Code> code = GetCodeWithFlags(flags, "CompileStorePreMonomorphic"); local 346 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreGeneric"); local 354 Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreMegamorphic"); local 365 Handle<Code> code = GetCodeWithFlags(flags, name); local 367 PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name)); local 412 Handle<Code> code = CompileKeyedStorePolymorphic(receiver_maps, &handlers, local 415 PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, 0)); local [all...] |
| /external/chromium_org/v8/test/cctest/compiler/ |
| test-codegen-deopt.cc | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "src/compiler/code-generator.h" 48 info.SetOptimizing(BailoutId::None(), Handle<Code>(function->code())); 58 virtual ~DeoptCodegenTester() { delete code; } 66 // Initialize the codegen and generate code. 68 code = new v8::internal::compiler::InstructionSequence(linkage, graph, 71 InstructionSelector selector(code, &source_positions); 76 << *code; local 79 RegisterAllocator allocator(code); 84 << *code; local 104 v8::internal::compiler::InstructionSequence* code; member in class:DeoptCodegenTester [all...] |
| test-instruction.cc | 2 // Use of this source code is governed by a BSD-style license that can be 8 #include "src/compiler/code-generator.h" 26 // A testing helper for the register code abstraction. 36 code(NULL) {} 38 ~InstructionTester() { delete code; } 47 TestInstrSeq* code; member in class:InstructionTester 57 code = new TestInstrSeq(&linkage, &graph, &schedule); 87 return code->AddInstruction(instr, block); 115 CHECK_EQ(R.graph.NodeCount(), R.code->ValueCount()); 118 CHECK_EQ(static_cast<int>(blocks->size()), R.code->BasicBlockCount()) [all...] |
| /external/chromium_org/v8/test/cctest/ |
| test-accessors.cc | 6 // * Redistributions of source code must retain the above copyright 452 i::Code* code = frame->LookupCode(); local 453 CHECK(code->IsCode()); 455 CHECK(code->contains(pc));
|
| test-assembler-ia32.cc | 6 // * Redistributions of source code must retain the above copyright 64 Handle<Code> code = isolate->factory()->NewCode( local 65 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); 68 code->Print(os); 70 F2 f = FUNCTION_CAST<F2>(code->entry()); 101 Handle<Code> code = isolate->factory()->NewCode local 142 Handle<Code> code = isolate->factory()->NewCode( local 171 Handle<Code> code = isolate->factory()->NewCode( local 201 Handle<Code> code = isolate->factory()->NewCode( local 229 Handle<Code> code = isolate->factory()->NewCode( local 262 Handle<Code> code = isolate->factory()->NewCode( local 298 Handle<Code> code = isolate->factory()->NewCode( local 352 Handle<Code> code = isolate->factory()->NewCode( local 436 Handle<Code> code = isolate->factory()->NewCode( local 484 Handle<Code> code = isolate->factory()->NewCode( local 547 Handle<Code> code = isolate->factory()->NewCode( local 586 Handle<Code> code = isolate->factory()->NewCode( local [all...] |
| test-assembler-x64.cc | 6 // * Redistributions of source code must retain the above copyright 579 Handle<Code> code = isolate->factory()->NewCode( local 580 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); 582 F0 f = FUNCTION_CAST<F0>(code->entry()); 628 Handle<Code> code = isolate->factory()->NewCode( local 629 desc, Code::ComputeFlags(Code::STUB), Handle<Code>()) 690 Handle<Code> code = isolate->factory()->NewCode( local 727 Handle<Code> code = isolate->factory()->NewCode( local [all...] |
| test-constantpool.cc | 3 // Test constant pool array code. 22 Code* DummyCode(LocalContext* context) { 27 return fun->code(); 54 Code* code = DummyCode(&context); local 58 array->set(3, code->entry()); 59 array->set(4, code); 65 CHECK_EQ(code->entry(), array->get_code_ptr_entry(3)); 66 CHECK_EQ(code, array->get_heap_ptr_entry(4)); 108 Code* small_section_code_ptr = DummyCode(&context) [all...] |
| /external/clang/unittests/ASTMatchers/Dynamic/ |
| RegistryTest.cpp | 167 std::string code = "int i;"; local 168 EXPECT_FALSE(matches(code, HasInitializerSimple)); 169 EXPECT_FALSE(matches(code, HasInitializerComplex)); 171 code = "int i = 1;"; 172 EXPECT_TRUE(matches(code, HasInitializerSimple)); 173 EXPECT_FALSE(matches(code, HasInitializerComplex)); 175 code = "int y(); int i = y();"; 176 EXPECT_TRUE(matches(code, HasInitializerSimple)); 177 EXPECT_TRUE(matches(code, HasInitializerComplex)); 202 std::string Code = "class Y { public: void x(); }; void z() { Y y; y.x(); }" [all...] |
| /external/clang/unittests/Format/ |
| FormatTest.cpp | 26 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length, 29 DEBUG(llvm::errs() << Code << "\n\n"); 31 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 33 std::string Result = applyAllReplacements(Code, Replaces); 40 format(llvm::StringRef Code, const FormatStyle &Style = getLLVMStyle()) { 41 return format(Code, 0, Code.size(), Style); 56 void verifyFormat(llvm::StringRef Code, 58 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)) 8981 std::string code = "#if A\\n" local [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/dex/code/ |
| DalvInsn.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.RegisterSpec; 20 import com.android.dx.rop.code.RegisterSpecList; 21 import com.android.dx.rop.code.SourcePosition; 34 * {@code -1} if not 41 /** {@code non-null;} source position */ 44 /** {@code non-null;} list of register arguments */ 50 * @param position {@code non-null;} source position information 51 * @param dest {@code non-null;} destination register 52 * @param src {@code non-null;} source registe [all...] |
| DalvInsnList.java | 17 package com.android.dx.dex.code; 40 * code block. This may be greater than the largest observed register+ 41 * category because the method this code block exists in may 50 * @param list {@code non-null;} the list to use for elements 52 * this code block requires. 53 * @return {@code non-null;} an appropriately-constructed instance of this 70 * Constructs an instance. All indices initially contain {@code null}. 82 * do that, this will throw {@code NullPointerException}. 84 * @param n {@code >= 0, < size();} which index 85 * @return {@code non-null;} element at that inde [all...] |
| StdCatchBuilder.java | 17 package com.android.dx.dex.code; 19 import com.android.dx.rop.code.BasicBlock; 20 import com.android.dx.rop.code.BasicBlockList; 21 import com.android.dx.rop.code.RopMethod; 35 /** the maximum range of a single catch handler, in code units */ 38 /** {@code non-null;} method to build the list for */ 41 /** {@code non-null;} block output order */ 44 /** {@code non-null;} address objects for each block */ 51 * @param method {@code non-null;} method to build the list for 52 * @param order {@code non-null;} block output orde [all...] |
| SwitchData.java | 17 package com.android.dx.dex.code; 20 import com.android.dx.rop.code.RegisterSpecList; 21 import com.android.dx.rop.code.SourcePosition; 33 * {@code non-null;} address representing the instruction that uses this 38 /** {@code non-null;} sorted list of switch cases (keys) */ 42 * {@code non-null;} corresponding list of code addresses; the branch 52 * unknown ({@code -1}). 54 * @param position {@code non-null;} source position 55 * @param user {@code non-null;} address representing the instruction tha [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
| CatchStructs.java | 19 import com.android.dx.dex.code.CatchHandlerList; 20 import com.android.dx.dex.code.CatchTable; 21 import com.android.dx.dex.code.DalvCode; 32 * handler address) for a particular piece of code. Instances of this 33 * class correspond to a {@code try_item[]} and a 34 * {@code catch_handler_item[]}. 38 * the size of a {@code try_item}: a {@code uint} 39 * and two {@code ushort}s 43 /** {@code non-null;} code that contains the catches * 44 private final DalvCode code; field in class:CatchStructs [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
| AccessFlags.java | 17 package com.android.dx.rop.code; 26 * identical to Java access flags, but {@code ACC_SUPER} isn't 27 * used at all in translated code, and {@code ACC_SYNCHRONIZED} 47 * synchronized method; only valid in dex files for {@code native} 53 * class with new-style {@code invokespecial} for superclass 80 * method with strict floating point ({@code strictfp}) 101 * method was declared {@code synchronized}; has no effect on 150 * @return {@code non-null;} human-oriented string 161 * @return {@code non-null;} human-oriented strin [all...] |
| BasicBlockList.java | 17 package com.android.dx.rop.code; 30 * {@code >= -1;} the count of registers required by this method or 31 * {@code -1} if not yet calculated 36 * Constructs an instance. All indices initially contain {@code null}, 37 * and the first-block label is initially {@code -1}. 48 * Constructs a mutable copy for {@code getMutableCopy()}. 61 * do that, this will throw {@code NullPointerException}. 63 * @param n {@code >= 0, < size();} which index 64 * @return {@code non-null;} element at that index 73 * @param n {@code >= 0, < size();} which inde [all...] |
| Insn.java | 17 package com.android.dx.rop.code; 31 /** {@code non-null;} opcode */ 34 /** {@code non-null;} source position */ 37 /** {@code null-ok;} spec for the result of this instruction, if any */ 40 /** {@code non-null;} specs for all the sources of this instruction */ 46 * @param opcode {@code non-null;} the opcode 47 * @param position {@code non-null;} source position 48 * @param result {@code null-ok;} spec for the result, if any 49 * @param sources {@code non-null;} specs for all the sources 75 * {@code x.equals(y)} is only true if {@code x == y} [all...] |
| LocalVariableExtractor.java | 17 package com.android.dx.rop.code; 23 * Code to figure out which local variables are active at which points in 27 /** {@code non-null;} method being extracted from */ 30 /** {@code non-null;} block list for the method */ 33 /** {@code non-null;} result in-progress */ 36 /** {@code non-null;} work set indicating blocks needing to be processed */ 42 * @param method {@code non-null;} the method to extract from 43 * @return {@code non-null;} the extracted information 53 * @param method {@code non-null;} the method to extract from 72 * @return {@code non-null;} the extracted informatio [all...] |
| RegisterSpecSet.java | 17 package com.android.dx.rop.code; 27 /** {@code non-null;} no-element instance */ 31 * {@code non-null;} array of register specs, where each element is 32 * {@code null} or is an instance whose {@code reg} 37 /** {@code >= -1;} size of the set or {@code -1} if not yet calculated */ 43 * @param maxSize {@code >= 0;} the maximum register number (exclusive) that 129 * @return {@code >= 0;} the maximum size 138 * @return {@code >= 0;} the siz [all...] |
| Rop.java | 17 package com.android.dx.rop.code; 28 /** minimum {@code BRANCH_*} value */ 49 /** maximum {@code BRANCH_*} value */ 56 * {@code non-null;} result type of this operation; {@link Type#VOID} for 61 /** {@code non-null;} types of all the sources of this operation */ 64 /** {@code non-null;} list of possible types thrown by this operation */ 68 * the branchingness of this op; one of the {@code BRANCH_*} 76 /** {@code null-ok;} nickname, if specified (used for debugging) */ 84 * @param result {@code non-null;} result type of this operation; {@link 86 * @param sources {@code non-null;} types of all the sources of this operatio [all...] |
| /external/doclava/src/com/google/doclava/apicheck/ |
| ApiCheck.java | 70 System.exit(report.code); 212 private int code; field in class:ApiCheck.Report 215 private Report(int code, Set<ErrorMessage> errors) { 216 this.code = code; 220 public int code() { method in class:ApiCheck.Report 221 return code;
|