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

1 2 3 45 6 7 8 91011>>

  /external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
ARMMCExpr.cpp 55 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Value);
62 Asm->getOrCreateSymbolData(cast<MCSymbolRefExpr>(Value)->getSymbol());
66 AddValueSymbols_(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm);
  /external/tensorflow/tensorflow/contrib/opt/python/training/
addsign.py 116 math_ops.cast(self._lr_t, var.dtype.base_dtype),
117 math_ops.cast(self._alpha_t, var.dtype.base_dtype),
118 math_ops.cast(self._sign_decay_t, var.dtype.base_dtype),
119 math_ops.cast(self._beta_t, var.dtype.base_dtype),
128 math_ops.cast(self._lr_t, var.dtype.base_dtype),
129 math_ops.cast(self._alpha_t, var.dtype.base_dtype),
130 math_ops.cast(self._sign_decay_t, var.dtype.base_dtype),
131 math_ops.cast(self._beta_t, var.dtype.base_dtype),
136 lr_t = math_ops.cast(self._lr_t, var.dtype.base_dtype)
137 alpha_t = math_ops.cast(self._alpha_t, var.dtype.base_dtype
    [all...]
  /external/tensorflow/tensorflow/python/training/
adagrad_da.py 118 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
119 math_ops.cast(self._l1_regularization_strength, var.dtype.base_dtype),
120 math_ops.cast(self._l2_regularization_strength, var.dtype.base_dtype),
134 math_ops.cast(self._learning_rate_tensor, grad.dtype.base_dtype),
135 math_ops.cast(self._l1_regularization_strength, grad.dtype.base_dtype),
136 math_ops.cast(self._l2_regularization_strength, grad.dtype.base_dtype),
151 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
152 math_ops.cast(self._l1_regularization_strength, var.dtype.base_dtype),
153 math_ops.cast(self._l2_regularization_strength, var.dtype.base_dtype),
168 math_ops.cast(self._learning_rate_tensor, grad.dtype)
    [all...]
  /external/v8/src/base/
safe_math.h 95 return CheckedNumeric<T>::cast(*this).ValueUnsafe();
167 // These static methods behave like a convenience cast operator targeting
171 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric
179 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric
185 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:v8::base::internal::CheckedNumeric
223 *this = CheckedNumeric<T>::cast(*this) OP CheckedNumeric<Src>::cast(rhs); \
235 return CheckedNumeric<Promotion>::cast(lhs) \
236 OP CheckedNumeric<Promotion>::cast(rhs); \
246 return CheckedNumeric<Promotion>::cast(lhs)
    [all...]
  /external/v8/src/builtins/
builtins-api.cc 32 JSObject* js_obj_receiver = JSObject::cast(receiver);
33 FunctionTemplateInfo* signature = FunctionTemplateInfo::cast(recv_type);
63 ObjectTemplateInfo::cast(fun_data->instance_template()), isolate);
67 Handle<JSReceiver>::cast(new_target)),
75 js_receiver = Handle<JSReceiver>::cast(receiver);
81 Handle<JSObject> js_obj_receiver = Handle<JSObject>::cast(js_receiver);
102 CallHandlerInfo* call_data = CallHandlerInfo::cast(raw_call_data);
172 JSFunction::cast(*function)->shared()->IsApiFunction()));
177 is_sloppy(JSFunction::cast(*function)->shared()->language_mode())) {
186 Handle<FunctionTemplateInfo>::cast(function)
    [all...]
  /external/guava/guava/src/com/google/common/collect/
ImmutableClassToInstanceMap.java 91 mapBuilder.put(type, cast(type, value));
96 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:ImmutableClassToInstanceMap.Builder
97 return Primitives.wrap(type).cast(value);
128 // Eclipse won't compile if we cast to the parameterized type.
129 ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap) map; local
130 return cast;
  /external/llvm/include/llvm/IR/
