/external/tensorflow/tensorflow/python/training/ |
adagrad.py | 88 return math_ops.cast(init_constant, dtype) 101 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype), 110 math_ops.cast(self._learning_rate_tensor, grad.dtype.base_dtype), 119 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype), 129 math_ops.cast(self._learning_rate_tensor, grad.dtype),
|
/external/v8/src/builtins/ |
builtins-trace.cc | 37 memcpy(buf_, Handle<SeqOneByteString>::cast(string)->GetChars(), len); 105 *GetCategoryGroupEnabled(isolate, Handle<String>::cast(category))); 119 GetCategoryGroupEnabled(isolate, Handle<String>::cast(category)); 150 Handle<String> name_str = Handle<String>::cast(name_arg); 177 new JsonTraceValue(isolate, Handle<String>::cast(result)));
|
builtins-function.cc | 117 function = Handle<JSFunction>::cast(result); 131 Handle<JSReceiver>::cast(unchecked_new_target); 175 Handle<JSFunction> func = Handle<JSFunction>::cast(maybe_func); 177 handle(Script::cast(func->shared()->script()), isolate); 194 Handle<JSFunction> func = Handle<JSFunction>::cast(maybe_func); 196 handle(Script::cast(func->shared()->script()), isolate); 273 Name::ToFunctionName(isolate, Handle<String>::cast(target_name))); 299 return *JSBoundFunction::ToString(Handle<JSBoundFunction>::cast(receiver)); 302 return *JSFunction::ToString(Handle<JSFunction>::cast(receiver)); 307 JSReceiver::cast(*receiver)->map()->is_callable()) [all...] |
builtins-reflect.cc | 44 isolate, Handle<JSReceiver>::cast(target), name, &desc, kDontThrow); 68 Handle<JSReceiver>::cast(target), name, LanguageMode::kSloppy); 93 Handle<JSReceiver>::cast(target))); 116 isolate, Handle<JSReceiver>::cast(target), name, &desc); 134 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(target); 153 JSReceiver::IsExtensible(Handle<JSReceiver>::cast(target)); 174 KeyAccumulator::GetKeys(Handle<JSReceiver>::cast(target), 194 Handle<JSReceiver>::cast(target), kDontThrow); 219 isolate, receiver, name, Handle<JSReceiver>::cast(target)); 246 Handle<JSReceiver>::cast(target), proto, true, kDontThrow) [all...] |
/external/v8/src/ |
prototype-inl.h | 50 Map* map = JSReceiver::cast(object_)->map(); 66 Map* map = JSReceiver::cast(*handle_)->map(); 77 Handle<JSObject>::cast(handle_)); 97 Map* map = HeapObject::cast(object)->map(); 136 JSProxy::GetPrototype(Handle<JSProxy>::cast(handle_));
|
json-stringifier.cc | 230 Handle<JSReceiver>::cast(replacer)), 243 Handle<Object> value(Handle<JSValue>::cast(element)->value(), isolate_); 258 replacer_function_ = Handle<JSReceiver>::cast(replacer); 267 Handle<Object> value(Handle<JSValue>::cast(gap)->value(), isolate_); 278 Handle<String> gap_string = Handle<String>::cast(gap); 354 FixedArray* elements = FixedArray::cast(stack_->elements()); 355 return Handle<JSReceiver>(JSReceiver::cast(elements->get(length - 1)), 370 FixedArray* elements = FixedArray::cast(stack_->elements()); 382 FixedArray::cast(stack_->elements())->set(length, *object); 413 return SerializeSmi(Smi::cast(*object)) [all...] |
objects.cc | 145 Handle<Map> map(HeapObject::cast(this)->map(), isolate); 158 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); 164 Handle<HeapObject>::cast(object)->map()->GetConstructorFunctionIndex(); 179 JSFunction::cast(native_context->get(constructor_function_index)), 183 Handle<JSValue>::cast(result)->set_value(*object); 191 if (object->IsJSReceiver()) return Handle<JSReceiver>::cast(object); 207 return String::ToNumber(isolate, Handle<String>::cast(input)); 210 return Oddball::ToNumber(isolate, Handle<Oddball>::cast(input)); 223 isolate, input, JSReceiver::ToPrimitive(Handle<JSReceiver>::cast(input), 255 if (input->IsSmi()) return handle(Smi::cast(*input)->ToUint32Smi(), isolate) [all...] |
feedback-vector.cc | 48 Symbol* symbol = Symbol::cast(heap_object); 286 Handle<FeedbackVector> result = Handle<FeedbackVector>::cast(vector); 300 Handle<ArrayList> list = Handle<ArrayList>::cast( 339 Code* code = Code::cast(slot->GetHeapObject()); 389 WeakFixedArray::cast(heap_object)->length() == length) { 390 return handle(WeakFixedArray::cast(heap_object), isolate); 402 WeakFixedArray::cast(heap_object)->length() == length) { 403 return handle(WeakFixedArray::cast(heap_object), isolate); 604 WeakFixedArray* extra_array = WeakFixedArray::cast(extra); 760 Map::cast(*feedback)->is_deprecated()) [all...] |
api-natives.cc | 54 isolate, Handle<FunctionTemplateInfo>::cast(data), maybe_name); 56 return InstantiateObject(isolate, Handle<ObjectTemplateInfo>::cast(data), 68 !FunctionTemplateInfo::cast(*getter)->do_not_cache()); 70 !FunctionTemplateInfo::cast(*setter)->do_not_cache()); 76 Handle<FunctionTemplateInfo>::cast(getter)), 83 Handle<FunctionTemplateInfo>::cast(setter)), 129 JSObject::MigrateToMap(Handle<JSObject>::cast(object), new_map); 194 max_number_of_properties += TemplateList::cast(props)->length(); 218 Handle<AccessorInfo> accessor(AccessorInfo::cast(array->get(i)), isolate); 219 Handle<Name> name(Name::cast(accessor->name()), isolate) [all...] |
/external/llvm/include/llvm/IR/ |
DerivedTypes.h | 87 /// Methods for support type inquiry through isa, cast, and dyn_cast. 94 return cast<IntegerType>(this)->getBitWidth(); 135 /// Methods for support type inquiry through isa, cast, and dyn_cast. 144 return cast<FunctionType>(this)->isVarArg(); 148 return cast<FunctionType>(this)->getParamType(i); 152 return cast<FunctionType>(this)->getNumParams(); 167 /// Methods for support type inquiry through isa, cast, and dyn_cast. 290 /// Methods for support type inquiry through isa, cast, and dyn_cast. 297 return cast<StructType>(this)->getName(); 301 return cast<StructType>(this)->getNumElements() [all...] |
/external/llvm/unittests/Analysis/ |
UnrollAnalyzer.cpp | 110 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 1U); 115 EXPECT_FALSE(cast<ConstantInt>((*I2).second)->getZExtValue()); 121 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), TripCount); 126 EXPECT_TRUE(cast<ConstantInt>((*I2).second)->getZExtValue()); 219 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 5U); 222 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 1U); 264 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 0U); 314 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 259U); 317 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 259U); 320 EXPECT_EQ(cast<ConstantInt>((*I3).second)->getZExtValue(), 3U) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 62 cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace(); 64 cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace(); 71 // that if you're using memcpy to move one double around, you'll get a cast 78 Type *SrcETy = cast<PointerType>(StrippedDest->getType()) 147 unsigned DstAddrSp = cast<PointerType>(Dest->getType())->getAddressSpace(); 393 IntegerType *IT = cast<IntegerType>(II->getArgOperand(0)->getType()); 417 StructType *ST = cast<StructType>(II->getType()); 431 StructType *ST = cast<StructType>(II->getType()); 460 ConstantStruct::get(cast<StructType>(II->getType()), V); 481 ConstantStruct::get(cast<StructType>(II->getType()), V) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
DerivedTypes.h | 91 /// Methods for support type inquiry through isa, cast, and dyn_cast. 98 return cast<IntegerType>(this)->getBitWidth(); 141 /// Methods for support type inquiry through isa, cast, and dyn_cast. 150 return cast<FunctionType>(this)->isVarArg(); 154 return cast<FunctionType>(this)->getParamType(i); 158 return cast<FunctionType>(this)->getNumParams(); 173 /// Methods for support type inquiry through isa, cast, and dyn_cast. 319 /// Methods for support type inquiry through isa, cast, and dyn_cast. 326 return cast<StructType>(this)->getName(); 330 return cast<StructType>(this)->getNumElements() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
UnrollAnalyzer.cpp | 109 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 1U); 114 EXPECT_FALSE(cast<ConstantInt>((*I2).second)->getZExtValue()); 120 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), TripCount); 125 EXPECT_TRUE(cast<ConstantInt>((*I2).second)->getZExtValue()); 218 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 5U); 221 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 1U); 263 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 0U); 313 EXPECT_EQ(cast<ConstantInt>((*I1).second)->getZExtValue(), 259U); 316 EXPECT_EQ(cast<ConstantInt>((*I2).second)->getZExtValue(), 259U); 319 EXPECT_EQ(cast<ConstantInt>((*I3).second)->getZExtValue(), 3U) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
DerivedTypes.h | 90 /// Methods for support type inquiry through isa, cast, and dyn_cast. 97 return cast<IntegerType>(this)->getBitWidth(); 139 /// Methods for support type inquiry through isa, cast, and dyn_cast. 148 return cast<FunctionType>(this)->isVarArg(); 152 return cast<FunctionType>(this)->getParamType(i); 156 return cast<FunctionType>(this)->getNumParams(); 171 /// Methods for support type inquiry through isa, cast, and dyn_cast. 295 /// Methods for support type inquiry through isa, cast, and dyn_cast. 302 return cast<StructType>(this)->getName(); 306 return cast<StructType>(this)->getNumElements() [all...] |
/external/v8/src/objects/ |
module.cc | 143 Handle<String> name(String::cast(names->get(i)), isolate); 164 return Cell::cast(cell); 212 ResetGraph(isolate, Handle<Module>::cast(descendant)); 241 module->set_code(JSFunction::cast(module->code())->shared()); 284 return SharedFunctionInfo::cast(code()); 287 return JSFunction::cast(code())->shared(); 290 return JSGeneratorObject::cast(code())->function()->shared(); 305 Module::cast(module->requested_modules()->get(module_request)), isolate); 307 String::cast(module->info()->module_requests()->get(module_request)), 326 return Handle<Cell>::cast(object) [all...] |
/external/clang/lib/CodeGen/ |
CGStmtOpenMP.cpp | 36 CGF.EmitVarDecl(cast<VarDecl>(*I)); 39 CGF.EmitAutoVarAlloca(cast<VarDecl>(*I)); 63 auto *CS = cast<CapturedStmt>(S.getAssociatedStmt()); 91 CGF.EmitVarDecl(cast<VarDecl>(*I)); 336 // Cast from pointer to array type to pointer to single element. 405 auto *CE = cast<CallExpr>(InitOp); 406 auto *OVE = cast<OpaqueValueExpr>(CE->getCallee()); 409 auto *LHSDRE = cast<DeclRefExpr>(cast<UnaryOperator>(LHS)->getSubExpr()); 410 auto *RHSDRE = cast<DeclRefExpr>(cast<UnaryOperator>(RHS)->getSubExpr()) [all...] |
CodeGenTypes.cpp | 261 const RecordDecl *RD = cast<RecordDecl>(TD); 312 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); 349 const FunctionNoProtoType *FNPT = cast<FunctionNoProtoType>(FT); 407 switch (cast<BuiltinType>(Ty)->getKind()) { 492 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); 498 const ReferenceType *RTy = cast<ReferenceType>(Ty); 506 const PointerType *PTy = cast<PointerType>(Ty); 517 const VariableArrayType *A = cast<VariableArrayType>(Ty); 526 const IncompleteArrayType *A = cast<IncompleteArrayType>(Ty); 540 const ConstantArrayType *A = cast<ConstantArrayType>(Ty) [all...] |
CGStmt.cpp | 107 EmitIgnoredExpr(cast<Expr>(S)); 132 EmitIndirectGotoStmt(cast<IndirectGotoStmt>(*S)); break; 134 case Stmt::IfStmtClass: EmitIfStmt(cast<IfStmt>(*S)); break; 135 case Stmt::WhileStmtClass: EmitWhileStmt(cast<WhileStmt>(*S)); break; 136 case Stmt::DoStmtClass: EmitDoStmt(cast<DoStmt>(*S)); break; 137 case Stmt::ForStmtClass: EmitForStmt(cast<ForStmt>(*S)); break; 139 case Stmt::ReturnStmtClass: EmitReturnStmt(cast<ReturnStmt>(*S)); break; 141 case Stmt::SwitchStmtClass: EmitSwitchStmt(cast<SwitchStmt>(*S)); break; 143 case Stmt::MSAsmStmtClass: EmitAsmStmt(cast<AsmStmt>(*S)); break; 149 const CapturedStmt *CS = cast<CapturedStmt>(S) [all...] |
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
DAGISelMatcher.h | 289 return cast<RecordChildMatcher>(M)->getChildNo() == getChildNo(); 348 return cast<MoveChildMatcher>(M)->getChildNo() == getChildNo(); 391 return cast<CheckSameMatcher>(M)->getMatchNumber() == getMatchNumber(); 416 return cast<CheckPatternPredicateMatcher>(M)->getPredicate() == Predicate; 440 return cast<CheckPredicateMatcher>(M)->Pred == Pred; 517 return cast<CheckTypeMatcher>(M)->Type == Type; 572 return cast<CheckChildTypeMatcher>(M)->ChildNo == ChildNo && 573 cast<CheckChildTypeMatcher>(M)->Type == Type; 599 return cast<CheckIntegerMatcher>(M)->Value == Value; 624 return cast<CheckCondCodeMatcher>(M)->CondCodeName == CondCodeName [all...] |
/external/clang/tools/libclang/ |
CXType.cpp | 75 return GetBuiltinTypeKind(cast<BuiltinType>(TP)); 360 T = cast<PointerType>(TP)->getPointeeType(); 363 T = cast<BlockPointerType>(TP)->getPointeeType(); 367 T = cast<ReferenceType>(TP)->getPointeeType(); 370 T = cast<ObjCObjectPointerType>(TP)->getPointeeType(); 373 T = cast<MemberPointerType>(TP)->getPointeeType(); 397 D = cast<TypedefType>(TP)->getDecl(); 400 D = cast<ObjCObjectType>(TP)->getInterface(); 403 D = cast<ObjCInterfaceType>(TP)->getDecl(); 407 D = cast<TagType>(TP)->getDecl() [all...] |
/external/v8/src/heap/ |
factory.cc | 90 DCHECK(Oddball::cast(*self_ref)->kind() == Oddball::kSelfReferenceMarker); 209 Handle<PrototypeInfo>::cast(NewStruct(PROTOTYPE_INFO_TYPE, TENURED)); 219 return Handle<EnumCache>::cast(NewTuple2(keys, indices, TENURED)); 225 Handle<Tuple2>::cast(NewStruct(TUPLE2_TYPE, pretenure)); 235 Handle<Tuple3>::cast(NewStruct(TUPLE3_TYPE, pretenure)); 245 Handle<ArrayBoilerplateDescription>::cast( 257 Handle<TemplateObjectDescription>::cast(NewStruct(TUPLE2_TYPE, TENURED)); 267 Handle<Oddball> oddball(Oddball::cast(New(map, pretenure)), isolate()); 284 Handle<PropertyArray> array(PropertyArray::cast(result), isolate()); 295 Map* map = Map::cast(isolate()->heap()->root(map_root_index)) [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsMCExpr.cpp | 129 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) 212 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); 217 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Expr); 225 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); 226 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); 230 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm);
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
Operator.h | 45 return cast<ConstantExpr>(this)->getOpcode(); 119 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 120 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 160 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 161 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 183 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 184 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V)));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
WasmEHPrepare.cpp | 201 LPadContextGV = cast<GlobalVariable>( 223 CallPersonalityF = cast<Function>(M.getOrInsertFunction( 233 auto *CPI = cast<CatchPadInst>(BB->getFirstNonPHI()); 236 cast<Constant>(CPI->getArgOperand(0))->isNullValue()) 271 auto *FPI = cast<FuncletPadInst>(BB->getFirstNonPHI()); 290 cast<Constant>(FPI->getArgOperand(0))->isNullValue())) { 314 auto *CPI = cast<CatchPadInst>(FPI);
|