Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/llvm/unittests/IR/
H A DInstructionsTest.cpp416 CastInst::IntToPtr, in TEST()
424 CastInst::IntToPtr, in TEST()
432 CastInst::IntToPtr, in TEST()
438 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
445 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
464 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
478 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::IntToPtr, in TEST()
482 CastInst::IntToPtr); in TEST()
/minix3/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp392 if (CE->getOpcode() == Instruction::IntToPtr && in ReadDataFromGlobal()
507 Cast = Instruction::IntToPtr; in ConstantFoldLoadThroughBitcast()
802 if (CE->getOpcode() == Instruction::IntToPtr) { in SymbolicallyEvaluateGEP()
1043 if (TD && CE->getOpcode() == Instruction::IntToPtr) { in ConstantFoldInstOperands()
1058 case Instruction::IntToPtr: in ConstantFoldInstOperands()
1127 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
1151 if (CE0->getOpcode() == Instruction::IntToPtr) { in ConstantFoldCompareInstOperands()
H A DMemoryBuiltins.cpp437 if (CE->getOpcode() == Instruction::IntToPtr) in compute()
663 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) || in compute_()
H A DScalarEvolutionExpander.cpp92 Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
107 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
111 CI->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
117 CE->getOpcode() == Instruction::IntToPtr) && in InsertNoopCastOfTo()
H A DCostModel.cpp449 case Instruction::IntToPtr: in getInstructionCost()
H A DTargetTransformInfo.cpp302 case Instruction::IntToPtr: { in getOperationCost()
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp224 case Instruction::IntToPtr: case Instruction::FCmp: in GetInstructionClass()
/minix3/external/bsd/llvm/dist/llvm/unittests/Linker/
H A DLinkModulesTest.cpp52 Constant *OnePtr = ConstantExpr::getCast(Instruction::IntToPtr, One, in SetUp()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp117 case Instruction::IntToPtr: in createReplacementInstr()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DConstantFolder.h180 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
H A DInstruction.def155 HANDLE_CAST_INST(43, IntToPtr, IntToPtrInst) // Integer -> Pointer
H A DNoFolder.h233 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h193 return CreateCast(Instruction::IntToPtr, C, DestTy); in CreateIntToPtr()
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstructions.cpp2149 case Instruction::IntToPtr: in isNoopCast()
2169 else if (getOpcode() == Instruction::IntToPtr) in isNoopCast()
2421 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore); in Create()
2443 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd); in Create()
2565 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
2828 return IntToPtr; // int -> ptr in getCastOpcode()
2909 case Instruction::IntToPtr: in castIsValid()
3090 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) { in IntToPtrInst()
3096 ) : CastInst(Ty, IntToPtr, S, Name, InsertAtEnd) { in IntToPtrInst()
H A DInstruction.cpp233 case IntToPtr: return "inttoptr"; in getOpcodeName()
H A DAutoUpgrade.cpp615 return CastInst::Create(Instruction::IntToPtr, Temp, DestTy); in UpgradeBitCastInst()
H A DConstants.cpp1233 case Instruction::IntToPtr: in getWithOperands()
1594 case Instruction::IntToPtr: in getCast()
1805 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced); in getIntToPtr()
2938 case Instruction::IntToPtr: in getAsInstruction()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp235 case Instruction::IntToPtr: in getIntImmCost()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp854 case Instruction::IntToPtr: Out << "Instruction::IntToPtr"; break; in printConstant()
1405 case Instruction::IntToPtr: in printInstruction()
1420 case Instruction::IntToPtr: Out << "IntToPtrInst"; break; in printInstruction()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp162 I->getOpcode() == Instruction::IntToPtr) && in hasTrivialKill()
765 if (C->getOpcode() == Instruction::IntToPtr) in selectPatchpoint()
1551 case Instruction::IntToPtr: // Deliberate fall-through. in selectOperator()
/minix3/external/bsd/llvm/dist/llvm/lib/AsmParser/
H A DLLLexer.cpp712 INSTKEYWORD(inttoptr, IntToPtr); in LexIdentifier()
/minix3/external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/
H A Dmsan_basic.ll341 define i8* @IntToPtr(i64 %x) nounwind uwtable readnone sanitize_memory {
347 ; CHECK: @IntToPtr
/minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1222 case Instruction::IntToPtr: in buildTree_rec()
1515 case Instruction::IntToPtr: in getEntryCost()
2030 case Instruction::IntToPtr: in vectorizeTree()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86FastISel.cpp643 case Instruction::IntToPtr: in X86SelectAddress()
818 case Instruction::IntToPtr: in X86SelectCallAddress()
3047 case Instruction::IntToPtr: // Deliberate fall-through. in fastSelectInstruction()
/minix3/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp656 case Instruction::IntToPtr: { in getConstantValue()

123