HomeSort by relevance Sort by last modified time
    Searched refs:cast (Results 701 - 725 of 3080) sorted by null

<<21222324252627282930>>

  /external/v8/src/
property-descriptor.cc 46 Map* map = Handle<JSObject>::cast(obj)->map();
53 if (JSObject::cast(map->prototype())->map() !=
67 value = JSObject::FastPropertyAt(Handle<JSObject>::cast(obj),
200 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(obj);
346 Handle<PropertyDescriptorObject> obj = Handle<PropertyDescriptorObject>::cast(
  /external/v8/src/runtime/
runtime-scopes.cc 142 Handle<String> name(String::cast(declarations->get(i)), isolate);
157 Handle<SharedFunctionInfo>::cast(initial_value);
161 FeedbackCell::cast(
256 return DeclareGlobal(isolate, Handle<JSGlobalObject>::cast(holder), name,
262 JSGlobalObject::cast(context_arg->extension()), isolate);
268 JSGlobalObject::cast(context->global_object()), isolate);
286 object = Handle<JSObject>::cast(holder);
542 FixedArray* elements = FixedArray::cast(result->elements());
564 JavaScriptFrame* function_frame = JavaScriptFrame::cast(iterator.frame());
571 ArgumentsAdaptorFrame::cast(iterator.frame())
    [all...]
runtime-debug.cc 138 Handle<IteratorType> iterator = Handle<IteratorType>::cast(object);
180 Handle<JSBoundFunction> function = Handle<JSBoundFunction>::cast(object);
203 Handle<JSMapIterator> iterator = Handle<JSMapIterator>::cast(object);
206 Handle<JSSetIterator> iterator = Handle<JSSetIterator>::cast(object);
210 Handle<JSGeneratorObject>::cast(object);
239 Handle<JSPromise> promise = Handle<JSPromise>::cast(object);
258 Handle<JSProxy> js_proxy = Handle<JSProxy>::cast(object);
277 Handle<JSValue> js_value = Handle<JSValue>::cast(object);
389 Handle<FixedArray>::cast(break_locations));
427 Handle<Script> script(Script::cast(instances->get(i)), isolate)
    [all...]
runtime-strings.cc 76 ConsString* cons = ConsString::cast(*subject);
302 FixedArray* fixed_array = FixedArray::cast(array->elements());
329 FixedArray::cast(array->elements()),
337 FixedArray::cast(array->elements()),
355 Handle<FixedArray> fixed_array(FixedArray::cast(array->elements()), isolate);
379 String* element = String::cast(element_obj);
401 String* first = String::cast(fixed_array->get(0));
414 String* element = String::cast(fixed_array->get(i));
460 String* string = String::cast(elements->get(i + 1));
503 FixedArray* elements = FixedArray::cast(elements_array->elements())
    [all...]
  /external/clang/lib/AST/
ASTImporter.cpp 499 if (cast<BuiltinType>(T1)->getKind() != cast<BuiltinType>(T2)->getKind())
505 cast<ComplexType>(T1)->getElementType(),
506 cast<ComplexType>(T2)->getElementType()))
513 cast<AdjustedType>(T1)->getOriginalType(),
514 cast<AdjustedType>(T2)->getOriginalType()))
520 cast<PointerType>(T1)->getPointeeType(),
521 cast<PointerType>(T2)->getPointeeType()))
527 cast<BlockPointerType>(T1)->getPointeeType(),
528 cast<BlockPointerType>(T2)->getPointeeType())
    [all...]
CXXInheritance.cpp 267 = cast<CXXRecordDecl>(BaseSpec.getType()->castAs<RecordType>()
330 VBase = cast<CXXRecordDecl>(Record->getDecl());
342 HidingClass = cast<CXXRecordDecl>(Record->getDecl());
496 = ++SubobjectCount[cast<CXXRecordDecl>(RD->getCanonicalDecl())];
500 const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->getDecl());
541 = cast<CXXMethodDecl>(OM->first->getCanonicalDecl());
552 CXXMethodDecl *CanonM = cast<CXXMethodDecl>(M->getCanonicalDecl());
674 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
696 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
  /external/clang/lib/CodeGen/
