/external/libbrillo/brillo/streams/ |
D | input_stream_set_test.cc | 42 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::InputStreamSetTest 107 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 111 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 116 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 118 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100 , _, _, _)) in TEST_F() 122 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 127 EXPECT_CALL(*itf2_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 129 EXPECT_TRUE(stream_->ReadNonBlocking(IntToPtr(1000), 100, &read, &eos, in TEST_F() 139 EXPECT_CALL(*itf1_, ReadNonBlocking(IntToPtr(1000), 100, _, _, _)) in TEST_F() 143 EXPECT_TRUE(stream_->ReadBlocking(IntToPtr(1000), 100, &read, nullptr)); in TEST_F() [all …]
|
D | memory_containers_test.cc | 51 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::MemoryContainerTest 61 void* const test_read_buffer_ = IntToPtr(12345); 67 void* const buffer_ = IntToPtr(456);
|
D | memory_stream_test.cc | 65 inline static void* IntToPtr(int addr) { in IntToPtr() function in brillo::MemoryStreamTest 76 void* const test_read_buffer_ = IntToPtr(12345);
|
/external/llvm/test/Transforms/SafeStack/ |
D | cast.ll | 6 ; PtrToInt/IntToPtr Cast 8 define void @IntToPtr() nounwind uwtable safestack { 10 ; CHECK-LABEL: @IntToPtr(
|
/external/llvm-project/llvm/test/Transforms/SafeStack/X86/ |
D | cast.ll | 6 ; PtrToInt/IntToPtr Cast 8 define void @IntToPtr() nounwind uwtable safestack { 10 ; CHECK-LABEL: @IntToPtr(
|
/external/swiftshader/third_party/llvm-10.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() 191 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in FoldIntegerTypedPHI() 207 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in FoldIntegerTypedPHI() 211 IntToPtr->getOperand(0)->getType()); in FoldIntegerTypedPHI() 216 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); in FoldIntegerTypedPHI() [all …]
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 111 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back()); in foldIntegerTypedPHI() local 112 if (!IntToPtr) in foldIntegerTypedPHI() 133 if (!HasPointerUse(IntToPtr)) in foldIntegerTypedPHI() 136 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) != in foldIntegerTypedPHI() 137 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType())) in foldIntegerTypedPHI() 153 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() && in foldIntegerTypedPHI() 200 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr->getType()) in foldIntegerTypedPHI() 216 assert(MatchingPtrPHI->getType() == IntToPtr->getType() && in foldIntegerTypedPHI() 220 IntToPtr->getOperand(0)->getType()); in foldIntegerTypedPHI() 225 return (V->getType() != IntToPtr->getType()) || isa<IntToPtrInst>(V); 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/llvm-project/llvm/lib/Transforms/Scalar/ |
D | InferAddressSpaces.cpp | 234 assert(I2P->getOpcode() == Instruction::IntToPtr); in isNoopPtrIntCastPair() 286 case Instruction::IntToPtr: in isAddressExpression() 319 case Instruction::IntToPtr: { in getPointerOperands() 608 case Instruction::IntToPtr: { in cloneInstructionWithNewAddressSpace() 658 if (CE->getOpcode() == Instruction::IntToPtr) { in cloneConstantExprWithNewAddressSpace() 993 if (Op->getOpcode() == Instruction::IntToPtr && in isSafeToCastConstAddrSpace()
|
D | SpeculativeExecution.cpp | 232 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopDetectionDiagnostic.cpp | 76 SCOP_STAT(IntToPtr, "Integer to pointer conversions"), 680 : ReportOther(RejectReasonKind::IntToPtr), BaseValue(BaseValue) {} in ReportIntToPtr() 697 return RR->getKind() == RejectReasonKind::IntToPtr; in classof()
|
/external/llvm-project/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 515 CastInst::IntToPtr, in TEST() 523 CastInst::IntToPtr, in TEST() 531 CastInst::IntToPtr, in TEST() 537 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 544 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 563 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 577 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 581 CastInst::IntToPtr); in TEST()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 170 case Instruction::IntToPtr: in getIntImmCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SpeculativeExecution.cpp | 231 case Instruction::IntToPtr: in ComputeSpeculationCost()
|
/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/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 340 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 491 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 542 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr() 903 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1220 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1244 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1319 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1334 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
/external/llvm-project/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr: in createReplacementInstr()
|
/external/swiftshader/third_party/llvm-10.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/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | ir_emitter.cc | 433 IntToPtr(atomic_memory_address, atomic_address_type); in EmitAtomicOperationUsingCAS() 436 binop_output_address = IntToPtr( in EmitAtomicOperationUsingCAS()
|
/external/llvm-project/lldb/source/Expression/ |
D | IRInterpreter.cpp | 264 case Instruction::IntToPtr: in ResolveConstantValue() 463 case Instruction::IntToPtr: in CanResolveConstant() 570 case Instruction::IntToPtr: in CanInterpret() 1110 case Instruction::IntToPtr: { in Interpret()
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | ConvertFromLLVMIR.cpp | 439 INST(PtrToInt, PtrToInt), INST(IntToPtr, IntToPtr), in lookupOperationNameFromOpcode() 566 case llvm::Instruction::IntToPtr: in processInstruction()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 381 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 535 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 590 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy); in FoldReinterpretLoadFromConstPtr() 946 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1259 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1283 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1358 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCastOperand() 1373 case Instruction::IntToPtr: in ConstantFoldCastOperand()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 212 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|