Home
last modified time | relevance | path

Searched refs:AsInt (Results 1 – 18 of 18) sorted by relevance

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-sizeof-expression.cpp21 int AsInt() { return 0; } in AsInt() function
27 int AsInt() { return 0; } in AsInt() function
83 sum += sizeof(AsInt()); in Test1()
89 sum += sizeof(M{}.AsInt()); in Test1()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dgrpc_tpu_driver.cc499 req->set_operation_id(operation_id.AsInt()); in InitializeRequest()
506 req->add_wait_for_id(grpc_event->id().AsInt()); in InitializeRequest()
762 req->mutable_alloc_tuple()->add_children(grpc_child->id().AsInt()); in AllocateTuple()
776 req->mutable_dealloc()->set_handle(grpc_handle->id().AsInt()); in Deallocate()
791 static_cast<GrpcBufferHandle*>(dst)->id().AsInt()); in TransferToDevice()
804 static_cast<const GrpcBufferHandle*>(src)->id().AsInt()); in TransferFromDevice()
827 static_cast<const GrpcBufferHandle*>(src)->id().AsInt()); in TransferFromDeviceToDevice()
829 static_cast<const GrpcBufferHandle*>(dst)->id().AsInt()); in TransferFromDeviceToDevice()
876 req->mutable_load()->set_compiled_program_handle(grpc_handle->id().AsInt()); in LoadProgram()
891 static_cast<GrpcLoadedProgramHandle*>(handle.get())->id().AsInt()); in UnloadProgram()
[all …]
Devent_id.h54 uint64_t AsInt() const { return client_id << 44 | operation_id; } in AsInt() function
/external/clang/test/CXX/temp/temp.decls/temp.mem/
Dp5.cpp47 int AsInt() { in AsInt() function in Foo
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.mem/
Dp5.cpp47 int AsInt() { in AsInt() function in Foo
/external/starlark-go/starlark/
Dunpack.go204 return AsInt(v, ptr)
Dint.go353 func AsInt(x Value, ptr interface{}) error { func
Deval_test.go733 if err := starlark.AsInt(test.val, test.ptr); err != nil {
Deval.go1013 if err := AsInt(needle, &b); err != nil {
Dlibrary.go232 if err := AsInt(elem, &b); err != nil {
/external/llvm-project/llvm/unittests/Support/
DJSONTest.cpp301 llvm::Optional<int64_t> AsInt; in TEST() member
352 EXPECT_EQ(Doc->getAsInteger(), T.AsInt) << T.Desc; in TEST()
/external/llvm-project/llvm/lib/MC/MCParser/
DMasmParser.cpp3685 APInt AsInt; in parseRealInstList() local
3686 if (parseRealValue(Semantics, AsInt)) in parseRealInstList()
3688 ValuesAsInt.push_back(AsInt); in parseRealInstList()
3710 for (const APInt &AsInt : ValuesAsInt) { in emitRealValues() local
3711 getStreamer().emitIntValue(AsInt); in emitRealValues()
4076 for (const APInt &AsInt : Contents.AsIntValues) { in emitFieldValue() local
4077 getStreamer().emitIntValue(AsInt.getLimitedValue(), in emitFieldValue()
4078 AsInt.getBitWidth() / 8); in emitFieldValue()
4128 for (const auto &AsInt : Initializer.AsIntValues) { in emitFieldInitializer() local
4129 getStreamer().emitIntValue(AsInt.getLimitedValue(), in emitFieldInitializer()
[all …]
DAsmParser.cpp3179 APInt AsInt; in parseDirectiveRealValue() local
3180 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) in parseDirectiveRealValue()
3182 getStreamer().emitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealValue()
3183 AsInt.getBitWidth() / 8); in parseDirectiveRealValue()
4820 APInt AsInt; in parseDirectiveRealDCB() local
4821 if (parseRealValue(Semantics, AsInt)) in parseDirectiveRealDCB()
4829 getStreamer().emitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealDCB()
4830 AsInt.getBitWidth() / 8); in parseDirectiveRealDCB()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmParser.cpp3153 APInt AsInt; in parseDirectiveRealValue() local
3154 if (checkForValidSection() || parseRealValue(Semantics, AsInt)) in parseDirectiveRealValue()
3156 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealValue()
3157 AsInt.getBitWidth() / 8); in parseDirectiveRealValue()
4785 APInt AsInt; in parseDirectiveRealDCB() local
4786 if (parseRealValue(Semantics, AsInt)) in parseDirectiveRealDCB()
4794 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealDCB()
4795 AsInt.getBitWidth() / 8); in parseDirectiveRealDCB()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2782 APInt AsInt = Value.bitcastToAPInt(); in parseDirectiveRealValue() local
2783 getStreamer().EmitIntValue(AsInt.getLimitedValue(), in parseDirectiveRealValue()
2784 AsInt.getBitWidth() / 8); in parseDirectiveRealValue()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp6918 APSInt AsInt(Val.bitcastToAPInt()); in visitFloat() local
6919 return visitInt(AsInt, Ty, Offset); in visitFloat()
13276 APSInt AsInt; in VisitCastExpr() local
13279 if (!V.toIntegralConstant(AsInt, SrcType, Info.Ctx)) in VisitCastExpr()
13282 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E); in VisitCastExpr()
/external/clang/lib/AST/
DExprConstant.cpp8132 APSInt AsInt = Info.Ctx.MakeIntValue(LV.getLValueOffset().getQuantity(), in VisitCastExpr() local
8134 return Success(HandleIntToIntCast(Info, E, DestType, SrcType, AsInt), E); in VisitCastExpr()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp8313 llvm::Value *AsInt = in EmitVAArgFromMemory() local
8320 CGF.Builder.CreateAnd(AsInt, Mask), __overflow_area_pointer->getType(), in EmitVAArgFromMemory()