/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsMCExpr.cpp | 135 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) 218 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); 223 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Expr); 231 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); 232 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); 236 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm);
|
/external/v8/src/objects/ |
js-array-buffer-inl.h | 122 return Object::cast(READ_FIELD(this, kByteOffsetOffset)); 132 return Object::cast(READ_FIELD(this, kByteLengthOffset)); 147 return JSArrayBuffer::cast(buffer())->was_neutered(); 152 return Object::cast(READ_FIELD(this, kLengthOffset)); 157 double val = Object::cast(READ_FIELD(this, kLengthOffset))->Number(); 174 FixedTypedArrayBase* fta(FixedTypedArrayBase::cast(elements())); 187 Handle<JSTypedArray> array = Handle<JSTypedArray>::cast(receiver);
|
string-inl.h | 214 return String::cast(string)->IsOneByteEqualTo(string_); 260 return String::cast(string)->IsTwoByteEqualTo(string_); 274 return String::cast(string)->IsUtf8EqualTo(string_); 306 Handle<ConsString> cons = Handle<ConsString>::cast(string); 314 string = handle(Handle<ThinString>::cast(string)->actual(), isolate); 324 return SeqOneByteString::cast(this)->SeqOneByteStringGet(index); 326 return SeqTwoByteString::cast(this)->SeqTwoByteStringGet(index); 329 return ConsString::cast(this)->ConsStringGet(index); 331 return ExternalOneByteString::cast(this)->ExternalOneByteStringGet(index); 333 return ExternalTwoByteString::cast(this)->ExternalTwoByteStringGet(index) [all...] |
/external/v8/src/snapshot/ |
deserializer.cc | 127 if (Hash() != String::cast(string)->Hash()) return false; 129 return string_->SlowEquals(String::cast(string)); 148 String* string = String::cast(obj); 157 String* string = String::cast(obj); 171 new_scripts_.push_back(handle(Script::cast(obj), isolate_)); 177 Script::cast(obj)->id())); 178 LOG(isolate_, ScriptDetails(Script::cast(obj))); 184 AllocationSite* site = AllocationSite::cast(obj); 199 new_code_objects_.push_back(Code::cast(obj)); 203 accessor_infos_.push_back(AccessorInfo::cast(obj)) [all...] |
/external/llvm/include/llvm/IR/ |
Operator.h | 51 return cast<ConstantExpr>(this)->getOpcode(); 119 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 120 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 158 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 159 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 312 return isa<Instruction>(V) && classof(cast<Instruction>(V)); 328 return (isa<Instruction>(V) && classof(cast<Instruction>(V))) || 329 (isa<ConstantExpr>(V) && classof(cast<ConstantExpr>(V))); 477 return cast<PointerType>(getPointerOperandType())->getAddressSpace();
|
/external/llvm/lib/Target/X86/ |
X86ShuffleDecodeConstantPool.cpp | 53 unsigned BitWidth = cast<IntegerType>(EltTy)->getBitWidth(); 71 APInt APElt = cast<ConstantInt>(COp)->getValue(); 148 uint64_t Element = cast<ConstantInt>(COp)->getZExtValue(); 204 uint64_t Selector = cast<ConstantInt>(COp)->getZExtValue(); 247 unsigned BitWidth = cast<IntegerType>(VecEltTy)->getBitWidth(); 279 APInt MaskElt = cast<ConstantInt>(COp)->getValue(); 316 APInt Element = cast<ConstantInt>(COp)->getValue(); 327 uint64_t Element = cast<ConstantInt>(C)->getZExtValue(); 349 APInt Element = cast<ConstantInt>(COp)->getValue();
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCAPElim.cpp | 104 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) { 154 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); 160 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
|
/external/llvm/lib/Transforms/Vectorize/ |
LoadStoreVectorizer.cpp | 309 cast<ConstantInt>(OpB->getOperand(1))->getSExtValue() > 0) { 311 Safe = cast<BinaryOperator>(OpB)->hasNoSignedWrap(); 313 Safe = cast<BinaryOperator>(OpB)->hasNoUnsignedWrap(); 376 Instruction *C0 = cast<Instruction>(Chain[0]); 405 Instrs.push_back(cast<Instruction>(V)); 412 Instruction *Instr = cast<Instruction>(V); 473 Instruction *M0 = cast<Instruction>(MemInstrValue); 474 Instruction *M1 = cast<Instruction>(ChainInstrValue); 528 const Instruction *UI = cast<Instruction>(U); 561 const Instruction *UI = cast<Instruction>(U) [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
metadata.hpp | 77 using ::llvm::cast; 82 const auto data_node = cast< ::llvm::MDNode>( 109 return ::llvm::cast< ::llvm::MDString>(
|
/external/skia/src/gpu/ccpr/ |
GrCCClipProcessor.cpp | 39 const GrCCClipProcessor& that = fp.cast<GrCCClipProcessor>(); 50 const GrCCClipProcessor& proc = args.fFp.cast<GrCCClipProcessor>(); 97 const GrCCClipProcessor& proc = fp.cast<GrCCClipProcessor>();
|
/external/skia/src/gpu/effects/ |
GrConstColorProcessor.cpp | 23 const GrConstColorProcessor& _outer = args.fFp.cast<GrConstColorProcessor>(); 45 const GrConstColorProcessor& _outer = _proc.cast<GrConstColorProcessor>(); 65 const GrConstColorProcessor& that = other.cast<GrConstColorProcessor>();
|
GrOverrideInputFragmentProcessor.cpp | 27 args.fFp.cast<GrOverrideInputFragmentProcessor>(); 57 _proc.cast<GrOverrideInputFragmentProcessor>(); 82 const GrOverrideInputFragmentProcessor& that = other.cast<GrOverrideInputFragmentProcessor>();
|
/external/skqp/src/gpu/ccpr/ |
GrCCClipProcessor.cpp | 39 const GrCCClipProcessor& that = fp.cast<GrCCClipProcessor>(); 50 const GrCCClipProcessor& proc = args.fFp.cast<GrCCClipProcessor>(); 97 const GrCCClipProcessor& proc = fp.cast<GrCCClipProcessor>();
|
/external/skqp/src/gpu/effects/ |
GrConstColorProcessor.cpp | 23 const GrConstColorProcessor& _outer = args.fFp.cast<GrConstColorProcessor>(); 45 const GrConstColorProcessor& _outer = _proc.cast<GrConstColorProcessor>(); 65 const GrConstColorProcessor& that = other.cast<GrConstColorProcessor>();
|
/external/skqp/src/gpu/gradients/ |
GrClampedGradientEffect.cpp | 23 const GrClampedGradientEffect& _outer = args.fFp.cast<GrClampedGradientEffect>(); 60 const GrClampedGradientEffect& _outer = _proc.cast<GrClampedGradientEffect>(); 87 const GrClampedGradientEffect& that = other.cast<GrClampedGradientEffect>();
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
TargetData.cpp | 306 unsigned Align = getTypeAllocSize(cast<VectorType>(Ty)->getElementType()); 307 Align *= cast<VectorType>(Ty)->getNumElements(); 407 ArrayType *ATy = cast<ArrayType>(Ty); 412 return getStructLayout(cast<StructType>(Ty))->getSizeInBits(); 414 return cast<IntegerType>(Ty)->getBitWidth(); 430 return cast<VectorType>(Ty)->getBitWidth(); 458 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); 462 if (cast<StructType>(Ty)->isPacked() && abi_or_pref) 466 const StructLayout *Layout = getStructLayout(cast<StructType>(Ty)); 546 unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
DebugLoc.cpp | 47 return cast<DILocation>(Loc)->getInlinedAtScope(); 82 Last = cast<DILocation>(Found); 111 auto *Scope = cast<DIScope>(getScope());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/ |
ObjCARCAPElim.cpp | 104 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) { 156 ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); 162 Function *F = dyn_cast<Function>(cast<ConstantStruct>(Op)->getOperand(1));
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/ |
DifferenceEngine.cpp | 256 if (cast<CmpInst>(L)->getPredicate() 257 != cast<CmpInst>(R)->getPredicate()) { 277 InvokeInst *LI = cast<InvokeInst>(L); 278 InvokeInst *RI = cast<InvokeInst>(R); 289 BranchInst *LI = cast<BranchInst>(L); 290 BranchInst *RI = cast<BranchInst>(R); 307 IndirectBrInst *LI = cast<IndirectBrInst>(L); 308 IndirectBrInst *RI = cast<IndirectBrInst>(R); 327 SwitchInst *LI = cast<SwitchInst>(L); 328 SwitchInst *RI = cast<SwitchInst>(R) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
Casting.cpp | 18 // Used to test illegal cast. If a cast doesn't match any of the "real" ones, 21 template <typename T> IllegalCast *cast(...) { return nullptr; } function in namespace:llvm 63 return cast<foo>(this); 122 TEST(CastingTest, cast) { 123 foo &F1 = cast<foo>(B1); 125 const foo *F3 = cast<foo>(B2); 127 const foo *F4 = cast<foo>(B2); 129 const foo &F5 = cast<foo>(B3); 131 const foo *F6 = cast<foo>(B4) [all...] |
/external/tensorflow/tensorflow/contrib/mixed_precision/python/ |
loss_scale_optimizer.py | 127 return loss_val * math_ops.cast(loss_scale, loss_val.dtype.base_dtype) 133 scaled_loss = loss_val * math_ops.cast(loss_scale, 170 gv.append((g * math_ops.cast(inv_loss_scale, g.dtype.base_dtype), v))
|
/external/tensorflow/tensorflow/python/training/ |
gradient_descent.py | 58 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype), 64 handle.handle, math_ops.cast(self._learning_rate_tensor, 75 math_ops.cast(self._learning_rate_tensor, var.dtype.base_dtype),
|
proximal_gradient_descent.py | 92 math_ops.cast(self._learning_rate_tensor, grad.dtype), 93 math_ops.cast(self._l1_regularization_strength_tensor, grad.dtype), 94 math_ops.cast(self._l2_regularization_strength_tensor, grad.dtype),
|
/external/v8/src/regexp/ |
regexp-macro-assembler.cc | 133 subject = ConsString::cast(subject)->first(); 135 start_index += SlicedString::cast(subject)->offset(); 136 subject = SlicedString::cast(subject)->parent(); 139 subject = ThinString::cast(subject)->actual(); 145 SeqOneByteString::cast(subject)->GetChars() + start_index); 148 SeqTwoByteString::cast(subject)->GetChars() + start_index); 151 ExternalOneByteString::cast(subject)->GetChars() + start_index); 155 ExternalTwoByteString::cast(subject)->GetChars() + start_index); 243 DCHECK_EQ(0, ConsString::cast(subject_ptr)->second()->length()); 244 subject_ptr = ConsString::cast(subject_ptr)->first() [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 66 const ConstantVector *CP = cast<ConstantVector>(SVI->getOperand(2)); 71 Result.push_back(cast<ConstantInt>(*i)->getZExtValue()); 80 VectorType *PTy = cast<VectorType>(V->getType()); 96 unsigned IIElt = cast<ConstantInt>(III->getOperand(2))->getZExtValue(); 110 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements(); 218 cast<VectorType>(SVI->getOperand(0)->getType())->getNumElements(); 234 // Canonicalize extractelement(cast) -> cast(extractelement) 254 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 282 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue() [all...] |