Home
last modified time | relevance | path

Searched refs:IntToPtr (Results 1 – 25 of 174) sorted by relevance

1234567

/external/libbrillo/brillo/streams/
Dinput_stream_set_unittest.cc41 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 …]
Dmemory_containers_unittest.cc45 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);
Dmemory_stream_unittest.cc58 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/
Dcast.ll6 ; PtrToInt/IntToPtr Cast
8 define void @IntToPtr() nounwind uwtable safestack {
10 ; CHECK-LABEL: @IntToPtr(
/external/llvm/test/Transforms/SafeStack/
Dcast.ll6 ; 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/
DInstCombinePHI.cpp102 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/
DInstructionsTest.cpp422 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/
DInstructionsTest.cpp434 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/
DConstantFolding.cpp350 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/
DAddrModeMatcher.cpp133 case Instruction::IntToPtr: in MightBeFoldableInst()
162 case Instruction::IntToPtr: in MatchOperationAddr()
/external/llvm/lib/Analysis/
DConstantFolding.cpp397 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/
DSystemZTargetTransformInfo.cpp170 case Instruction::IntToPtr: in getIntImmCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculativeExecution.cpp231 case Instruction::IntToPtr: in ComputeSpeculationCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DConstantFolding.cpp335 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/
DXCoreLowerThreadLocal.cpp118 case Instruction::IntToPtr: in createReplacementInstr()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp118 case Instruction::IntToPtr: in createReplacementInstr()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp78 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h174 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
DNoFolder.h221 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
DTargetFolder.h186 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h209 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/external/llvm/include/llvm/IR/
DConstantFolder.h181 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc342 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/
DInstruction.def156 HANDLE_CAST_INST(44, IntToPtr, IntToPtrInst) // Integer -> Pointer
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()

1234567