GetElementPtrTypeIterator.h 67 CompositeType *CT = cast<CompositeType>(CurTy.getPointer());
98 auto *GEPOp = cast<GEPOperator>(GEP);
101 cast<PointerType>(GEPOp->getPointerOperandType()->getScalarType())
109 auto &GEPOp = cast<GEPOperator>(GEP);
112 cast<PointerType>(GEPOp.getPointerOperandType()->getScalarType())
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
MemoryLocation.h 85 return get(cast<LoadInst>(Inst));
87 return get(cast<StoreInst>(Inst));
89 return get(cast<VAArgInst>(Inst));
91 return get(cast<AtomicCmpXchgInst>(Inst));
93 return get(cast<AtomicRMWInst>(Inst));
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
MCAsmBackend.cpp 36 return createELFObjectWriter(cast<MCELFObjectTargetWriter>(std::move(TW)), OS,
39 return createMachObjectWriter(cast<MCMachObjectTargetWriter>(std::move(TW)),
43 cast<MCWinCOFFObjectTargetWriter>(std::move(TW)), OS);
45 return createWasmObjectWriter(cast<MCWasmObjectTargetWriter>(std::move(TW)),
58 return createELFDwoObjectWriter(cast<MCELFObjectTargetWriter>(std::move(TW)),
  /external/tensorflow/tensorflow/python/ops/signal/
window_ops.py 115 periodic = math_ops.cast(
121 n = math_ops.cast(window_length + periodic * even - 1, dtype=dtype)
122 count = math_ops.cast(math_ops.range(window_length), dtype)
126 return math_ops.cast(a - b * math_ops.cos(cos_arg), dtype=dtype)
130 lambda: math_ops.cast(a - b * math_ops.cos(cos_arg), dtype=dtype))
  /external/v8/src/objects/
script-inl.h 60 return SharedFunctionInfo::cast(eval_from_shared_or_wrapped_arguments());
70 return FixedArray::cast(eval_from_shared_or_wrapped_arguments());
103 String* src_str = String::cast(src);
106 return ExternalOneByteString::cast(src)->resource() != nullptr;
108 return ExternalTwoByteString::cast(src)->resource() != nullptr;
  /external/clang/lib/AST/
ParentMap.cpp 37 PseudoObjectExpr *POE = cast<PseudoObjectExpr>(S);
57 BinaryConditionalOperator *BCO = cast<BinaryConditionalOperator>(S);
79 OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(S);
145 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S);
179 BinaryOperator *BE = cast<BinaryOperator>(P);
185 return DirectChild == cast<ForStmt>(P)->getCond();
187 return DirectChild == cast<WhileStmt>(P)->getCond();
189 return DirectChild == cast<DoStmt>(P)->getCond();
191 return DirectChild == cast<IfStmt>(P)->getCond();
193 return DirectChild == cast<IndirectGotoStmt>(P)->getTarget()
    [all...]
  /external/clang/test/SemaCXX/
warn-memsize-comparison.cpp 22 expected-note {{explicitly cast the argument}}
28 expected-note {{explicitly cast the argument}}
34 expected-note {{explicitly cast the argument}}
40 expected-note {{explicitly cast the argument}}
46 expected-note {{explicitly cast the argument}}
52 expected-note {{explicitly cast the argument}}
58 expected-note {{explicitly cast the argument}}
64 expected-note {{explicitly cast the argument}}
70 expected-note {{explicitly cast the argument}}
76 expected-note {{explicitly cast the argument}
    [all...]
  /external/v8/src/snapshot/
builtin-deserializer.cc 72 DCHECK(o->IsCode() && Code::cast(o)->is_builtin());
155 DCHECK(o->IsCode() && Code::cast(o)->is_builtin());
161 Code* code = Code::cast(o);
166 AbstractCode::cast(code),
171 ByteArray::cast(code->source_position_table())));
187 DCHECK(o->IsCode() && Code::cast(o)->kind() == Code::BYTECODE_HANDLER);
193 Code* code = Code::cast(o);
199 AbstractCode::cast(code), name.c_str()));
233 return Code::cast(isolate()->heap()->deserialize_lazy_handler());
235 return Code::cast(isolate()->heap()->deserialize_lazy_handler_wide())
    [all...]
  /external/llvm/lib/Transforms/IPO/
