/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 34 auto *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 41 auto *I = cast<Instruction>(PN.getIncomingValue(i)); 145 (DT.dominates(cast<Instruction>(U), PN.getIncomingBlock(i)) || 146 cast<Instruction>(U)->getParent() == PN.getIncomingBlock(i))) { 253 // cast will be simplified into a pointer load: 255 // %v.cast = inttoptr i64 %v to float ** 258 // %v.cast = load float *, float ** %v.ptrp, align 8 285 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 306 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) 345 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i)) [all...] |
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
ggt.py | 137 initial_value=math_ops.cast(0., dtype=var_list[0].dtype.base_dtype), 228 math_ops.cast(update_global_step - 1., dtypes.int32), window) 241 ops.convert_to_tensor(math_ops.cast(window, dtype=var_dtype)))) 251 damping = math_ops.cast(linalg_ops.eye(window), dtype=var_dtype) * svd_eps 260 math_ops.cast(1.0, dtype=var_dtype), 291 math_ops.divide(math_ops.cast(1.0, dtype=var_dtype),
|
/external/tensorflow/tensorflow/core/kernels/ |
cast_op.h | 27 // Note that the GPU cast functor templates need to be instantiated unlike the 40 .template cast<OUT_TYPE>(); \ 42 out_tensor.device(d) = in_tensor.template cast<OUT_TYPE>(); \ 58 .template cast<OUT_TYPE>(); \ 60 out_tensor.device(d) = in_tensor.template cast<OUT_TYPE>(); \ 82 out_tensor.device(d) = in_tensor.template cast<OUT_TYPE>(); \ 92 // Common base class of Cast kernels 111 // CPU implementation of Cast 140 void Cast(const Device& d, typename TTypes<Tout>::Flat o, 142 o.device(d) = i.template cast<Tout>() [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
sparse_matmul_op_test.py | 53 tf_x = math_ops.cast(x, x_dtype) 54 tf_y = math_ops.cast(y, y_dtype) 63 np_x = math_ops.cast(tf_x, dtypes.float32).eval() 64 np_y = math_ops.cast(tf_y, dtypes.float32).eval() 146 tf_a = math_ops.cast(a, a_dtype) if a_dtype != dtypes.float32 else a 147 tf_b = math_ops.cast(b, b_dtype) if b_dtype != dtypes.float32 else b
|
/external/v8/src/ |
string-builder-inl.h | 189 Handle<SeqOneByteString>::cast(string)->GetChars() + offset); 192 Handle<SeqTwoByteString>::cast(string)->GetChars() + offset); 220 Handle<SeqString> string = Handle<SeqString>::cast(string_); 273 Handle<SeqString>::cast(current_part()), current_index_)); 294 SeqOneByteString::cast(*current_part_) 298 SeqTwoByteString::cast(*current_part_)
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
Parsers.java | 65 return wrappedResultType.cast(method.invoke(null, input)); 77 return wrappedResultType.cast(constr.newInstance(input));
|
/external/clang/include/clang/AST/ |
AttrIterator.h | 82 return cast<SpecificAttr>(*Current); 86 return cast<SpecificAttr>(*Current);
|
ExprOpenMP.h | 82 Expr *getBase() { return cast<Expr>(SubExprs[BASE]); } 83 const Expr *getBase() const { return cast<Expr>(SubExprs[BASE]); }
|
/external/clang/lib/AST/ |
StmtCXX.cpp | 81 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); 83 return cast<VarDecl>(LV);
|
/external/clang/lib/CodeGen/ |
CGVTables.cpp | 37 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 66 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 147 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 155 llvm::Function *BaseFn = cast<llvm::Function>(Callee); 215 const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()); 258 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CurGD.getDecl()); 421 Entry = cast<llvm::GlobalValue>(CE->getOperand(0)); 423 Entry = cast<llvm::GlobalValue>(C); 438 Entry = cast<llvm::GlobalValue>(CGM.GetAddrOfThunk(GD, Thunk)); 451 llvm::Function *ThunkFn = cast<llvm::Function>(Entry) [all...] |
/external/eigen/Eigen/src/Core/ |
BooleanRedux.h | 131 return derived().template cast<bool>().template cast<Index>().sum();
|
/external/eigen/Eigen/src/plugins/ |
CommonCwiseUnaryOps.h | 55 EIGEN_DOC_UNARY_ADDONS(cast,conversion function) 62 cast() const function
|
/external/guice/extensions/spring/src/com/google/inject/spring/ |
SpringIntegration.java | 105 return singleton ? getSingleton() : type.cast(beanFactory.getBean(name)); 112 instance = type.cast(beanFactory.getBean(name));
|
/external/llvm/lib/Object/ |
SymbolSize.cpp | 37 return cast<COFFObjectFile>(O).getSectionID(Sec); 43 return cast<COFFObjectFile>(O).getSymbolSectionID(Sym);
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXGenericToNVVM.cpp | 120 i, remapConstant(&M, &*I, cast<Constant>(Operand), Builder)); 226 GVMapTy::iterator I = GVMap.find(cast<GlobalVariable>(C)); 239 NewValue = remapConstantExpr(M, F, cast<ConstantExpr>(C), Builder); 256 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); 295 Value *NewOperand = remapConstant(M, F, cast<Constant>(Operand), Builder); 337 return cast<GEPOperator>(C)->isInBounds() 339 cast<GEPOperator>(C)->getSourceElementType(), 343 cast<GEPOperator>(C)->getSourceElementType(),
|
/external/llvm/lib/Transforms/Scalar/ |
Reg2Mem.cpp | 52 const Instruction *UI = cast<Instruction>(U); 118 DemotePHIToStack(cast<PHINode>(ilb), AllocaInsertionPoint);
|
/external/mesa3d/src/glx/ |
packsingle.h | 99 #define __GLX_SINGLE_GET_RETVAL(a,cast) \ 100 a = (cast) reply.retval
|
/external/skia/src/gpu/effects/ |
GrSimpleTextureEffect.cpp | 23 const GrSimpleTextureEffect& _outer = args.fFp.cast<GrSimpleTextureEffect>(); 45 const GrSimpleTextureEffect& that = other.cast<GrSimpleTextureEffect>();
|
/external/skia/src/gpu/gradients/ |
GrLinearGradientLayout.cpp | 23 const GrLinearGradientLayout& _outer = args.fFp.cast<GrLinearGradientLayout>(); 42 const GrLinearGradientLayout& that = other.cast<GrLinearGradientLayout>();
|
GrRadialGradientLayout.cpp | 23 const GrRadialGradientLayout& _outer = args.fFp.cast<GrRadialGradientLayout>(); 42 const GrRadialGradientLayout& that = other.cast<GrRadialGradientLayout>();
|
/external/skqp/src/gpu/effects/ |
GrSimpleTextureEffect.cpp | 23 const GrSimpleTextureEffect& _outer = args.fFp.cast<GrSimpleTextureEffect>(); 45 const GrSimpleTextureEffect& that = other.cast<GrSimpleTextureEffect>();
|
/external/skqp/src/gpu/gradients/ |
GrLinearGradientLayout.cpp | 23 const GrLinearGradientLayout& _outer = args.fFp.cast<GrLinearGradientLayout>(); 42 const GrLinearGradientLayout& that = other.cast<GrLinearGradientLayout>();
|
GrRadialGradientLayout.cpp | 23 const GrRadialGradientLayout& _outer = args.fFp.cast<GrRadialGradientLayout>(); 42 const GrRadialGradientLayout& that = other.cast<GrRadialGradientLayout>();
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
Reg2Mem.cpp | 52 const Instruction *I = cast<Instruction>(*UI); 123 DemotePHIToStack(cast<PHINode>(*ilb), AllocaInsertionPoint);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 53 Instruction *U = cast<Instruction>(I.use_back()); 94 InvokeInst &II = cast<InvokeInst>(I);
|