/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 418 CastInst::IntToPtr, in TEST() 426 CastInst::IntToPtr, in TEST() 434 CastInst::IntToPtr, in TEST() 440 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 447 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 466 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 480 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST() 484 CastInst::IntToPtr); in TEST()
|
/external/ceres-solver/internal/ceres/ |
D | problem_test.cc | 208 static double *IntToPtr(int i) { in IntToPtr() function 224 problem.AddParameterBlock(IntToPtr(5), 5); // x in TEST() 225 problem.AddParameterBlock(IntToPtr(13), 3); // y in TEST() 227 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 2), in TEST() 229 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 3), in TEST() 231 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 4), 9), in TEST() 233 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr( 8), 3), in TEST() 235 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr(12), 2), in TEST() 237 EXPECT_DEATH_IF_SUPPORTED(problem.AddParameterBlock(IntToPtr(14), 3), in TEST() 241 problem.AddParameterBlock(IntToPtr( 2), 3); in TEST() [all …]
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 391 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal() 503 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast() 793 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP() 1033 if (CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldInstOperands() 1048 case Instruction::IntToPtr: in ConstantFoldInstOperands() 1118 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands() 1142 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
|
D | MemoryBuiltins.cpp | 417 if (CE->getOpcode() == Instruction::IntToPtr) in compute() 642 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) || in compute_()
|
D | ScalarEvolutionExpander.cpp | 94 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 109 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 113 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo() 119 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
|
D | CostModel.cpp | 450 case Instruction::IntToPtr: in getInstructionCost()
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | IndirectionUtils.cpp | 26 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 170 case Instruction::IntToPtr: in getIntImmCost()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 52 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 118 case Instruction::IntToPtr: in createReplacementInstr()
|
/external/lldb/source/Expression/ |
D | IRInterpreter.cpp | 240 case Instruction::IntToPtr: in ResolveConstantValue() 507 case Instruction::IntToPtr: in CanInterpret() 1093 case Instruction::IntToPtr: in Interpret()
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 181 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
D | Instruction.def | 155 HANDLE_CAST_INST(43, IntToPtr, IntToPtrInst) // Integer -> Pointer
|
D | NoFolder.h | 234 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2046 case Instruction::IntToPtr: in isNoopCast() 2061 else if (getOpcode() == Instruction::IntToPtr) in isNoopCast() 2312 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create() 2334 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create() 2456 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 2713 return IntToPtr; // int -> ptr in getCastOpcode() 2790 case Instruction::IntToPtr: in castIsValid() 2971 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst() 2977 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
|
D | Instruction.cpp | 233 case IntToPtr: return "inttoptr"; in getOpcodeName()
|
D | Constants.cpp | 1235 case Instruction::IntToPtr: in getWithOperands() 1596 case Instruction::IntToPtr: in getCast() 1807 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr() 2989 case Instruction::IntToPtr: in getAsInstruction()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 194 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
|
D | TargetTransformInfoImpl.h | 72 case Instruction::IntToPtr: { in getOperationCost()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetTransformInfo.cpp | 109 case Instruction::IntToPtr: in getIntImmCost()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCInstKind.cpp | 286 case Instruction::IntToPtr: in GetARCInstKind()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 857 case Instruction::IntToPtr: Out << "Instruction::IntToPtr"; break; in printConstant() 1408 case Instruction::IntToPtr: in printInstruction() 1423 case Instruction::IntToPtr: Out << "IntToPtrInst"; break; in printInstruction()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 163 I->getOpcode() == Instruction::IntToPtr) && in hasTrivialKill() 766 if (C->getOpcode() == Instruction::IntToPtr) in selectPatchpoint() 1562 case Instruction::IntToPtr: // Deliberate fall-through. in selectOperator()
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | msan_basic.ll | 341 define i8* @IntToPtr(i64 %x) nounwind uwtable readnone sanitize_memory { 347 ; CHECK: @IntToPtr
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 721 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()
|