/external/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 SwitchInst *LI = cast<SwitchInst>(L); 308 SwitchInst *RI = cast<SwitchInst>(R); 374 return Engine.equivalentAsOperands(cast<GlobalValue>(L), 375 cast<GlobalValue>(R)) [all...] |
/external/swiftshader/third_party/LLVM/tools/llvm-diff/ |
DifferenceEngine.cpp | 260 if (cast<CmpInst>(L)->getPredicate() 261 != cast<CmpInst>(R)->getPredicate()) { 281 InvokeInst *LI = cast<InvokeInst>(L); 282 InvokeInst *RI = cast<InvokeInst>(R); 293 BranchInst *LI = cast<BranchInst>(L); 294 BranchInst *RI = cast<BranchInst>(R); 311 SwitchInst *LI = cast<SwitchInst>(L); 312 SwitchInst *RI = cast<SwitchInst>(R); 374 return Engine.equivalentAsOperands(cast<GlobalValue>(L), 375 cast<GlobalValue>(R)) [all...] |
/external/tensorflow/tensorflow/python/ops/losses/ |
losses_impl.py | 123 weights = math_ops.cast(weights, dtype=dtypes.float32) 141 return math_ops.cast(array_ops.size(losses, name=scope), dtype=losses.dtype) 186 losses = math_ops.cast(losses, dtype=dtypes.float32) 187 weights = math_ops.cast(weights, dtype=dtypes.float32) 206 loss = math_ops.cast(loss, input_dtype) 256 predictions = math_ops.cast(predictions, dtype=dtypes.float32) 257 labels = math_ops.cast(labels, dtype=dtypes.float32) 310 predictions = math_ops.cast(predictions, dtype=dtypes.float32) 311 labels = math_ops.cast(labels, dtype=dtypes.float32) 358 logits = math_ops.cast(logits, dtype=dtypes.float32 [all...] |
/external/v8/src/heap/ |
setup-heap-internal.cc | 109 Map::cast(result), instance_type, instance_size, elements_kind, 120 // Map::cast cannot be used due to uninitialized map field. 149 map->set_dependent_code(DependentCode::cast(roots.empty_weak_fixed_array())); 184 FixedTypedArrayBase* elements = FixedTypedArrayBase::cast(object); 200 // Map::cast cannot be used due to uninitialized map field. 238 FixedArray::cast(obj)->set_length(0); 240 set_empty_fixed_array(FixedArray::cast(obj)); 247 WeakFixedArray::cast(obj)->set_length(0); 249 set_empty_weak_fixed_array(WeakFixedArray::cast(obj)); 257 WeakArrayList::cast(obj)->set_capacity(0) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/ |
IRMover.cpp | 71 return cast<FunctionType>(get((Type *)T)); 147 if (cast<StructType>(DstTy)->isOpaque()) { 149 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) 153 SpeculativeDstOpaqueTypes.push_back(cast<StructType>(DstTy)); 167 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) 170 if (FT->isVarArg() != cast<FunctionType>(SrcTy)->isVarArg()) 173 StructType *SSTy = cast<StructType>(SrcTy); 179 cast<SequentialType>(SrcTy)->getNumElements()) 200 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); 241 bool IsUniqued = !isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral() [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
SymbolManager.cpp | 125 itr.push_back(cast<SymbolCast>(SE)->getOperand()); 128 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); 131 itr.push_back(cast<IntSymExpr>(SE)->getRHS()); 134 const SymSymExpr *x = cast<SymSymExpr>(SE); 163 return cast<SymbolRegionValue>(SD); 182 return cast<SymbolConjured>(SD); 200 return cast<SymbolDerived>(SD); 216 return cast<SymbolExtent>(SD); 234 return cast<SymbolMetadata>(SD); 250 return cast<SymbolCast>(data) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
IRBuilderTest.cpp | 60 II = cast<IntrinsicInst>(Call); 64 II = cast<IntrinsicInst>(Call); 68 II = cast<IntrinsicInst>(Call); 162 FAdd = cast<Instruction>(F); 172 FAdd = cast<Instruction>(F); 199 FAdd = cast<Instruction>(F); 207 FAdd = cast<Instruction>(F); 214 FDiv = cast<Instruction>(F); 222 FDiv = cast<Instruction>(F); 234 FDiv = cast<Instruction>(F) [all...] |
/external/llvm/lib/Linker/ |
IRMover.cpp | 71 return cast<FunctionType>(get((Type *)T)); 141 if (cast<StructType>(DstTy)->isOpaque()) { 143 if (!DstResolvedOpaqueTypes.insert(cast<StructType>(DstTy)).second) 147 SpeculativeDstOpaqueTypes.push_back(cast<StructType>(DstTy)); 161 if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace()) 165 if (FT->isVarArg() != cast<FunctionType>(SrcTy)->isVarArg()) 168 StructType *SSTy = cast<StructType>(SrcTy); 173 if (DATy->getNumElements() != cast<ArrayType>(SrcTy)->getNumElements()) 176 if (DVTy->getNumElements() != cast<VectorType>(SrcTy)->getNumElements()) 197 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]) [all...] |
/external/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 51 return cast<foo>(this); 110 TEST(CastingTest, cast) { 111 foo &F1 = cast<foo>(B1); 113 const foo *F3 = cast<foo>(B2); 115 const foo *F4 = cast<foo>(B2); 117 const foo &F5 = cast<foo>(B3); 119 const foo *F6 = cast<foo>(B4) [all...] |
/external/llvm/lib/MC/ |
MCAssembler.cpp | 249 return cast<MCDataFragment>(F).getContents().size(); 251 return cast<MCRelaxableFragment>(F).getContents().size(); 253 return cast<MCCompactEncodedInstFragment>(F).getContents().size(); 255 return cast<MCFillFragment>(F).getSize(); 258 return cast<MCLEBFragment>(F).getContents().size(); 264 const MCAlignFragment &AF = cast<MCAlignFragment>(F); 279 const MCOrgFragment &OF = cast<MCOrgFragment>(F); 301 return cast<MCDwarfLineAddrFragment>(F).getContents().size(); 303 return cast<MCDwarfCallFrameFragment>(F).getContents().size(); 305 return cast<MCCVInlineLineTableFragment>(F).getContents().size() [all...] |
WinCOFFStreamer.cpp | 79 auto *Symbol = cast<MCSymbolCOFF>(S); 94 auto *Symbol = cast<MCSymbolCOFF>(S); 119 auto *Symbol = cast<MCSymbolCOFF>(S); 139 cast<MCSymbolCOFF>(CurSymbol)->setClass((uint16_t)StorageClass); 154 cast<MCSymbolCOFF>(CurSymbol)->setType((uint16_t)Type); 170 const MCSymbolCOFF *CSymbol = cast<MCSymbolCOFF>(Symbol); 208 auto *Symbol = cast<MCSymbolCOFF>(S); 240 auto *Symbol = cast<MCSymbolCOFF>(S);
|
/external/llvm/utils/TableGen/ |
DAGISelMatcher.h | 275 return cast<RecordChildMatcher>(M)->getChildNo() == getChildNo(); 325 return cast<MoveChildMatcher>(M)->getChildNo() == getChildNo(); 362 return cast<CheckSameMatcher>(M)->getMatchNumber() == getMatchNumber(); 386 return cast<CheckChildSameMatcher>(M)->ChildNo == ChildNo && 387 cast<CheckChildSameMatcher>(M)->MatchNumber == MatchNumber; 409 return cast<CheckPatternPredicateMatcher>(M)->getPredicate() == Predicate; 429 return cast<CheckPredicateMatcher>(M)->Pred == Pred; 499 return cast<CheckTypeMatcher>(M)->Type == Type; 550 return cast<CheckChildTypeMatcher>(M)->ChildNo == ChildNo && 551 cast<CheckChildTypeMatcher>(M)->Type == Type [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
DAGISelMatcher.h | 275 return cast<RecordChildMatcher>(M)->getChildNo() == getChildNo(); 325 return cast<MoveChildMatcher>(M)->getChildNo() == getChildNo(); 362 return cast<CheckSameMatcher>(M)->getMatchNumber() == getMatchNumber(); 386 return cast<CheckChildSameMatcher>(M)->ChildNo == ChildNo && 387 cast<CheckChildSameMatcher>(M)->MatchNumber == MatchNumber; 409 return cast<CheckPatternPredicateMatcher>(M)->getPredicate() == Predicate; 429 return cast<CheckPredicateMatcher>(M)->Pred == Pred; 499 return cast<CheckTypeMatcher>(M)->Type == Type; 550 return cast<CheckChildTypeMatcher>(M)->ChildNo == ChildNo && 551 cast<CheckChildTypeMatcher>(M)->Type == Type [all...] |
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/ |
classifier_metrics_impl.py | 143 images = math_ops.cast(images, dtypes.float32) 390 logits = math_ops.cast(logits, dtypes.float64) 400 final_score = math_ops.cast(final_score, logits_dtype) 565 real_activations = math_ops.cast(real_activations, dtypes.float64) 566 generated_activations = math_ops.cast(generated_activations, dtypes.float64) 577 mofid = math_ops.cast(mofid, activations_dtype) 626 real_activations = math_ops.cast(real_activations, dtypes.float64) 627 generated_activations = math_ops.cast(generated_activations, dtypes.float64) 652 dofid = math_ops.cast(dofid, activations_dtype) 701 real_activations = math_ops.cast(real_activations, dtypes.float64 [all...] |
/external/clang/lib/CodeGen/ |
CGCXX.cpp | 84 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl()); 152 auto *Ref = cast<llvm::GlobalValue>(GetAddrOfGlobal(TargetDecl)); 212 setAliasAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias); 221 auto *Fn = cast<llvm::Function>( 229 const auto *CD = cast<CXXConstructorDecl>(MD); 249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); 299 const auto *RD = cast<CXXRecordDecl>(RT->getDecl()); 314 const auto *MD = cast<CXXMethodDecl>(DD);
|
CGVTables.h | 72 return *cast<ItaniumVTableContext>(VTContext); 76 return *cast<MicrosoftVTableContext>(VTContext);
|
/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 74 cast<Function>(M->getOrInsertFunction("add1", Type::getInt32Ty(Context), 105 cast<Function>(M->getOrInsertFunction("foo", Type::getInt32Ty(Context),
|
/external/llvm/lib/CodeGen/ |
BuiltinGCs.cpp | 82 const PointerType *PT = cast<PointerType>(Ty); 115 const PointerType *PT = cast<PointerType>(Ty);
|
/external/llvm/lib/IR/ |
IntrinsicInst.cpp | 20 // cast instruction needs to be stripped away. 40 auto *MD = cast<MetadataAsValue>(Op)->getMetadata(); 45 assert(!cast<MDNode>(MD)->getNumOperands() && "Expected an empty MDNode");
|
Operator.cpp | 12 return cast<GetElementPtrConstantExpr>(this)->getSourceElementType(); 18 return cast<GetElementPtrConstantExpr>(this)->getResultElementType();
|
/external/python/cpython2/Lib/ctypes/test/ |
test_wintypes.py | 13 value = cast(true, POINTER(wintypes.VARIANT_BOOL)) 25 value = cast(false, POINTER(wintypes.VARIANT_BOOL))
|
/external/python/cpython3/Lib/ctypes/test/ |
test_wintypes.py | 13 value = cast(true, POINTER(wintypes.VARIANT_BOOL)) 25 value = cast(false, POINTER(wintypes.VARIANT_BOOL))
|
/external/skia/src/gpu/effects/ |
GrBlurredEdgeFragmentProcessor.cpp | 24 args.fFp.cast<GrBlurredEdgeFragmentProcessor>(); 48 const GrBlurredEdgeFragmentProcessor& that = other.cast<GrBlurredEdgeFragmentProcessor>();
|
GrConfigConversionEffect.cpp | 23 const GrConfigConversionEffect& _outer = args.fFp.cast<GrConfigConversionEffect>(); 51 const GrConfigConversionEffect& that = other.cast<GrConfigConversionEffect>();
|
/external/skia/src/gpu/gradients/ |
GrTextureGradientColorizer.cpp | 23 const GrTextureGradientColorizer& _outer = args.fFp.cast<GrTextureGradientColorizer>(); 42 const GrTextureGradientColorizer& that = other.cast<GrTextureGradientColorizer>();
|