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

<<11121314151617181920>>

  /external/tensorflow/tensorflow/contrib/eager/python/
metrics_impl.py 328 math_ops.cast(array_ops.identity(array_ops.size(values)), self.dtype))
330 self.numer.assign_add(math_ops.cast(values, self.dtype))
332 weights = math_ops.cast(weights, self.dtype)
334 values = math_ops.cast(values, self.dtype) * weights
398 matches = math_ops.cast(matches, self.dtype)
442 matches = math_ops.cast(matches, self.dtype)
493 labels = math_ops.cast(labels, dtypes.bool)
495 matches = math_ops.cast(matches, self.dtype)
541 labels = math_ops.cast(labels, dtypes.int64)
543 matches = math_ops.cast(matches, self.dtype
    [all...]
  /external/clang/lib/AST/
ItaniumMangle.cpp 71 return getEffectiveDeclContext(cast<Decl>(DC));
86 return getEffectiveDeclContext(cast<Decl>(DC));
98 D = cast<Decl>(DC);
296 ND = cast<NamedDecl>(ND->getCanonicalDecl());
454 ND = cast<NamedDecl>(ND->getCanonicalDecl());
640 mangleName(cast<FieldDecl>(D));
770 return isStd(cast<NamespaceDecl>(DC));
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstructionCombining.cpp 286 Constant *C1 = cast<Constant>(Op0->getOperand(1));
288 Constant *C2 = cast<Constant>(Op1->getOperand(1));
527 Constant *ConstOperand = cast<Constant>(I.getOperand(ConstIsRHS));
553 // select arguments. This also works for Cast instructions, which obviously do
588 /// FoldOpIntoPhi - Given a binary operator, cast instruction, or select which
593 PHINode *PN = cast<PHINode>(I.getOperand(0));
605 Instruction *User = cast<Instruction>(*UI);
680 Constant *C = cast<Constant>(I.getOperand(1));
694 Constant *C = cast<Constant>(I.getOperand(1));
700 InV = Builder->CreateBinOp(cast<BinaryOperator>(I).getOpcode()
    [all...]
  /external/swiftshader/third_party/LLVM/lib/MC/
MCExpr.cpp 32 return cast<MCTargetExpr>(this)->PrintImpl(OS);
34 OS << cast<MCConstantExpr>(*this).getValue();
38 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this);
71 const MCUnaryExpr &UE = cast<MCUnaryExpr>(*this);
84 const MCBinaryExpr &BE = cast<MCBinaryExpr>(*this);
438 return cast<MCTargetExpr>(this)->EvaluateAsRelocatableImpl(Res, Layout);
441 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
445 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
465 const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
499 const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this)
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/Analysis/
ScalarEvolutionTest.cpp 42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
64 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0);
65 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1);
66 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2);
68 EXPECT_EQ(cast<SCEVConstant>(M0->getOperand(0))->getValue()->getZExtValue(),
70 EXPECT_EQ(cast<SCEVConstant>(M1->getOperand(0))->getValue()->getZExtValue(),
72 EXPECT_EQ(cast<SCEVConstant>(M2->getOperand(0))->getValue()->getZExtValue(),
76 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0);
77 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1);
78 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
ARMCodeGenPrepare.cpp 119 unsigned Opc = cast<Instruction>(V)->getOpcode();
200 auto *CI = cast<ICmpInst>(*I->user_begin());
204 bool NegImm = cast<ConstantInt>(I->getOperand(1))->isNegative();
253 auto *I = cast<Instruction>(V);
297 auto *User = cast<Instruction>(U.getUser());
343 auto *ZExt = cast<Instruction>(Builder.CreateZExt(V, ExtTy));
379 auto *I = cast<Instruction>(V);
420 InsertDSPIntrinsic(cast<Instruction>(V));
430 auto *PtrTy = cast<PointerType>(Store->getPointerOperandType());
451 auto *Trunc = cast<Instruction>(Builder.CreateTrunc(Op, TruncTy))
    [all...]
  /external/clang/lib/Analysis/
CFG.cpp 103 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl();
104 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl();
335 InitListExpr *IE = cast<InitListExpr>(S);
600 assert(!isa<Expr>(S) || cast<Expr>(S)->IgnoreParens() == S);
    [all...]
  /external/clang/lib/Index/
IndexingContext.cpp 28 cast<Decl>(D->getDeclContext()), Roles, Relations,
38 return handleDeclOccurrence(D, Loc, /*IsRef=*/false, cast<Decl>(DC),
201 for (;; Parent = cast<Decl>(Parent->getDeclContext())) {
240 (cast<NamedDecl>(D)->getDeclName().isEmpty() &&
294 !(isa<FunctionDecl>(D) && cast<FunctionDecl>(D)->getBuiltinID())) {
303 cast<FunctionDecl>(Parent)->getBuiltinID()) ||
323 if (!IsRef && Parent && !cast<DeclContext>(Parent)->isFunctionOrMethod()) {
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/gdb-scripts/
prettyprinters.py 25 return escape_bytes(begin.cast(gdb.lookup_type('char').pointer()), self.val['Size'])
42 self.begin = val['BeginX'].cast(t)
109 return ('error', val['ErrorStorage'].address.cast(
111 return ('value', val['TStorage'].address.cast(
130 return ('value', val['Storage']['storage']['buffer'].address.cast(
190 begin = self.val['Buckets'].cast(t)
191 end = (begin + self.val['NumBuckets']).cast(t)
  /external/tensorflow/tensorflow/python/keras/utils/
metrics_utils.py 240 y_true: A `Tensor` whose shape matches `y_pred`. Will be cast to `bool`.
263 y_true = math_ops.cast(y_true, dtype=dtypes.float32)
264 y_pred = math_ops.cast(y_pred, dtype=dtypes.float32)
286 math_ops.cast(0.0, dtype=y_pred.dtype),
290 math_ops.cast(1.0, dtype=y_pred.dtype),
309 math_ops.cast(y_true, dtype=dtypes.bool), [1, -1])
327 math_ops.cast(sample_weight, dtype=dtypes.float32), y_pred)
336 label_and_pred = math_ops.cast(
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
MemorySSA.cpp 103 MemoryUse *LoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB(
138 Updater.insertDef(cast<MemoryDef>(EntryStoreAccess));
149 MemoryUse *FirstLoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB(
162 Updater.insertDef(cast<MemoryDef>(LeftStoreAccess), false);
173 MemoryUse *SecondLoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB(
188 Updater.insertDef(cast<MemoryDef>(SecondEntryStoreAccess), false);
190 Updater.insertDef(cast<MemoryDef>(SecondEntryStoreAccess), true);
228 Updater.insertDef(cast<MemoryDef>(StoreAccess));
239 MemoryUse *LoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB(
281 LoadInst *LoadInstClone = cast<LoadInst>(LoadInst1->clone())
    [all...]
  /external/swiftshader/third_party/LLVM/lib/VMCore/
AutoUpgrade.cpp 73 NewFn = cast<Function>(M->getOrInsertFunction(
99 NewFn = cast<Function>(M->getOrInsertFunction(NameTmp,
190 "cast");
193 BC = Builder.CreateBitCast(LI, VecTy, "new.cast");
219 "cast");
289 if (cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue())
291 else if (!cast<ConstantInt>(CI->getArgOperand(0))->getZExtValue())
293 else if (!cast<ConstantInt>(CI->getArgOperand(3))->getZExtValue())
322 // Replace all uses of the old call with the new cast which has the
339 cast<Function>(Intrinsic::getDeclaration(F->getParent()
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/linalg/
linear_operator_circulant_test.py 63 dtype: Type to cast the returned matrix to.
84 return math_ops.cast(matrix, dtype)
114 # If dtype is complex, cast spectrum to complex. The imaginary part will be
116 spectrum = math_ops.cast(spectrum, dtype)
136 spectrum = math_ops.cast([1., 1j, -1j], dtypes.complex64)
204 spectrum = math_ops.cast([1., 1j, -1j], dtypes.complex64)
260 spectrum = math_ops.cast([1., 1j, -1j], dtypes.complex64)
272 spectrum = math_ops.cast([6., 4, 2], dtypes.complex64)
287 math_ops.cast(convolution_kernel, dtypes.complex64))
304 spectrum = fft_ops.fft(math_ops.cast(h, dtypes.complex64)
    [all...]
  /external/v8/src/
elements.cc 148 MemsetPointer(FixedArray::cast(to_base)->data_start() + start,
156 FixedArray* from = FixedArray::cast(from_base);
157 FixedArray* to = FixedArray::cast(to_base);
176 NumberDictionary* from = NumberDictionary::cast(from_base);
186 MemsetPointer(FixedArray::cast(to_base)->data_start() + start,
194 FixedArray* to = FixedArray::cast(to_base);
235 MemsetPointer(FixedArray::cast(to_base)->data_start() + start,
247 Handle<FixedDoubleArray> from(FixedDoubleArray::cast(from_base), isolate);
248 Handle<FixedArray> to(FixedArray::cast(to_base), isolate);
279 FixedDoubleArray::cast(to_base)->set_the_hole(i)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
CoreEngine.cpp 364 cast<CXXBindTemporaryExpr>(B->getTerminator().getStmt()), B, Pred);
369 HandleStaticInit(cast<DeclStmt>(Term), B, Pred);
373 HandleBranch(cast<BinaryOperator>(Term)->getLHS(), Term, B, Pred);
378 HandleBranch(cast<AbstractConditionalOperator>(Term)->getCond(),
386 HandleBranch(cast<ChooseExpr>(Term)->getCond(), Term, B, Pred);
403 HandleBranch(cast<DoStmt>(Term)->getCond(), Term, B, Pred);
407 HandleBranch(cast<CXXForRangeStmt>(Term)->getCond(), Term, B, Pred);
411 HandleBranch(cast<ForStmt>(Term)->getCond(), Term, B, Pred);
420 HandleBranch(cast<IfStmt>(Term)->getCond(), Term, B, Pred);
428 builder(Pred, B, cast<IndirectGotoStmt>(Term)->getTarget()
    [all...]
  /external/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp 68 BasicBlock *PrologLatch = cast<BasicBlock>(VMap[Latch]);
158 BasicBlock *EpilogLatch = cast<BasicBlock>(VMap[Latch]);
192 PHINode *EpilogPN = cast<PHINode> (PN->use_begin()->getUser());
242 PHINode *VPN = cast<PHINode>(VMap[&BBI]);
314 BasicBlock *FirstLoopBB = cast<BasicBlock>(VMap[Header]);
315 BranchInst *LatchBR = cast<BranchInst>(NewBB->getTerminator());
339 PHINode *NewPHI = cast<PHINode>(VMap[&*I]);
347 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI);
352 BasicBlock *NewLatch = cast<BasicBlock>(VMap[Latch]);
460 unsigned BEWidth = cast<IntegerType>(BECountSC->getType())->getBitWidth()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Type.cpp 58 return isIntegerTy() && cast<IntegerType>(this)->getBitWidth() == Bitwidth;
62 // Identity cast means no change so return true
124 case Type::IntegerTyID: return cast<IntegerType>(this)->getBitWidth();
125 case Type::VectorTyID: return cast<VectorType>(this)->getBitWidth();
154 return cast<StructType>(this)->isSized(Visited);
246 case 1: return cast<IntegerType>(Type::getInt1Ty(C));
247 case 8: return cast<IntegerType>(Type::getInt8Ty(C));
248 case 16: return cast<IntegerType>(Type::getInt16Ty(C));
249 case 32: return cast<IntegerType>(Type::getInt32Ty(C));
250 case 64: return cast<IntegerType>(Type::getInt64Ty(C))
    [all...]
  /external/v8/src/torque/
declarations.cc 62 return TypeAlias::cast(raw)->type();
77 return TypeAlias::cast(raw)->type();
85 } else if (auto* union_type = UnionTypeExpression::cast(type_expression)) {
89 auto* function_type_exp = FunctionTypeExpression::cast(type_expression);
121 return Value::cast(d);
131 return Label::cast(d);
139 for (auto& m : MacroList::cast(declarable)->list()) {
165 return Builtin::cast(declarable);
177 return GenericList::cast(declarable_list);
189 return ModuleConstant::cast(declarable)
    [all...]
  /external/llvm/lib/IR/
Module.cpp 220 /// with a constantexpr cast to the right type.
314 MDString *Key = cast<MDString>(Flag->getOperand(1));
385 return cast<DICompileUnit>(CUs->getOperand(Idx));
388 return cast<DICompileUnit>(CUs->getOperand(Idx));
470 return cast<ConstantInt>(Val->getValue())->getZExtValue();
477 return cast<ConstantInt>(Val->getValue())->getZExtValue();
493 cast<ConstantInt>(Val->getValue())->getZExtValue());
507 cast<ConstantInt>(Val->getValue())->getZExtValue());
529 const ConstantArray *Init = cast<ConstantArray>(GV->getInitializer());
531 GlobalValue *G = cast<GlobalValue>(Op->stripPointerCastsNoFollowAliases())
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXInferAddressSpaces.cpp 164 switch (cast<Operator>(V).getOpcode()) {
180 const Operator& Op = cast<Operator>(V);
183 auto IncomingValues = cast<PHINode>(Op).incoming_values();
307 PHINode *PHI = cast<PHINode>(I);
317 GetElementPtrInst *GEP = cast<GetElementPtrInst>(I);
357 NewOperands.push_back(cast<Constant>(NewOperand));
402 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace);
532 User *NewV = cast<User>(ValueWithNewAddrSpace.lookup(V));
572 U->set(ConstantExpr::getAddrSpaceCast(cast<Constant>(NewV),
  /external/llvm/lib/Transforms/ObjCARC/
ObjCARCContract.cpp 139 cast<CallInst>(Retain)->setCalledFunction(Decl);
466 CallInst *CI = cast<CallInst>(Inst);
469 ConstantPointerNull::get(cast<PointerType>(CI->getType()));
550 Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
596 cast<Instruction>(U.getUser()));
606 cast<GEPOperator>(Arg)->hasAllZeroIndices())
607 Arg = cast<GEPOperator>(Arg)->getPointerOperand();
609 !cast<GlobalAlias>(Arg)->isInterposable())
610 Arg = cast<GlobalAlias>(Arg)->getAliasee();
  /external/llvm/lib/Transforms/Scalar/
CorrelatedValuePropagation.cpp 167 Pointer = cast<StoreInst>(I)->getPointerOperand();
224 if (isa<Instruction>(Cond) && cast<Instruction>(Cond)->getParent() == BB)
416 BBChanged |= processSelect(cast<SelectInst>(II), LVI);
419 BBChanged |= processPHI(cast<PHINode>(II), LVI);
423 BBChanged |= processCmp(cast<CmpInst>(II), LVI);
434 BBChanged |= processSRem(cast<BinaryOperator>(II), LVI);
437 BBChanged |= processSDiv(cast<BinaryOperator>(II), LVI);
445 BBChanged |= processSwitch(cast<SwitchInst>(Term), LVI);
448 auto *RI = cast<ReturnInst>(Term);
  /external/v8/src/compiler-dispatcher/
unoptimized-compile-job.cc 82 Handle<Script> script(Script::cast(shared_->script()), isolate);
83 Handle<String> source(String::cast(script->source()), isolate);
95 i::GlobalHandles::Destroy(Handle<Object>::cast(shared_).location());
99 i::GlobalHandles::Destroy(Handle<Object>::cast(context_).location());
134 Handle<String> source(String::cast(script->source()), isolate);
273 Handle<Script> script(Script::cast(shared_->script()), isolate);
313 Handle<Script> script(Script::cast(shared_->script()), isolate);
333 i::GlobalHandles::Destroy(Handle<Object>::cast(source_).location());
339 i::GlobalHandles::Destroy(Handle<Object>::cast(wrapper_).location());
  /external/v8/src/profiler/
profiler-listener.cc 89 Script* script = Script::cast(shared->script());
194 if (name->IsString() && String::cast(name)->length()) return name;
196 Object* source_url = Script::cast(info->script())->source_url();
197 return source_url->IsName() ? Name::cast(source_url) : name;
206 DeoptimizationData::cast(code->deoptimization_data());
229 SharedFunctionInfo* shared_info = SharedFunctionInfo::cast(
235 Script::cast(shared_info->script())->name()->IsName())
236 ? GetName(Name::cast(Script::cast(shared_info->script())->name()))
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
llimits.h 93 #define cast(t, exp) ((t)(exp)) macro
95 #define cast_byte(i) cast(lu_byte, (i))
96 #define cast_num(i) cast(lua_Number, (i))
97 #define cast_int(i) cast(int, (i))
98 #define cast_uchar(i) cast(unsigned char, (i))

Completed in 631 milliseconds

<<11121314151617181920>>