CGExprConstant.cpp 177 // constants are cast to bool, and because clang is not enforcing bitfield
240 llvm::ArrayType *AT = cast<llvm::ArrayType>(LastElt->getType());
497 cast<llvm::ConstantInt>(EltInit));
655 // GCC cast to union extension
693 case CK_Dependent: llvm_unreachable("saw dependent cast!");
782 cast<llvm::ArrayType>(ConvertType(ILE->getType()));
859 llvm::ArrayType *AType = cast<llvm::ArrayType>(ConvertType(ExprType));
    [all...]
CGDebugInfo.cpp 136 auto *Scope = cast<llvm::DIScope>(LexicalBlockStack.back());
156 return getContextDescriptor(cast<Decl>(D->getDeclContext()),
246 cast<ObjCObjectPointerType>(SelfDecl->getType())->getPointeeType();
333 return cast<llvm::DIFile>(V);
721 return cast<llvm::DICompositeType>(T);
849 TypeAliasDecl *AliasDecl = cast<TypeAliasTemplateDecl>(
    [all...]
  /external/v8/src/wasm/
wasm-objects.cc 227 Handle<WasmModuleObject> module_object = Handle<WasmModuleObject>::cast(
267 WasmInstanceObject::cast(maybe_instance->ToWeakHeapObject()),
282 return BreakPointInfo::cast(break_point_info_or_undef)->source_position();
331 BreakPointInfo::cast(breakpoint_infos->get(insert_pos)), isolate);
386 Handle<BreakPointInfo> breakpoint_info = Handle<BreakPointInfo>::cast(obj);
622 Handle<BreakPointInfo>::cast(maybe_breakpoint_info);
629 return Handle<FixedArray>::cast(break_points);
653 Vector<const char>::cast(name_vec));
683 ->NewStringFromOneByte(Vector<uint8_t>::cast(buffer.SubVector(0, length)))
694 return Vector<const uint8_t>::cast(name)
1354 WasmExportedFunction* WasmExportedFunction::cast(Object* object) { function in class:v8::internal::__anon48811::WasmExportedFunction
    [all...]
  /external/clang/lib/Sema/
JumpDiagnostics.cpp 287 IndirectJumpTargets.push_back(cast<AddrLabelExpr>(S)->getLabel());
296 if (cast<IndirectGotoStmt>(S)->getConstantTarget()) {
303 IndirectJumps.push_back(cast<IndirectGotoStmt>(S));
309 if (Stmt *Init = cast<SwitchStmt>(S)->getInit()) {
313 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) {
327 IfStmt *IS = cast<IfStmt>(S);
358 CXXTryStmt *TS = cast<CXXTryStmt>(S);
383 SEHTryStmt *TS = cast<SEHTryStmt>(S);
417 DeclStmt *DS = cast<DeclStmt>(S);
428 ObjCAtTryStmt *AT = cast<ObjCAtTryStmt>(S)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
CallEvent.cpp 349 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl());
478 const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
511 // DynamicTypeInfo when an object is cast, we can't actually be sure the
543 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
614 auto *LambdaOperatorDecl = cast<CXXMethodDecl>(CalleeCtx->getDecl());
625 Params = cast<BlockDecl>(CalleeCtx->getDecl())->parameters();
653 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CalleeCtx->getDecl());
824 auto *RefExpr = cast<ObjCPropertyRefExpr>(Syntactic);
910 ReceiverT = cast<ObjCObjectPointerType>(SupersType);
    [all...]
SValBuilder.cpp 253 return makeLoc(cast<AddrLabelExpr>(E));
260 const ObjCStringLiteral *SL = cast<ObjCStringLiteral>(E);
265 const StringLiteral *SL = cast<StringLiteral>(E);
272 const CharacterLiteral *C = cast<CharacterLiteral>(E);
277 return makeBoolVal(cast<CXXBoolLiteralExpr>(E));
280 const TypeTraitExpr *TE = cast<TypeTraitExpr>(E);
285 return makeIntVal(cast<IntegerLiteral>(E));
288 return makeBoolVal(cast<ObjCBoolLiteralExpr>(E));
294 const CastExpr *CE = cast<CastExpr>(E);
463 // Symbol is truncated so we evaluate it as a cast
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
InlineFunction.cpp 196 EHExceptionInst *lpadExn = cast<EHExceptionInst>(exn->clone());
197 EHSelectorInst *lpadSelector = cast<EHSelectorInst>(selector->clone());
208 cast<BranchInst>(lastDominated->back()).setSuccessor(0, split);
275 PHINode *PHI = cast<PHINode>(I);
279 // FIXME: With the new EH, this if/dyn_cast should be a 'cast'.
323 PHINode *phi = cast<PHINode>(I);
341 Instruction *exn = cast<Instruction>(selector->getArgOperand(0));
371 PHINode *outerPhi = cast<PHINode>(I);
452 PHINode *OuterPHI = cast<PHINode>(I);
734 Type *AggTy = cast<PointerType>(Arg->getType())->getElementType()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
IRBuilder.cpp 62 auto *PT = cast<PointerType>(Ptr->getType());
112 cast<MemSetInst>(CI)->setDestAlignment(Align);
142 cast<AtomicMemSetInst>(CI)->setDestAlignment(Align);
173 auto* MCI = cast<MemCpyInst>(CI);
216 auto *AMCI = cast<AtomicMemCpyInst>(CI);
253 auto *MMI = cast<MemMoveInst>(CI);
473 auto *PtrTy = cast<PointerType>(Ptr->getType());
493 auto *PtrTy = cast<PointerType>(Ptr->getType());
525 auto PtrsTy = cast<VectorType>(Ptrs->getType());
526 auto PtrTy = cast<PointerType>(PtrsTy->getElementType())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
MCExpr.cpp 45 return cast<MCTargetExpr>(this)->printImpl(OS, MAI);
47 OS << cast<MCConstantExpr>(*this).getValue();
51 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this);
71 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this);
86 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this);
674 return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
678 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
682 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
716 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
734 // The cast avoids undefined behavior if the constant is INT64_MIN
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
WasmYAML.cpp 140 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get());
148 sectionMapping(IO, *cast<WasmYAML::LinkingSection>(Section.get()));
152 sectionMapping(IO, *cast<WasmYAML::NameSection>(Section.get()));
156 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get()));
163 sectionMapping(IO, *cast<WasmYAML::TypeSection>(Section.get()));
168 sectionMapping(IO, *cast<WasmYAML::ImportSection>(Section.get()));
173 sectionMapping(IO, *cast<WasmYAML::FunctionSection>(Section.get()));
178 sectionMapping(IO, *cast<WasmYAML::TableSection>(Section.get()));
183 sectionMapping(IO, *cast<WasmYAML::MemorySection>(Section.get()));
188 sectionMapping(IO, *cast<WasmYAML::GlobalSection>(Section.get()))
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 416 Instruction *User = cast<Instruction>(*UI);
526 Instruction *User = cast<Instruction>(Ptr->use_back());
575 unsigned NumBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
577 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue();
610 AllocaInst *OrigAI = cast<AllocaInst>(GetUnderlyingObject(Ptr, &TD, 0));
617 PointerType* SPTy = cast<PointerType>(SrcPtr->getType());
618 PointerType* AIPTy = cast<PointerType>(NewAI->getType());
634 PointerType* DPTy = cast<PointerType>(MTI->getDest()->getType());
635 PointerType* AIPTy = cast<PointerType>(NewAI->getType());
732 IntegerType *NTy = cast<IntegerType>(FromVal->getType())
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
ConstantFold.cpp 50 // If this cast changes element count then we can't handle it here:
73 /// This function determines which opcode to use to fold two constant cast
76 /// @brief Determine if it is valid to fold a cast of a cast
79 unsigned opc, ///< opcode of the second cast constant expression
80 ConstantExpr *Op, ///< the first cast constant expression
81 Type *DstTy ///< desintation type of the first cast
83 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!");
    [all...]
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCOpts.cpp 64 cast<CallInst>(Arg)->getArgOperand(0));
633 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl);
667 CallInst *AutoreleaseRVCI = cast<CallInst>(AutoreleaseRV);
700 // There are gray areas here, as the ability to cast reference-counted
706 DEBUG(dbgs() << "Erasing no-op cast: " << *Inst << "\n");
716 CallInst *CI = cast<CallInst>(Inst);
720 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
734 CallInst *CI = cast<CallInst>(Inst);
739 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
764 CallInst *Call = cast<CallInst>(Inst)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
ObjCARCOpts.cpp 96 cast<CallInst>(Arg)->getArgOperand(0));
635 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl);
682 CallInst *AutoreleaseRVCI = cast<CallInst>(AutoreleaseRV);
744 // There are gray areas here, as the ability to cast reference-counted
750 LLVM_DEBUG(dbgs() << "Erasing no-op cast: " << *Inst << "\n");
760 CallInst *CI = cast<CallInst>(Inst);
764 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
780 CallInst *CI = cast<CallInst>(Inst);
785 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
812 CallInst *Call = cast<CallInst>(Inst)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 339 const SCEVConstant *ConstStride = cast<SCEVConstant>(StoreEv->getOperand(1));
592 cast<SCEVAddRecExpr>(SE->getSCEV(FirstStorePtr));
628 cast<SCEVAddRecExpr>(SE->getSCEV(SecondStorePtr));
694 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr));
736 uint64_t SizeInBytes = cast<ConstantInt>(MSI->getLength())->getZExtValue();
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
CrashDebugger.cpp 155 GlobalVariable *CMGV = cast<GlobalVariable>(VMap[GVs[i]]);
221 auto *OldUsedVal = cast<ConstantArray>(UsedVar->getInitializer());
224 Constant *Op = cast<Constant>(V->stripPointerCasts());
226 Used.push_back(cast<Constant>(V));
248 Function *CMF = cast<Function>(VMap[Funcs[i]]);
282 PointerType *Ty = cast<PointerType>(Alias.getType());
290 PointerType *Ty = cast<PointerType>(I.getType());
391 Blocks.insert(cast<BasicBlock>(VMap[BBs[i]]));
462 Function *F = cast<Function>(GST.lookup(BI.first));
465 BBs.push_back(cast<BasicBlock>(V))
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineCalls.cpp 74 ? cast<ConstantInt>(Elt)->isNegative()
75 : cast<ConstantFP>(Elt)->isNegative();
109 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
111 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
118 // that if you're using memcpy to move one double around, you'll get a cast
126 Type *SrcETy = cast<PointerType>(StrippedDest->getType())
148 CopyMD = cast<MDNode>(M->getOperand(2));
197 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace();
279 auto VT = cast<VectorType>(CDV->getType());
287 auto SubElt = cast<ConstantInt>(CDV->getElementAsConstant(SubEltIdx))
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
lobject.h 168 #define deadvalue(o) check_exp(ttisdeadkey(o), cast(void *, val_(o).gc))
208 val_(io).gc=cast(GCObject *, x_); settt_(io, ctb(x_->tsv.tt)); \
213 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TUSERDATA)); \
218 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTHREAD)); \
223 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \
228 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TCCL)); \
233 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TTABLE)); \
422 #define getstr(ts) cast(const char *, (ts) + 1)
578 (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))))
ltable.c 84 if (cast(unsigned int, i) == 0u - i) /* use unsigned to avoid overflows */
282 t->node = cast(Node *, dummynode); /* use common `dummynode' */
333 luaM_freearray(L, nold, cast(size_t, twoto(oldhsize))); /* free old array */
381 luaM_freearray(L, t->node, cast(size_t, sizenode(t)));
448 if (cast(unsigned int, key-1) < cast(unsigned int, t->sizearray))
513 return cast(TValue *, p);
522 cell = cast(TValue *, p);
539 if (j > cast(unsigned int, MAX_INT)) { /* overflow? */

Completed in 887 milliseconds

<<21222324252627282930>>