Searched refs:IntToPtr (Results 1 - 25 of 101) sorted by relevance

12345

/external/libbrillo/brillo/streams/
H A Dinput_stream_set_unittest.cc41 inline static void* IntToPtr(int addr) { function in class:brillo::InputStreamSetTest
106 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _))
110 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
115 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _))
117 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100 , _, _, _))
121 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
126 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _))
128 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos,
138 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _))
142 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(100
[all...]
H A Dmemory_containers_unittest.cc45 inline static void* IntToPtr(int addr) { function in class:brillo::MemoryContainerTest
55 void* const test_read_buffer_ = IntToPtr(12345);
61 void* const buffer_ = IntToPtr(456);
H A Dmemory_stream_unittest.cc58 inline static void* IntToPtr(int addr) { function in class:brillo::MemoryStreamTest
69 void* const test_read_buffer_ = IntToPtr(12345);
/external/llvm/unittests/IR/
H A DInstructionsTest.cpp422 CastInst::IntToPtr,
430 CastInst::IntToPtr,
438 CastInst::IntToPtr,
444 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
451 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
470 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
484 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr,
488 CastInst::IntToPtr); member in class:llvm::__anon13773::CastInst
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DAddrModeMatcher.cpp133 case Instruction::IntToPtr:
162 case Instruction::IntToPtr:
/external/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp78 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal,
/external/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp170 case Instruction::IntToPtr:
/external/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp118 case Instruction::IntToPtr:
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DConstantFolding.cpp350 if (CE->getOpcode() == Instruction::IntToPtr &&
643 if (CE->getOpcode() == Instruction::IntToPtr)
843 if (TD && CE->getOpcode() == Instruction::IntToPtr) {
857 case Instruction::IntToPtr:
917 if (CE0->getOpcode() == Instruction::IntToPtr) {
940 if (CE0->getOpcode() == Instruction::IntToPtr) {
H A DScalarEvolutionExpander.cpp70 Op == Instruction::IntToPtr) &&
80 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) &&
84 CI->getOpcode() == Instruction::IntToPtr) &&
90 CE->getOpcode() == Instruction::IntToPtr) &&
/external/llvm/include/llvm/Analysis/
H A DTargetFolder.h194 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DTargetTransformInfoImpl.h73 case Instruction::IntToPtr: {
/external/llvm/include/llvm/IR/
H A DConstantFolder.h181 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DNoFolder.h234 return CreateCast(Instruction::IntToPtr, C, DestTy);
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DConstantFolder.h174 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DNoFolder.h221 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DTargetFolder.h186 return CreateCast(Instruction::IntToPtr, C, DestTy);
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp397 if (CE->getOpcode() == Instruction::IntToPtr &&
519 Cast = Instruction::IntToPtr;
818 if (CE->getOpcode() == Instruction::IntToPtr) {
1104 if (CE0->getOpcode() == Instruction::IntToPtr) {
1128 if (CE0->getOpcode() == Instruction::IntToPtr) {
1191 if (CE->getOpcode() == Instruction::IntToPtr) {
1206 case Instruction::IntToPtr:
H A DCostModel.cpp445 case Instruction::IntToPtr:
H A DMemoryBuiltins.cpp440 if (CE->getOpcode() == Instruction::IntToPtr)
709 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) ||
/external/llvm/unittests/Linker/
H A DLinkModulesTest.cpp55 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One,
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DInstruction.cpp146 case IntToPtr: return "inttoptr";
H A DInstructions.cpp2062 case Instruction::IntToPtr:
2131 { 99,99,99,99,99,99,99,99,99,13,99,12 }, // IntToPtr |
2263 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore);
2286 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd);
2571 return IntToPtr; // int -> ptr
2649 case Instruction::IntToPtr:
2785 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
2786 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");
2791 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) {
2792 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");
[all...]
/external/llvm/lib/IR/
H A DInstructions.cpp2390 case Instruction::IntToPtr:
2405 else if (getOpcode() == Instruction::IntToPtr)
2474 { 99,99,99,99,99,99,99,99,99,11,99,15, 0}, // IntToPtr |
2661 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore);
2683 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd);
2805 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore);
3062 return IntToPtr; // int -> ptr
3139 case Instruction::IntToPtr:
3320 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
3321 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");
[all...]
/external/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h333 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr,

Completed in 699 milliseconds

12345