/external/swiftshader/third_party/LLVM/lib/VMCore/ |
Function.cpp | 139 return cast<FunctionType>(getType()->getElementType()); 304 const Function *SrcF = cast<Function>(Src); 391 cast<Function>(M->getOrInsertFunction(getName(id, Tys), 407 ImmutableCallSite CS(cast<Instruction>(U));
|
ValueTypes.cpp | 76 return EVT::getEVT(cast<VectorType>(LLVMTy)->getElementType()); 81 return cast<VectorType>(LLVMTy)->getNumElements(); 204 return getIntegerVT(Ty->getContext(), cast<IntegerType>(Ty)->getBitWidth()); 213 VectorType *VTy = cast<VectorType>(Ty);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
MachineModuleInfo.cpp | 190 Map->UpdateForDeletedBlock(cast<BasicBlock>(getValPtr())); 194 Map->UpdateForRAUWBlock(cast<BasicBlock>(getValPtr()), cast<BasicBlock>(V2)); 336 cast<FunctionType>(I.getCalledValue()->getType()->getContainedType(0));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPUIntrinsicInfo.cpp | 91 = cast<Function>(M->getOrInsertFunction(getName(IntrID, Tys), FTy));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
SystemZTDC.cpp | 239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { 241 if (!Cast->getSrcTy()->isFloatTy() && 242 !Cast->getSrcTy()->isDoubleTy() && 243 !Cast->getSrcTy()->isFP128Ty()) 245 Value *V = Cast->getOperand(0); 257 PossibleJunk.insert(Cast); 291 std::tie(Op0, Mask0, Worthy0) = ConvertedInsts[cast<Instruction>(I.getOperand(0))]; 292 std::tie(Op1, Mask1, Worthy1) = ConvertedInsts[cast<Instruction>(I.getOperand(1))]; 320 convertFCmp(cast<CmpInst>(I)); 322 convertICmp(cast<CmpInst>(I)) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
XCoreISelDAGToDAG.cpp | 54 ConstantSDNode *N = cast<ConstantSDNode>(inN); 137 uint64_t Val = cast<ConstantSDNode>(N)->getZExtValue(); 157 cast<MachineSDNode>(node)->setMemRefs(MemOp, MemOp + 1); 246 unsigned IntNo = cast<ConstantSDNode>(Addr->getOperand(1))->getZExtValue();
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/ |
TruncInstCombine.cpp | 24 // may decrease the number of cast instructions, but will not increase it. 152 InstInfoMap[cast<Instruction>(Src)].ValidBitWidth = TruncBitWidth; 163 auto *I = cast<Instruction>(Curr); 202 unsigned MinBitWidth = InstInfoMap.lookup(cast<Instruction>(Src)).MinBitWidth; 295 auto *I = cast<Instruction>(V); 316 // If the source type of the cast is the type we're trying for then we can 324 // Otherwise, must be the same type of cast, so just reinsert a new one.
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
CoroInternal.h | 90 return cast<IntegerType>(FrameTy->getElementType(IndexField));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
StripSymbols.cpp | 146 Operands.insert(cast<Constant>(Op)); 166 if (!isa<GlobalValue>(V) || cast<GlobalValue>(V)->hasLocalLinkage()) { 196 ConstantArray *Inits = cast<ConstantArray>(LLVMUsed->getInitializer()); 259 CallInst *CI = cast<CallInst>(Declare->user_back());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
EscapeEnumerator.cpp | 89 CallInst *CI = cast<CallInst>(Calls[--I]);
|
ModuleUtils.cpp | 33 ArrayType *ATy = cast<ArrayType>(GVCtor->getValueType()); 34 StructType *OldEltTy = cast<StructType>(ATy->getElementType()); 45 auto Ctor = cast<Constant>(Init->getOperand(i)); 132 return cast<Function>(FuncOrBitcast);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
TBAATest.cpp | 37 auto *F = cast<Function>(M->getOrInsertFunction(Name, FTy));
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/ |
VPlanLoopInfoTest.cpp | 46 VPRegionBlock *TopRegion = cast<VPRegionBlock>(Plan->getEntry());
|
/external/tensorflow/tensorflow/contrib/distribute/python/examples/ |
keras_model_with_estimator.py | 29 x = tf.cast(x, tf.float32)
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
virtual_batchnorm_impl.py | 64 y = math_ops.cast(x, dtypes.float32) if x.dtype == dtypes.float16 else x 76 return (math_ops.cast(mean, dtypes.float16), 77 math_ops.cast(mean_squared, dtypes.float16)) 228 math_ops.cast(ref_batch_size, dtypes.float32) + 1.)
|
/external/tensorflow/tensorflow/contrib/nn/python/ops/ |
alpha_dropout.py | 77 kept_idx = math_ops.cast(kept_idx, x.dtype)
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
prefetch_queue.py | 92 math_ops.cast(queue.size(), _dtypes.float32) * (1. / capacity))
|
/external/tensorflow/tensorflow/contrib/text/python/ops/ |
skip_gram_ops.py | 412 cast_threshold = math_ops.cast(vocab_min_count, freq.dtype) 432 corpus_size = math_ops.cast(corpus_size, dtypes.float64) 433 freq = math_ops.cast(freq, dtypes.float64) 434 vocab_subsampling = math_ops.cast(vocab_subsampling, dtypes.float64)
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
sampling_ops_threading_test.py | 40 label = math_ops.cast(
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
policy.py | 54 cast tensors to float16 before passing them to a layer, which causes the 68 tf.keras.layers.Lambda(lambda x: tf.cast(x, 'float32')), 82 tf.keras.layers.Lambda(lambda x: tf.cast(x, 'float32')), 111 explicit chooses a different dtype. Layers will cast variables to the
|
/external/v8/src/builtins/ |
builtins-intl.cc | 570 JSObject::cast(context->get(NumberFormat::ContextSlot::kNumberFormat)), 655 JSObject::cast(context->get(DateFormat::ContextSlot::kDateFormat)), 680 Handle<JSReceiver> new_target = Handle<JSReceiver>::cast(args.new_target()); 687 Handle<JSListFormat> format = Handle<JSListFormat>::cast(result); 722 if (tag->IsJSLocale() && Handle<JSLocale>::cast(tag)->locale()->IsString()) { 724 Handle<String>(Handle<JSLocale>::cast(tag)->locale(), isolate); 739 return JSLocale::InitializeLocale(isolate, Handle<JSLocale>::cast(result), 756 Handle<JSReceiver> new_target = Handle<JSReceiver>::cast(args.new_target()); [all...] |
/external/v8/src/compiler/ |
code-generator.cc | 440 int index = LocationOperand::cast(operand).index(); 450 Register reg = LocationOperand::cast(operand).GetRegister(); 518 LocationOperand::cast(source).index() >= 530 LocationOperand::cast(destination).index() >= 532 int index = LocationOperand::cast(destination).index(); 568 DCHECK(LocationOperand::cast(source)->IsCompatible( 569 LocationOperand::cast(destination))); 590 DCHECK(LocationOperand::cast(source)->IsCompatible( 591 LocationOperand::cast(destination))); 784 return Handle<PodArray<InliningPosition>>::cast( [all...] |
/external/v8/src/inspector/ |
remote-object-id.cc | 22 protocol::DictionaryValue::cast(parsedValue.release()));
|
/external/v8/src/objects/ |
js-array-buffer.cc | 22 result = String::ToNumber(isolate, Handle<String>::cast(s)); 163 FixedTypedArrayBase::cast(typed_array->elements()), isolate); 165 Handle<JSArrayBuffer> buffer(JSArrayBuffer::cast(typed_array->buffer()), 203 Handle<JSArrayBuffer> array_buffer(JSArrayBuffer::cast(buffer()),
|
/external/v8/src/runtime/ |
runtime-regexp.cc | 54 String* capture_name = String::cast(capture_name_map->get(name_ix)); 326 capture_name_map = FixedArray::cast(maybe_capture_name_map); 534 String::cast(pattern_regexp->DataAt(JSRegExp::kAtomPatternIndex)); 570 Handle<ResultSeqString> result = Handle<ResultSeqString>::cast(untyped_res); 731 answer = Handle<ResultSeqString>::cast( 734 answer = Handle<ResultSeqString>::cast( 840 Handle<FixedArray>::cast(cached_answer)); 871 Handle<FixedArray> elements(FixedArray::cast(result->elements()), isolate); [all...] |