Home
last modified time | relevance | path

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

123

/external/llvm/unittests/IR/
DInstructionsTest.cpp418 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/
Dproblem_test.cc208 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/
DConstantFolding.cpp391 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()
DMemoryBuiltins.cpp417 if (CE->getOpcode() == Instruction::IntToPtr) in compute()
642 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) || in compute_()
DScalarEvolutionExpander.cpp94 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()
DCostModel.cpp450 case Instruction::IntToPtr: in getInstructionCost()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp26 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal, in createIRTypedAddress()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp170 case Instruction::IntToPtr: in getIntImmCost()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp52 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp118 case Instruction::IntToPtr: in createReplacementInstr()
/external/lldb/source/Expression/
DIRInterpreter.cpp240 case Instruction::IntToPtr: in ResolveConstantValue()
507 case Instruction::IntToPtr: in CanInterpret()
1093 case Instruction::IntToPtr: in Interpret()
/external/llvm/include/llvm/IR/
DConstantFolder.h181 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
DInstruction.def155 HANDLE_CAST_INST(43, IntToPtr, IntToPtrInst) // Integer -> Pointer
DNoFolder.h234 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/external/llvm/lib/IR/
DInstructions.cpp2046 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()
DInstruction.cpp233 case IntToPtr: return "inttoptr"; in getOpcodeName()
DConstants.cpp1235 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/
DTargetFolder.h194 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
DTargetTransformInfoImpl.h72 case Instruction::IntToPtr: { in getOperationCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp109 case Instruction::IntToPtr: in getIntImmCost()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.cpp286 case Instruction::IntToPtr: in GetARCInstKind()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp857 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/
DFastISel.cpp163 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/
Dmsan_basic.ll341 define i8* @IntToPtr(i64 %x) nounwind uwtable readnone sanitize_memory {
347 ; CHECK: @IntToPtr
/external/llvm/lib/AsmParser/
DLLLexer.cpp721 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()

123