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

<<21222324252627282930>>

  /external/llvm/lib/Transforms/Utils/
Evaluator.cpp 61 if (!isSimpleEnoughValueToCommit(cast<Constant>(Op), SimpleConstants, DL))
69 ConstantExpr *CE = cast<ConstantExpr>(C);
112 /// particular, if it is a cast to anything other than from one pointer type to
119 if (!cast<PointerType>(C->getType())->getElementType()->isSingleValueType())
130 cast<GEPOperator>(CE)->isInBounds()) {
131 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0));
155 return cast<GlobalVariable>(CE->getOperand(0))->hasUniqueInitializer();
181 GlobalVariable *GV = cast<GlobalVariable>(CE->getOperand(0));
235 Type *NewTy = cast<PointerType>(Ptr->getType())->getElementType();
289 DEBUG(dbgs() << "Found a Cast! Simplifying: " << *InstResul
    [all...]
ValueMapper.cpp 368 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy));
454 Ops.push_back(cast<Constant>(C->getOperand(j)));
458 Ops.push_back(cast<Constant>(Mapped));
465 Ops.push_back(cast<Constant>(Mapped));
476 return getVM()[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops);
478 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
487 return getVM()[V] = ConstantPointerNull::get(cast<PointerType>(NewTy));
491 Function *F = cast<Function>(mapValue(BA.getFunction()));
533 const MDNode &N = *cast<MDNode>(Op);
542 DistinctWorklist.push_back(cast<MDNode>
    [all...]
  /external/lua/src/
ltable.c 106 unsigned int u = cast(unsigned int, i) + cast(unsigned int, ni);
107 return cast_int(u <= cast(unsigned int, INT_MAX) ? u : ~u);
148 return cast(unsigned int, k); /* 'key' is an appropriate array index */
312 t->node = cast(Node *, dummynode); /* use common 'dummynode' */
342 AuxsetnodeT *asn = cast(AuxsetnodeT *, ud);
383 luaM_freearray(L, nold, cast(size_t, oldhsize)); /* free old hash */
435 luaM_freearray(L, t->node, cast(size_t, sizenode(t)));
580 setsvalue(cast(lua_State *, NULL), &ko, key);
613 return cast(TValue *, p)
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Target/CBackend/
CBackend.cpp 250 const Instruction &User = cast<Instruction>(*I.use_back());
257 return I.getParent() == cast<Instruction>(I.use_back())->getParent();
379 FunctionType *FTy = cast<FunctionType>(TheTy->getElementType());
386 Type *RetTy = cast<PointerType>(*I)->getElementType();
394 ArgTy = cast<PointerType>(ArgTy)->getElementType();
420 unsigned NumBits = cast<IntegerType>(Ty)->getBitWidth();
449 VectorType *VTy = cast<VectorType>(Ty);
476 FunctionType *FTy = cast<FunctionType>(Ty);
486 ArgTy = cast<PointerType>(ArgTy)->getElementType();
507 StructType *STy = cast<StructType>(Ty)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
CallSite.h 272 return isCall() && cast<CallInst>(getInstruction())->isMustTailCall();
277 return isCall() && cast<CallInst>(getInstruction())->isTailCall();
283 ? cast<CallInst>(II)->METHOD \
284 : cast<InvokeInst>(II)->METHOD
289 cast<CallInst>(II)->METHOD; \
291 cast<InvokeInst>(II)->METHOD
307 return cast<CallInst>(getInstruction())->isInlineAsm();
587 cast<CallInst>(II)->getOperandBundlesAsDefs(Defs);
589 cast<InvokeInst>(II)->getOperandBundlesAsDefs(Defs);
660 return cast<CallInst>(getInstruction())->op_end() - 1
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
Analysis.cpp 128 if (!GV) V = cast<ConstantPointerNull>(Init);
252 if (cast<GetElementPtrInst>(I)->hasAllZeroIndices())
256 // Make sure this isn't a truncating or extending cast. We could
260 cast<IntegerType>(Op->getType())->getBitWidth())
264 // Make sure this isn't a truncating or extending cast. We could
268 cast<IntegerType>(I->getType())->getBitWidth())
361 return Idx < cast<StructType>(T)->getNumElements();
399 CompositeType *CT = cast<CompositeType>(DeeperType);
429 indexReallyValid(cast<CompositeType>(Next), 0)) {
430 SubTypes.push_back(cast<CompositeType>(Next))
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
cast_op_test.py 15 """Tests for tensorflow.ops.tf.cast."""
60 return math_ops.cast(val, self._toDataType(dtype), name="cast").eval()
63 """Tests cast(x) to dtype behaves the same as numpy.astype."""
69 """Tests cast(x) to different tf."""
112 b = math_ops.cast(math_ops.cast(a, dtypes.bfloat16), dtypes.float32)
115 b = math_ops.cast(math_ops.cast(a, dtypes.bfloat16), dtypes.float32)
190 math_ops.cast(x, dtype).eval(
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
LoopUnrollRuntime.cpp 75 BasicBlock *PrologLatch = cast<BasicBlock>(VMap[Latch]);
173 BasicBlock *EpilogLatch = cast<BasicBlock>(VMap[Latch]);
203 PHINode *EpilogPN = cast<PHINode>(PN.use_begin()->getUser());
249 PHINode *VPN = cast<PHINode>(VMap[&PN]);
327 DT->addNewBlock(NewBB, cast<BasicBlock>(VMap[IDomBB]));
335 BasicBlock *FirstLoopBB = cast<BasicBlock>(VMap[Header]);
336 BranchInst *LatchBR = cast<BranchInst>(NewBB->getTerminator());
360 PHINode *NewPHI = cast<PHINode>(VMap[&*I]);
368 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI);
373 BasicBlock *NewLatch = cast<BasicBlock>(VMap[Latch])
    [all...]
  /external/v8/src/
frames.h 367 static EntryFrame* cast(StackFrame* frame) { function in class:v8::internal::EntryFrame
393 static ConstructEntryFrame* cast(StackFrame* frame) { function in class:v8::internal::ConstructEntryFrame
418 static ExitFrame* cast(StackFrame* frame) { function in class:v8::internal::ExitFrame
449 static BuiltinExitFrame* cast(StackFrame* frame) { function in class:v8::internal::BuiltinExitFrame
659 static StandardFrame* cast(StackFrame* frame) { function in class:v8::internal::StandardFrame
766 static JavaScriptFrame* cast(StackFrame* frame) { function in class:v8::internal::JavaScriptFrame
896 static InterpretedFrame* cast(StackFrame* frame) { function in class:v8::internal::InterpretedFrame
921 static ArgumentsAdaptorFrame* cast(StackFrame* frame) { function in class:v8::internal::ArgumentsAdaptorFrame
945 static BuiltinFrame* cast(StackFrame* frame) { function in class:v8::internal::final
988 static WasmCompiledFrame* cast(StackFrame* frame) { function in class:v8::internal::final
1027 static WasmInterpreterEntryFrame* cast(StackFrame* frame) { function in class:v8::internal::final
1086 static WasmCompileLazyFrame* cast(StackFrame* frame) { function in class:v8::internal::WasmCompileLazyFrame
1110 static InternalFrame* cast(StackFrame* frame) { function in class:v8::internal::InternalFrame
1131 static ConstructFrame* cast(StackFrame* frame) { function in class:v8::internal::ConstructFrame
1147 static BuiltinContinuationFrame* cast(StackFrame* frame) { function in class:v8::internal::BuiltinContinuationFrame
1163 static JavaScriptBuiltinContinuationFrame* cast(StackFrame* frame) { function in class:v8::internal::JavaScriptBuiltinContinuationFrame
1188 static JavaScriptBuiltinContinuationWithCatchFrame* cast(StackFrame* frame) { function in class:v8::internal::JavaScriptBuiltinContinuationWithCatchFrame
    [all...]
isolate.cc 434 Code::cast(*abstract_code)->is_construct_stub()) {
458 if (WasmCompiledFrame::cast(frame)->at_to_number_conversion()) {
499 Handle<AbstractCode>::cast(code),
572 ? Handle<Object>::cast(isolate->factory()->undefined_value())
625 builder.AppendStandardFrame(JavaScriptFrame::cast(frame));
630 builder.AppendBuiltinExitFrame(BuiltinExitFrame::cast(frame));
633 builder.AppendStandardFrame(WasmCompiledFrame::cast(frame));
636 builder.AppendStandardFrame(WasmInterpreterEntryFrame::cast(frame));
685 if (stack_trace->IsFixedArray()) return Handle<FixedArray>::cast(stack_trace);
703 Handle<Script> script(Script::cast(maybe_script), this)
    [all...]
  /external/clang/lib/CodeGen/
CGCleanup.cpp 84 auto alignment = cast<llvm::AllocaInst>(value)->getAlignment();
178 EHCleanupScope &cleanup = cast<EHCleanupScope>(*find(si));
214 EHCleanupScope &Cleanup = cast<EHCleanupScope>(*begin());
246 EHFilterScope &filter = cast<EHFilterScope>(*begin());
277 unsigned MinSize = cast<EHCleanupScope>(*it).getFixupDepth();
298 EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin());
378 return cast<llvm::SwitchInst>(Term);
425 EHCleanupScope &Scope = cast<EHCleanupScope>(*EHStack.begin());
550 llvm::SwitchInst *Switch = cast<llvm::SwitchInst>(Term);
578 llvm::SwitchInst *si = cast<llvm::SwitchInst>(use.getUser())
    [all...]
  /external/tensorflow/tensorflow/contrib/metrics/python/ops/
metric_ops.py 62 be cast to `bool`.
64 `predictions`. Will be cast to `bool`.
108 be cast to `bool`.
110 `predictions`. Will be cast to `bool`.
154 be cast to `bool`.
156 `predictions`. Will be cast to `bool`.
200 be cast to `bool`.
202 `predictions`. Will be cast to `bool`.
531 be cast to `bool`.
533 `predictions`. Will be cast to `bool`
    [all...]
  /external/tensorflow/tensorflow/python/keras/
metrics.py 119 y_true = tf.cast(y_true, tf.bool)
120 y_pred = tf.cast(y_pred, tf.bool)
123 values = tf.cast(values, self.dtype)
125 sample_weight = tf.cast(sample_weight, self.dtype)
291 values = math_ops.cast(values, self._dtype)
293 sample_weight = math_ops.cast(sample_weight, self._dtype)
323 num_values = math_ops.cast(array_ops.size(values), self._dtype)
326 num_values = math_ops.cast(array_ops.size(values), self._dtype)
476 normalizer = math_ops.cast(normalizer, self._dtype)
492 y_true = math_ops.cast(y_true, self._dtype
    [all...]
  /external/llvm/lib/Transforms/Scalar/
InductiveRangeCheckElimination.cpp 330 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(0),
332 extractRangeChecksFromCond(L, SE, cast<User>(Condition)->getOperandUse(1),
435 Result.Header = cast<BasicBlock>(Map(Header));
436 Result.Latch = cast<BasicBlock>(Map(Latch));
437 Result.LatchBr = cast<BranchInst>(Map(LatchBr));
438 Result.LatchExit = cast<BasicBlock>(Map(LatchExit));
610 APInt::getSignedMaxValue(cast<IntegerType>(S->getType())->getBitWidth());
617 APInt::getSignedMinValue(cast<IntegerType>(S->getType())->getBitWidth());
671 IntegerType *IndVarTy = cast<IntegerType>(LeftValue->getType());
692 IntegerType *Ty = cast<IntegerType>(AR->getType())
    [all...]
  /external/tensorflow/tensorflow/python/ops/
image_ops_impl.py 343 flips = math_ops.cast(flips, image.dtype)
618 img_hd = math_ops.cast(img_h, dtypes.float64)
619 bbox_h_start = math_ops.cast(
626 img_wd = math_ops.cast(img_w, dtypes.float64)
627 bbox_w_start = math_ops.cast(
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
NetdTest.java 63 mINMSMethod.invoke(mINMSClass.cast(INMSObj), "foo;reboot;", -1, -1);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
llex.h 34 #define NUM_RESERVED (cast(int, TK_WHILE-FIRST_RESERVED+1))
lobject.c 122 *endptr = cast(char *, s); /* nothing is valid yet */
136 *endptr = cast(char *, s); /* valid up to here */
149 *endptr = cast(char *, s); /* valid up to here */
195 buff = cast(char, va_arg(argp, int));
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Stdio.inf 147 GCC:*_*_*_CC_FLAGS = -fno-builtin -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-format
  /external/autotest/frontend/client/src/autotest/common/ui/
ExtendedListBox.java 37 SelectElement select = getElement().cast();
  /external/bcc/examples/tracing/
trace_perf_output.py 20 event = ct.cast(data, ct.POINTER(Data)).contents
  /external/bcc/tools/
capable.py 144 event = ct.cast(data, ct.POINTER(Data)).contents
dcsnoop.py 154 event = ct.cast(data, ct.POINTER(Data)).contents
filelife.py 137 event = ct.cast(data, ct.POINTER(Data)).contents
mysqld_qslower.py 124 event = ct.cast(data, ct.POINTER(Data)).contents

Completed in 1078 milliseconds

<<21222324252627282930>>