/external/libbrillo/brillo/streams/ |
D | input_stream_set_unittest.cc | 41 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::InputStreamSetTest 106 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 115 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 117 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100 , _, _, _)) in TEST_F() 121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 126 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 138 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 142 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(1000), 100, &read, nullptr)); in TEST_F() [all …]
|
D | memory_containers_unittest.cc | 45 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::MemoryContainerTest 55 void* const test_read_buffer_ = IntToPtr(12345); 61 void* const buffer_ = IntToPtr(456);
|
D | memory_stream_unittest.cc | 58 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::MemoryStreamTest 69 void* const test_read_buffer_ = IntToPtr(12345);
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SafeStack/X86/ |
D | cast.ll | 6 ; PtrToInt/IntToPtr Cast 8 define void @IntToPtr() nounwind uwtable safestack { 10 ; CHECK-LABEL: @IntToPtr(
|
/external/llvm/test/Transforms/SafeStack/ |
D | cast.ll | 6 ; PtrToInt/IntToPtr Cast 8 define void @IntToPtr() nounwind uwtable safestack { 10 ; CHECK-LABEL: @IntToPtr(
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in FoldIntegerTypedPHI() local 103 if (!IntToPtr) in FoldIntegerTypedPHI() 124 if (!HasPointerUse(IntToPtr)) in FoldIntegerTypedPHI() 127 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) != in FoldIntegerTypedPHI() 128 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in FoldIntegerTypedPHI() 144 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 190 if (!PtrPHI || PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in FoldIntegerTypedPHI() 206 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 210 IntToPtr->getOperand(0)->getType()); in FoldIntegerTypedPHI() 216 return (V->getType() != IntToPtr->getType()) || in FoldIntegerTypedPHI() [all …]
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 422 CastInst::IntToPtr, in TEST() 430 CastInst::IntToPtr, in TEST() 438 CastInst::IntToPtr, in TEST() 444 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 451 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 470 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 484 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 488 CastInst::IntToPtr); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 434 CastInst::IntToPtr, in TEST() 442 CastInst::IntToPtr, in TEST() 450 CastInst::IntToPtr, in TEST() 456 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 463 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 482 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 496 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 500 CastInst::IntToPtr); in TEST()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 350 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 643 if (CE->getOpcode() == Instruction::IntToPtr) in SymbolicallyEvaluateGEP() 843 if (TD && CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldInstOperands() 857 case Instruction::IntToPtr: in ConstantFoldInstOperands() 917 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 940 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 133 case Instruction::IntToPtr: in MightBeFoldableInst() 162 case Instruction::IntToPtr: in MatchOperationAddr()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 397 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 519 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 818 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1104 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1128 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1191 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1206 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 170 case Instruction::IntToPtr: in getIntImmCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SpeculativeExecution.cpp | 231 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 335 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 475 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 872 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1191 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1215 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1283 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1298 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr: in createReplacementInstr()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr: in createReplacementInstr()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 78 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 174 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
D | NoFolder.h | 221 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
D | TargetFolder.h | 186 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 209 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 181 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 342 IntToPtr(atomic_memory_address, atomic_address_type); in EmitAtomicOperationUsingCAS() 345 binop_output_address = IntToPtr(binop_output_address, element_address_type); in EmitAtomicOperationUsingCAS()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instruction.def | 156 HANDLE_CAST_INST(44, IntToPtr, IntToPtrInst) // Integer -> Pointer
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|