/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
GetElementPtrTypeIterator.h | 129 auto *GEPOp = cast<GEPOperator>(GEP); 140 auto &GEPOp = cast<GEPOperator>(GEP);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
FunctionComparator.h | 349 return cmpGEPs(cast<GEPOperator>(GEPL), cast<GEPOperator>(GEPR));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
OptimizationRemarkEmitter.cpp | 63 return BFI->getBlockProfileCount(cast<BasicBlock>(V)); 75 auto &OptDiag = cast<DiagnosticInfoIROptimization>(OptDiagBase);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
SymbolSize.cpp | 31 return cast<COFFObjectFile>(O).getSectionID(Sec); 37 return cast<COFFObjectFile>(O).getSymbolSectionID(Sym);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
WebAssemblyAddMissingPrototypes.cpp | 95 cast<FunctionType>(BC->getDestTy()->getPointerElementType()); 116 cast<FunctionType>(BC->getDestTy()->getPointerElementType());
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 141 Type *AgTy = cast<PointerType>(I->getType())->getElementType(); 142 StructType *STy = cast<StructType>(AgTy); 166 Instruction *UI = cast<Instruction>(U); 171 SrcTy = cast<GetElementPtrInst>(UI)->getSourceElementType(); 179 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue()); 189 OrigLoad = cast<LoadInst>(UI->user_back()); 197 cast<PointerType>(I->getType()->getScalarType())->getElementType(), 256 Type *AgTy = cast<PointerType>(I->getType())->getElementType(); 257 StructType *STy = cast<StructType>(AgTy); 292 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(II) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
Reg2Mem.cpp | 53 const Instruction *UI = cast<Instruction>(U); 119 DemotePHIToStack(cast<PHINode>(ilb), AllocaInsertionPoint);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | 253 auto *EI0 = cast<ExtractElementInst>(VL[0]); 260 auto *EI = cast<ExtractElementInst>(VL[I]); 358 unsigned Opcode = cast<Instruction>(VL[BaseIndex])->getOpcode(); 365 unsigned InstOpcode = cast<Instruction>(VL[Cnt])->getOpcode(); 375 Type *Ty0 = cast<Instruction>(VL[BaseIndex])->getOperand(0)->getType(); 376 Type *Ty1 = cast<Instruction>(VL[Cnt])->getOperand(0)->getType(); 391 return InstructionsState(VL[BaseIndex], cast<Instruction>(VL[BaseIndex]), 392 cast<Instruction>(VL[AltIndex])); 418 ExtractValueInst *EI = cast<ExtractValueInst>(E); 431 LoadInst *LI = cast<LoadInst>(UserInst) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 40 return cast<T>(V2); 222 Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V)); 223 Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V)); 224 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); 269 Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V)); 270 Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V)); 271 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)); 320 Instruction *AddInst = cast<Instruction>(Builder2.CreateAdd(V, V)); 321 Instruction *MulInst = cast<Instruction>(Builder2.CreateMul(AddInst, V)); 322 Instruction *SubInst = cast<Instruction>(Builder2.CreateSub(MulInst, V)) [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
summaries.py | 95 0], standard_ops.cast(0.0, op.op.inputs[0].dtype)))), 102 0], standard_ops.cast(6.0, op.op.inputs[0].dtype)))),
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
ragged_batch_gather_ops.py | 107 adjusted_index_values = math_ops.cast( 119 adjusted_indices = math_ops.cast(indices, dtypes.int64) + adjustments
|
/external/v8/src/compiler/ |
instruction-scheduler.h | 189 (UnallocatedOperand::cast(instr->OutputAt(0)) 191 UnallocatedOperand::cast(instr->OutputAt(0))
|
/external/v8/src/debug/ |
debug-frames.cc | 26 script_ = Handle<Script>::cast(summary.script()); 47 WasmInterpreterEntryFrame::cast(frame_)
|
/external/v8/src/ |
layout-descriptor.h | 46 V8_INLINE static LayoutDescriptor* cast(Object* object); 47 V8_INLINE static const LayoutDescriptor* cast(const Object* object);
|
value-serializer.cc | 351 WriteSmi(Smi::cast(*object)); 356 switch (HeapObject::cast(*object)->map()->instance_type()) { 358 WriteOddball(Oddball::cast(*object)); 361 WriteHeapNumber(HeapNumber::cast(*object)); 364 WriteMutableHeapNumber(MutableHeapNumber::cast(*object)); 367 WriteBigInt(BigInt::cast(*object)); 376 Handle<JSArrayBufferView> view = Handle<JSArrayBufferView>::cast(object); 380 ? Handle<JSTypedArray>::cast(view)->GetBuffer() 381 : handle(JSArrayBuffer::cast(view->buffer()), isolate_)); 388 WriteString(Handle<String>::cast(object)) [all...] |
messages.cc | 46 data_str = Handle<String>::cast(data)->ToCString(DISALLOW_NULLS); 68 ? Handle<Object>::cast(factory->undefined_value()) 69 : Handle<Object>::cast(stack_frames); 150 FixedArray* listener = FixedArray::cast(global_listeners->get(i)); 151 Foreign* callback_obj = Foreign::cast(listener->get(0)); 177 Handle<JSMessageObject> message = Handle<JSMessageObject>::cast(data); 218 return Handle<String>::cast(sourceURL); 240 Handle<Script>::cast(eval_from_script_obj); 254 builder.AppendString(Handle<String>::cast(name_obj)); 324 return Handle<Object>::cast(function_) [all...] |
/external/v8/src/objects/ |
managed.h | 56 static Managed<CppType>* cast(Object* obj) { function in class:v8::internal::Managed 97 Handle<Managed<CppType>> handle = Handle<Managed<CppType>>::cast(
|
/external/v8/src/parsing/ |
parsing.cc | 27 Handle<String> source(String::cast(info->script()->source()), isolate); 62 Handle<String> source(String::cast(info->script()->source()), isolate);
|
/external/v8/src/profiler/ |
heap-snapshot-generator.cc | 568 HeapObject* object = HeapObject::cast(obj); 575 HeapObject* object = HeapObject::cast(obj); 581 HeapObject* object = HeapObject::cast(obj); 592 HeapObject* object = HeapObject::cast(obj); 619 JSFunction* func = JSFunction::cast(object); 623 JSGeneratorObject* gen = JSGeneratorObject::cast(object); 627 JSObject* obj = JSObject::cast(object); 637 Script* script = Script::cast(func->shared()->script()); 647 JSFunction* func = JSFunction::cast(object); 654 JSRegExp* re = JSRegExp::cast(object) [all...] |
/external/v8/src/snapshot/ |
object-deserializer.cc | 31 ? Handle<SharedFunctionInfo>::cast(result) 49 result = handle(HeapObject::cast(root), isolate);
|
partial-deserializer.cc | 25 return maybe_result.ToHandle(&result) ? Handle<Context>::cast(result) 74 Handle<JSObject> obj(JSObject::cast(GetBackReferencedObject(space)),
|
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/ |
BitcodeWriter.cpp | 63 default: llvm_unreachable("Unknown cast instruction!"); 273 TypeVals.push_back(cast<IntegerType>(T)->getBitWidth()); 276 PointerType *PTy = cast<PointerType>(T); 286 FunctionType *FT = cast<FunctionType>(T); 298 StructType *ST = cast<StructType>(T); 325 ArrayType *AT = cast<ArrayType>(T); 334 VectorType *VT = cast<VectorType>(T); 787 const Constant *C = cast<Constant>(V); 839 } else if (isa<ConstantArray>(C) && cast<ConstantArray>(C)->isString()) { 840 const ConstantArray *CA = cast<ConstantArray>(C) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 369 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy)); 455 Ops.push_back(cast<Constant>(C->getOperand(j))); 459 Ops.push_back(cast<Constant>(Mapped)); 466 Ops.push_back(cast<Constant>(Mapped)); 477 return getVM()[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops); 479 return getVM()[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops); 488 return getVM()[V] = ConstantPointerNull::get(cast<PointerType>(NewTy)); 492 Function *F = cast<Function>(mapValue(BA.getFunction())); 534 const MDNode &N = *cast<MDNode>(Op); 554 cast<MDNode>((M.Flags & RF_MoveDistinctMDs [all...] |
/external/clang/lib/Sema/ |
SemaAccess.cpp | 71 DC = cast<EnumDecl>(DC)->getDeclContext(); 73 CXXRecordDecl *DeclaringClass = cast<CXXRecordDecl>(DC); 75 DeclaringClass = cast<CXXRecordDecl>(DeclaringClass->getDeclContext()); 107 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC); 111 FunctionDecl *Function = cast<FunctionDecl>(DC); 217 InstanceContext = (IC ? cast<CXXRecordDecl>(IC)->getCanonicalDecl() 231 namingClass = cast<CXXRecordDecl>(namingClass->getParent()); 303 RD = cast<CXXRecordDecl>(RT->getDecl()); 427 return MatchesFriend(S, EC, cast<CXXRecordDecl>(RT->getDecl())); 454 CTD = cast<ClassTemplateSpecializationDecl>(Record [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 49 // If this cast changes element count then we can't handle it here: 70 /// This function determines which opcode to use to fold two constant cast 73 /// @brief Determine if it is valid to fold a cast of a cast 76 unsigned opc, ///< opcode of the second cast constant expression 77 ConstantExpr *Op, ///< the first cast constant expression 78 Type *DstTy ///< destination type of the first cast 80 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); [all...] |