MergeFunctions.cpp 358 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR));
684 const auto *SeqR = cast<ConstantDataSequential>(R);
698 const APInt &LInt = cast<ConstantInt>(L)->getValue();
699 const APInt &RInt = cast<ConstantInt>(R)->getValue();
703 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF();
704 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF();
708 const ConstantArray *LA = cast<ConstantArray>(L);
709 const ConstantArray *RA = cast<ConstantArray>(R);
710 uint64_t NumElementsL = cast<ArrayType>(TyL)->getNumElements()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
Casting.h 10 // This file defines the isa<X>(), cast<X>(), dyn_cast<X>(), cast_or_null<X>(),
148 // cast<x> Support Templates
153 // Calculate what type the 'cast' function should return, based on a requested
217 // This _is_ a simple type, just cast it.
230 // cast<X> - Return the argument parameter cast to the specified type. This
235 // cast<Instruction>(myVal)->getParent()
240 cast(const Y &Val) { function in namespace:llvm
241 assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
247 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) function in namespace:llvm
254 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { function in namespace:llvm
262 cast(std::unique_ptr<Y> &&Val) { function in namespace:llvm
369 -> decltype(cast<X>(Val)) { function in namespace:llvm
377 -> decltype(cast<X>(Val)) { function in namespace:llvm
385 -> decltype(cast<X>(Val)) { function in namespace:llvm
393 -> decltype(cast<X>(Val)) { function in namespace:llvm
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAGISelMatcherEmitter.cpp 277 const ScopeMatcher *SM = cast<ScopeMatcher>(N);
340 << cast<RecordMatcher>(N)->getResultNo() << " = "
341 << cast<RecordMatcher>(N)->getWhatFor();
346 OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo()
350 << cast<RecordChildMatcher>(N)->getResultNo() << " = "
351 << cast<RecordChildMatcher>(N)->getWhatFor();
364 const auto *MCM = cast<MoveChildMatcher>(N);
380 << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n";
385 << cast<CheckChildSameMatcher>(N)->getChildNo() << "Same, "
386 << cast<CheckChildSameMatcher>(N)->getMatchNumber() << ",\n"
    [all...]
  /external/llvm/unittests/IR/
IRBuilderTest.cpp 141 FAdd = cast<Instruction>(F);
156 FAdd = cast<Instruction>(F);
163 FAdd = cast<Instruction>(F);
170 FDiv = cast<Instruction>(F);
177 FDiv = cast<Instruction>(F);
188 FDiv = cast<Instruction>(F);
195 FCmp = cast<Instruction>(FC);
206 FCmp = cast<Instruction>(FC);
244 FDiv = cast<Instruction>(F);
262 cast<BinaryOperator>(Builder.CreateNSWAdd(V, V))->hasNoSignedWrap())
    [all...]
  /external/v8/src/
objects-debug.cc 76 Smi::cast(this)->SmiVerify(isolate);
78 HeapObject::cast(this)->HeapObjectVerify(isolate);
121 String::cast(this)->StringVerify(isolate);
124 Symbol::cast(this)->SymbolVerify(isolate);
127 Map::cast(this)->MapVerify(isolate);
136 BigInt::cast(this)->BigIntVerify(isolate);
139 CallHandlerInfo::cast(this)->CallHandlerInfoVerify(isolate);
142 ObjectBoilerplateDescription::cast(this)
167 FixedArray::cast(this)->FixedArrayVerify(isolate);
170 WeakFixedArray::cast(this)->WeakFixedArrayVerify(isolate)
    [all...]
string-stream.cc 184 if (String::cast(o)->length() <= String::kMaxShortPrintLength) {
203 debug_object_cache->push_back(HeapObject::cast(o));
285 String* str = String::cast(name);
309 len = String::cast(key)->length();
314 Put(String::cast(key));
383 Add(" value(): %o\n", JSValue::cast(printee)->value());
385 PrintUsingMap(JSObject::cast(printee));
387 JSArray* array = JSArray::cast(printee);
389 unsigned int limit = FixedArray::cast(array->elements())->length();
391 static_cast<uint32_t>(JSArray::cast(array)->length()->Number())
    [all...]
  /external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
periodic.py 101 return math_ops.cast(positive_ones + negative_row_indicator[..., None],
153 self.dtype)[..., None] * noise_addition_scalar * math_ops.cast(
265 value = math_ops.cast(value, self.dtype)
295 num_latent_values_float = math_ops.cast(self._num_latent_values, self.dtype)
296 latent_values_per_period = (num_latent_values_float / math_ops.cast(
298 original_matrix_powers = (math_ops.cast(powers, self.dtype) *
311 matrix_dimension_range_float = math_ops.cast(matrix_dimension_range,
313 alternating = math_ops.cast(1 - 2 * (matrix_dimension_range % 2),
330 math_ops.cast(
365 original_transition_noise_addition_coefficient = (math_ops.cast(
    [all...]
  /external/llvm/utils/TableGen/
DAGISelMatcherEmitter.cpp 162 const ScopeMatcher *SM = cast<ScopeMatcher>(N);
227 << cast<RecordMatcher>(N)->getResultNo() << " = "
228 << cast<RecordMatcher>(N)->getWhatFor();
233 OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo()
237 << cast<RecordChildMatcher>(N)->getResultNo() << " = "
238 << cast<RecordChildMatcher>(N)->getWhatFor();
251 const auto *MCM = cast<MoveChildMatcher>(N);
267 << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n";
272 << cast<CheckChildSameMatcher>(N)->getChildNo() << "Same, "
273 << cast<CheckChildSameMatcher>(N)->getMatchNumber() << ",\n"
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 67 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
87 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0);
88 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1);
89 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2);
91 EXPECT_EQ(cast<SCEVConstant>(M0->getOperand(0))->getValue()->getZExtValue(),
93 EXPECT_EQ(cast<SCEVConstant>(M1->getOperand(0))->getValue()->getZExtValue(),
95 EXPECT_EQ(cast<SCEVConstant>(M2->getOperand(0))->getValue()->getZExtValue(),
99 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0);
100 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1);
101 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2)
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
ExpressionTranslator.java 84 return translateUntyped(csExpression).cast(Type.STRING);
91 return translateUntyped(csExpression).cast(Type.BOOLEAN);
98 return translateUntyped(csExpression).cast(Type.INT);
105 return translateUntyped(csExpression).cast(Type.DATA);
112 return translateUntyped(csExpression).cast(Type.VAR_NAME);
119 return translateUntyped(csExpression).cast(Type.VALUE);
197 setResult(cast(Type.INT, node.getExpression())); method
226 JavaExpression left = cast(Type.STRING, node.getLeft());
227 JavaExpression right = cast(Type.STRING, node.getRight());
238 JavaExpression left = cast(Type.STRING, node.getLeft())
367 private JavaExpression cast(Type type, PExpression node) { method in class:ExpressionTranslator
    [all...]
  /external/v8/src/heap/
object-stats.cc 412 FixedArray* fixed_array = FixedArray::cast(obj);
494 fti, CallHandlerInfo::cast(fti->call_code()),
499 fti, CallHandlerInfo::cast(fti->instance_call_handler()),
520 object, FixedArray::cast(JSMap::cast(object)->table()),
525 object, FixedArray::cast(JSSet::cast(object)->table()),
654 RecordVirtualFeedbackVectorDetails(FeedbackVector::cast(obj));
656 RecordVirtualMapDetails(Map::cast(obj));
658 RecordVirtualBytecodeArrayDetails(BytecodeArray::cast(obj))
    [all...]

Completed in 401 milliseconds

1 2 3 45 6 7 8 91011>>