/external/bcc/tests/python/ |
test_usdt.py | 187 event = ct.cast(data, ct.POINTER(Data1)).contents 191 event = ct.cast(data, ct.POINTER(Data2)).contents 196 event = ct.cast(data, ct.POINTER(Data3)).contents 200 event = ct.cast(data, ct.POINTER(Data4)).contents 204 event = ct.cast(data, ct.POINTER(Data5)).contents
|
/external/clang/lib/Sema/ |
ScopeInfo.cpp | 67 D = cast<DeclRefExpr>(E)->getDecl(); 71 const MemberExpr *ME = cast<MemberExpr>(E); 77 const ObjCIvarRefExpr *IE = cast<ObjCIvarRefExpr>(E); 83 const PseudoObjectExpr *POE = cast<PseudoObjectExpr>(E); 126 const OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(PropE->getBase());
|
SemaExceptionSpec.cpp | 166 EvaluateImplicitExceptionSpec(Loc, cast<CXXMethodDecl>(SourceDecl)); 188 Context.adjustExceptionSpec(cast<FunctionDecl>(Redecl), ESI); [all...] |
/external/eigen/test/ |
permutationmatrices.cpp | 67 VERIFY_IS_APPROX((lp*lp2).toDenseMatrix().template cast<Scalar>(), lm*lm2); 68 VERIFY_IS_APPROX((lv.asPermutation()*lv2.asPermutation()).toDenseMatrix().template cast<Scalar>(), lm*lm2); 69 VERIFY_IS_APPROX((MapLeftPerm(lv.data(),lv.size())*MapLeftPerm(lv2.data(),lv2.size())).toDenseMatrix().template cast<Scalar>(), lm*lm2); 101 VERIFY_IS_APPROX(lm, lp2.toDenseMatrix().template cast<Scalar>()); 109 VERIFY_IS_APPROX(rm, rp2.toDenseMatrix().template cast<Scalar>());
|
/external/llvm/lib/IR/ |
ProfileSummary.cpp | 99 Val = cast<ConstantInt>(ValMD->getValue())->getZExtValue(); 139 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), 140 cast<ConstantInt>(Op1->getValue())->getZExtValue(), 141 cast<ConstantInt>(Op2->getValue())->getZExtValue()); 151 MDTuple *Tuple = cast<MDTuple>(MD);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombinePHI.cpp | 29 Instruction *FirstInst = cast<Instruction>(PN.getIncomingValue(0)); 50 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) 89 Instruction *InInst = cast<Instruction>(PN.getIncomingValue(i)); 108 BinaryOperator *BinOp = cast<BinaryOperator>(FirstInst); 122 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0)); 212 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i)); 277 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); 362 LoadInst *LI = cast<LoadInst>(PN.getIncomingValue(i)); 384 cast<LoadInst>(IncValue)->setVolatile(false); 390 /// TODO: This function could handle other cast types, but then it migh [all...] |
InstCombineVectorOps.cpp | 82 PHIUser = cast<Instruction>(U); 100 PHINode *scalarPHI = cast<PHINode>(InsertNewInstWith( 112 BinaryOperator *B0 = cast<BinaryOperator>(PHIUser); 248 // Canonicalize extractelement(cast) -> cast(extractelement). 329 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue(); 342 cast<ConstantInt>(EI->getOperand(1))->getZExtValue(); 455 unsigned NumElts = cast<VectorType>(V->getType())->getNumElements(); 477 cast<ConstantInt>(EI->getOperand(1))->getZExtValue(); 478 unsigned InsertedIdx = cast<ConstantInt>(IdxOp)->getZExtValue() [all...] |
/external/llvm/lib/Transforms/Utils/ |
CloneModule.cpp | 68 Function *NF = Function::Create(cast<FunctionType>(I.getValueType()), 84 GV = Function::Create(cast<FunctionType>(I->getValueType()), 114 GlobalVariable *GV = cast<GlobalVariable>(VMap[&*I]); 130 Function *F = cast<Function>(VMap[&I]); 159 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]);
|
/external/llvm/unittests/IR/ |
VerifierTest.cpp | 30 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); 53 Function *F = cast<Function>(M.getOrInsertFunction("foo", FTy)); 71 Function *F1 = cast<Function>(M1.getOrInsertFunction("foo1", FTy)); 72 Function *F2 = cast<Function>(M2.getOrInsertFunction("foo2", FTy)); 73 Function *F3 = cast<Function>(M3.getOrInsertFunction("foo3", FTy));
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
DbgInfoPrinter.cpp | 69 DIDescriptor DIG(cast<MDNode>(NMD->getOperand(i))); 86 DIDescriptor DIG(cast<MDNode>(NMD->getOperand(i))); 128 DIGlobalVariable Var(cast<MDNode>(DIGV)); 139 DISubprogram Var(cast<MDNode>(DIF)); 150 DIVariable Var(cast<MDNode>(DDI->getVariable()));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
ArgumentPromotion.cpp | 158 Type *AgTy = cast<PointerType>(PtrArg->getType())->getElementType(); 532 Type *AgTy = cast<PointerType>(I->getType())->getElementType(); 533 StructType *STy = cast<StructType>(AgTy); 554 Instruction *User = cast<Instruction>(*UI); 563 Indices.push_back(cast<ConstantInt>(*II)->getSExtValue()); 573 OrigLoad = cast<LoadInst>(User->use_back()); 665 Type *AgTy = cast<PointerType>(I->getType())->getElementType(); 666 StructType *STy = cast<StructType>(AgTy); 699 ElTy = cast<CompositeType>(ElTy)->getTypeAtIndex(*II); 736 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv()) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
CorrelatedValuePropagation.cpp | 123 Pointer = cast<StoreInst>(I)->getPointerOperand(); 143 cast<Instruction>(Op0)->getParent() == C->getParent()) 187 BBChanged |= processSelect(cast<SelectInst>(II)); 190 BBChanged |= processPHI(cast<PHINode>(II)); 194 BBChanged |= processCmp(cast<CmpInst>(II));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
SparcMCExpr.cpp | 179 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Expr); 186 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr); 187 cast<MCSymbolELF>(SymRef.getSymbol()).setType(ELF::STT_TLS); 192 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm); 208 auto ELFSymbol = cast<MCSymbolELF>(Symbol);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
CloneModule.cpp | 77 Function *NF = Function::Create(cast<FunctionType>(I.getValueType()), 93 GV = Function::Create(cast<FunctionType>(I->getValueType()), 123 GlobalVariable *GV = cast<GlobalVariable>(VMap[&*I]); 147 Function *F = cast<Function>(VMap[&I]); 178 GlobalAlias *GA = cast<GlobalAlias>(VMap[&*I]);
|
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/ |
segmentation_test.py | 49 arr = math_ops.cast( 70 image_ops.connected_components(math_ops.cast( 77 image_ops.connected_components(math_ops.cast( 90 math_ops.cast(disconnected_snake, dtypes.bool)).eval() 126 image_ops.connected_components(math_ops.cast(
|
/external/tensorflow/tensorflow/contrib/image/python/ops/ |
dense_image_warp.py | 105 max_floor = math_ops.cast(size_in_indexing_dimension - 2, query_type) 109 int_floor = math_ops.cast(floor, dtypes.int32) 116 alpha = math_ops.cast(queries - floor, grid_type) 128 math_ops.cast(batch_size * height * width, dtype=dtypes.float32), 207 stacked_grid = math_ops.cast(
|
/external/v8/src/ |
accessors.cc | 112 Handle<JSObject>::cast(Utils::OpenHandle(*info.Holder())); 158 JSArray* holder = JSArray::cast(*Utils::OpenHandle(*info.Holder())); 175 Handle<JSArray> array = Handle<JSArray>::cast(object); 238 JSModuleNamespace::cast(*Utils::OpenHandle(*info.Holder())); 241 ->GetExport(isolate, Handle<String>::cast(Utils::OpenHandle(*name))) 256 Handle<JSModuleNamespace>::cast(Utils::OpenHandle(*info.Holder())); 297 value = JSValue::cast(*Utils::OpenHandle(*info.Holder()))->value(); 299 Object* result = Smi::FromInt(String::cast(value)->length()); 329 Handle<JSFunction>::cast(Utils::OpenHandle(*info.Holder())); 344 Handle<JSFunction>::cast(Utils::OpenHandle(*info.Holder())) [all...] |
/external/v8/src/builtins/ |
builtins-number.cc | 29 value = handle(Handle<JSValue>::cast(value)->value(), isolate); 74 value = handle(Handle<JSValue>::cast(value)->value(), isolate); 118 value = handle(Handle<JSValue>::cast(value)->value(), isolate); 148 value = handle(Handle<JSValue>::cast(value)->value(), isolate); 193 value = handle(Handle<JSValue>::cast(value)->value(), isolate);
|
/external/v8/src/runtime/ |
runtime-object.cc | 43 Symbol::cast(*key)->is_private_field()) { 70 if (key_obj->IsString() && String::cast(*key_obj)->AsArrayIndex(&index)) { 76 Handle<JSObject> receiver = Handle<JSObject>::cast(receiver_obj); 77 Handle<Name> key = Handle<Name>::cast(key_obj); 84 JSGlobalObject::cast(*receiver)->global_dictionary(); 113 Handle<JSObject> js_object = Handle<JSObject>::cast(receiver_obj); 128 Handle<String> str = Handle<String>::cast(receiver_obj); 129 int index = Handle<Smi>::cast(key_obj)->value(); 154 Handle<Name> key = Handle<Name>::cast(raw_key); 169 if (Map::cast(backpointer)->NumberOfOwnDescriptors() != nof - 1) return false [all...] |
/external/llvm/lib/Transforms/IPO/ |
GlobalOpt.cpp | 93 SequentialType *STy = cast<SequentialType>(Ty); 98 StructType *STy = cast<StructType>(Ty); 130 Instruction *I = cast<Instruction>(V); 247 User *U = cast<User>(UV); 269 // Pointer cast, delete any stores and memsets to the global. 341 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) 357 cast<ConstantExpr>(U)->getOpcode() != Instruction::GetElementPtr)) 365 !cast<Constant>(U->getOperand(1))->isNullValue() || 375 ConstantInt *Idx = cast<ConstantInt>(U->getOperand(2)); 479 NumElements = cast<VectorType>(STy)->getNumElements() [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
ConstantFold.cpp | 50 // If this cast changes element count then we can't handle it here: 71 /// This function determines which opcode to use to fold two constant cast 74 /// Determine if it is valid to fold a cast of a cast 77 unsigned opc, ///< opcode of the second cast constant expression 78 ConstantExpr *Op, ///< the first cast constant expression 79 Type *DstTy ///< destination type of the first cast 81 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); [all...] |
/external/clang/lib/AST/ |
Expr.cpp | 51 return cast<CXXRecordDecl>(D); 67 = cast<CXXRecordDecl>(E->getType()->getAs<RecordType>()->getDecl()); 639 cast<CXXMethodDecl>(FD)->getParent()->isLambda()) [all...] |
/external/clang/lib/Analysis/ |
ThreadSafetyCommon.cpp | 42 return cast<IntegerLiteral>(CE)->getValue().toString(10, true); 45 ret += cast<StringLiteral>(CE)->getString(); 188 if (auto *CE = dyn_cast_or_null<til::Cast>(E)) { 209 return translateDeclRefExpr(cast<DeclRefExpr>(S), Ctx); 211 return translateCXXThisExpr(cast<CXXThisExpr>(S), Ctx); 213 return translateMemberExpr(cast<MemberExpr>(S), Ctx); 215 return translateCallExpr(cast<CallExpr>(S), Ctx); 217 return translateCXXMemberCallExpr(cast<CXXMemberCallExpr>(S), Ctx); 219 return translateCXXOperatorCallExpr(cast<CXXOperatorCallExpr>(S), Ctx); 221 return translateUnaryOperator(cast<UnaryOperator>(S), Ctx) [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | 241 ExtractValueInst *EI = cast<ExtractValueInst>(E); 254 LoadInst *LI = cast<LoadInst>(UserInst); 258 StoreInst *SI = cast<StoreInst>(UserInst); 262 CallInst *CI = cast<CallInst>(UserInst); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
InstrEmitter.cpp | 117 unsigned DestReg = cast<RegisterSDNode>(User->getOperand(1))->getReg(); 201 unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg(); 239 VRBase = cast<RegisterSDNode>(Node->getOperand(i-NumResults))->getReg(); 249 unsigned Reg = cast<RegisterSDNode>(User->getOperand(1))->getReg(); 504 unsigned DestReg = cast<RegisterSDNode>(User->getOperand(1))->getReg(); 516 unsigned SubIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); 572 unsigned SubIdx = cast<ConstantSDNode>(N2)->getZExtValue(); 602 const ConstantSDNode *SD = cast<ConstantSDNode>(N0); 631 unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(1))->getZExtValue(); 649 unsigned DstRCIdx = cast<ConstantSDNode>(Node->getOperand(0))->getZExtValue() [all...] |