Searched defs:Cast (Results 1 - 25 of 56) sorted by relevance

123

/external/javassist/src/main/javassist/expr/
H A DCast.java26 public class Cast extends Expr { class in inherits:Expr
30 protected Cast(int pos, CodeIterator i, CtClass declaring, MethodInfo m) { method in class:Cast
/external/tensorflow/tensorflow/core/kernels/
H A Dcast_op.h29 // Common base class of Cast kernels
46 // CPU implementation of Cast
58 void Cast(const Device& d, typename TTypes<Tout>::Flat o, function in namespace:tensorflow::functor
H A Dcast_op_test.cc31 static Graph* Cast(int num) { function in namespace:tensorflow
36 test::graph::Cast(g, test::graph::Constant(g, data),
44 TF_EXPECT_OK(NodeDefBuilder("cast_op", "Cast")
99 test::Benchmark("cpu", Cast<float, int64>(num)).Run(iters);
109 test::Benchmark("gpu", Cast<float, int64>(num)).Run(iters);
112 test::Benchmark("sycl", Cast<float, int64>(num)).Run(iters);
122 test::Benchmark("cpu", Cast<bool, float>(num)).Run(iters);
132 test::Benchmark("gpu", Cast<bool, float>(num)).Run(iters);
135 test::Benchmark("sycl", Cast<bool, float>(num)).Run(iters);
145 test::Benchmark("cpu", Cast<floa
[all...]
/external/webrtc/webrtc/base/
H A Dwindow.h43 static WindowId Cast(uint64_t id) { function in class:rtc::WindowId
84 static DesktopId Cast(int id, int index) { function in class:rtc::DesktopId
/external/libchrome/base/numerics/
H A Dsafe_math.h80 // CheckedNumeric::Cast<Dst>() - Instance method returning a CheckedNumeric
175 constexpr CheckedNumeric<typename UnderlyingType<Dst>::type> Cast() const { function in class:base::internal::CheckedNumeric
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp128 Operator *Cast = dyn_cast<Operator>(V); local
129 if (Cast == nullptr || Cast->getOpcode() != Instruction::AddrSpaceCast)
132 Value *Src = Cast->getOperand(0);
134 PointerType *DestTy = cast<PointerType>(Cast->getType());
157 Operator *Cast = cast<Operator>(NewOperand); local
167 GEP->getSourceElementType(), Cast->getOperand(0), Indices,
179 GEP->getSourceElementType(), cast<Constant>(Cast->getOperand(0)),
194 Operator *Cast = cast<Operator>(NewOperand); local
196 // Cast
[all...]
/external/pdfium/third_party/base/numerics/
H A Dsafe_math.h81 // CheckedNumeric::Cast<Dst>() - Instance method returning a CheckedNumeric
176 constexpr CheckedNumeric<typename UnderlyingType<Dst>::type> Cast() const { function in class:pdfium::base::internal::CheckedNumeric
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVLowerOCLBlocks.cpp262 auto Cast = dyn_cast<BitCastInst>(CallInv); local
263 if (Cast)
277 erase(Cast);
H A DSPIRVToOCL20.cpp510 void SPIRVToOCL20::visitCastInst(CastInst &Cast) { argument
511 if(!isa<ZExtInst>(Cast) && !isa<SExtInst>(Cast) &&
512 !isa<TruncInst>(Cast) && !isa<FPTruncInst>(Cast) &&
513 !isa<FPExtInst>(Cast) && !isa<FPToUIInst>(Cast) &&
514 !isa<FPToSIInst>(Cast) && !isa<UIToFPInst>(Cast) &&
515 !isa<SIToFPInst>(Cast))
[all...]
H A DOCL20ToSPIRV.cpp627 auto *Cast = CastInst::CreateZExtOrBitCast(Cmp, Type::getInt32Ty(*Ctx), local
629 CI->replaceAllUsesWith(Cast);
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp365 CastInst *Cast = dyn_cast<CastInst>(UseOper.first); local
366 if (V && Cast) {
367 V->visitCast(Cast);
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/ops/
H A Dpredict.cc46 static PredictOption* Cast(void* ptr) { function in struct:tflite::ops::custom::predict::PredictOption
72 delete PredictOption::Cast(buffer);
98 PredictOption* option = PredictOption::Cast(node->user_data);
146 PredictOption* option = PredictOption::Cast(node->user_data);
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
H A Doperator.cc207 class Cast : public CustomOperator<CastOperator> { class in namespace:toco::tflite
832 ops.emplace_back(new Cast("CAST", OperatorType::kCast));
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp235 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { argument
238 if (!regionMatchesCXXRecordType(Derived, Cast->getSubExpr()->getType()))
243 for (CastExpr::path_const_iterator I = Cast->path_begin(),
244 E = Cast->path_end();
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp652 CastInst *Cast = dyn_cast<CastInst>(UseOper.first); local
653 if (V && Cast) {
654 V->visitCast(Cast);
H A DLoopUtils.cpp132 CastInst *Cast = dyn_cast<CastInst>(J); local
134 if (!Cast || !Cast->hasOneUse() || !(isa<ZExtInst>(J) || IsSExtInst))
139 unsigned SrcSize = Cast->getSrcTy()->getPrimitiveSizeInBits();
156 CI.insert(Cast);
/external/llvm/lib/CodeGen/
H A DStackColoring.cpp811 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); local
812 Cast->insertAfter(Inst);
813 Inst = Cast;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp296 Constant *Cast local
298 Instruction *NewI = replaceInstUsesWith(AI, Cast);
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp586 Instruction *Cast = CastInst::Create(Instruction::IntToPtr, C, OrigTy); local
587 ReplaceInstWithInst(I, Cast);
/external/tensorflow/tensorflow/core/graph/
H A Dtestlib.cc425 Node* Cast(Graph* g, Node* in, DataType dst) { function in namespace:tensorflow::test::graph
427 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Cast")
/external/llvm/lib/IR/
H A DAutoUpgrade.cpp564 // Cast the pointer to the right type.
584 // Cast the pointer to the right type.
902 Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0), local
904 Value *Load = Builder.CreateLoad(EltTy, Cast);
/external/v8/src/arm64/
H A Dinstructions-arm64.h403 template<typename T> V8_INLINE static Instruction* Cast(T src) { function in class:v8::internal::Instruction
/external/vixl/src/aarch64/
H A Ddebugger-aarch64.cc101 static RegisterToken* Cast(Token* tok) { function in class:vixl::aarch64::RegisterToken
123 static FPRegisterToken* Cast(Token* tok) { function in class:vixl::aarch64::FPRegisterToken
149 static IdentifierToken* Cast(Token* tok) { function in class:vixl::aarch64::IdentifierToken
167 static AddressToken* Cast(Token* tok) { function in class:vixl::aarch64::AddressToken
184 static IntegerToken* Cast(Token* tok) { function in class:vixl::aarch64::IntegerToken
217 static FormatToken* Cast(Token* tok) { function in class:vixl::aarch64::FormatToken
270 explicit DebugCommand(Token* name) : name_(IdentifierToken::Cast(name)) {}
1132 const char* name = IdentifierToken::Cast(args[0])->value();
1244 count = IntegerToken::Cast(first);
1289 count = IntegerToken::Cast(firs
[all...]
/external/clang/lib/Analysis/
H A DConsumed.cpp499 void VisitCastExpr(const CastExpr *Cast);
765 void ConsumedStmtVisitor::VisitCastExpr(const CastExpr *Cast) { argument
766 forwardInfo(Cast->getSubExpr(), Cast);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp515 Instruction::CastOps Cast = Instruction::BitCast; local
519 Cast = Instruction::IntToPtr;
521 Cast = Instruction::PtrToInt;
523 if (CastInst::castIsValid(Cast, C, DestTy))
524 return ConstantExpr::getCast(Cast, C, DestTy);

Completed in 757 milliseconds

123