Home
last modified time | relevance | path

Searched refs:PtrToInt (Results 1 – 25 of 97) sorted by relevance

1234

/external/llvm/unittests/IR/
DInstructionsTest.cpp421 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
429 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
437 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST()
445 CastInst::PtrToInt, in TEST()
452 CastInst::PtrToInt, in TEST()
478 CastInst::PtrToInt, in TEST()
/external/llvm/test/Transforms/SafeStack/
Dcast.ll6 ; PtrToInt/IntToPtr Cast
/external/llvm/include/llvm/IR/
DOperator.h455 : public ConcreteOperator<Operator, Instruction::PtrToInt> {
456 friend class PtrToInt; variable
DConstantFolder.h184 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h237 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DInstruction.def170 HANDLE_CAST_INST(45, PtrToInt, PtrToIntInst) // Pointer -> Integer
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DAddrModeMatcher.cpp130 case Instruction::PtrToInt: in MightBeFoldableInst()
159 case Instruction::PtrToInt: in MatchOperationAddr()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp171 case Instruction::PtrToInt: in getIntImmCost()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp196 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
839 case Instruction::PtrToInt: in ConstantFoldInstOperands()
864 CE->getOpcode() == Instruction::PtrToInt) in ConstantFoldInstOperands()
928 if (CE0->getOpcode() == Instruction::PtrToInt && in ConstantFoldCompareInstOperands()
952 if ((CE0->getOpcode() == Instruction::PtrToInt && in ConstantFoldCompareInstOperands()
DScalarEvolutionExpander.cpp69 Op == Instruction::PtrToInt || in InsertNoopCastOfTo()
80 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo()
83 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
89 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
/external/llvm/lib/Analysis/
DConstantFolding.cpp256 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal()
521 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast()
1116 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1142 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
1187 case Instruction::PtrToInt: in ConstantFoldCastOperand()
1212 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
DCostModel.cpp444 case Instruction::PtrToInt: in getInstructionCost()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp117 case Instruction::PtrToInt: in createReplacementInstr()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h177 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DTargetFolder.h189 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DNoFolder.h224 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
DPatternMatch.h549 inline CastClass_match<OpTy, Instruction::PtrToInt>
551 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
/external/llvm/lib/IR/
DInstructions.cpp2387 case Instruction::PtrToInt: in isNoopCast()
2403 if (getOpcode() == Instruction::PtrToInt) in isNoopCast()
2660 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2682 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2750 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2768 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2803 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast()
3030 return PtrToInt; // ptr -> int in getCastOpcode()
3131 case Instruction::PtrToInt: in castIsValid()
3308 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2059 case Instruction::PtrToInt: in isNoopCast()
2262 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create()
2285 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create()
2350 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast()
2363 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast()
2540 return PtrToInt; // ptr -> int in getCastOpcode()
2647 case Instruction::PtrToInt: in castIsValid()
2773 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst()
2779 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
DConstants.cpp256 LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo()
257 RHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo()
813 case Instruction::PtrToInt: in getWithOperandReplaced()
881 case Instruction::PtrToInt: in getWithOperands()
1249 case Instruction::PtrToInt: return getPtrToInt(C, Ty); in getCast()
1421 return getFoldedCast(Instruction::PtrToInt, C, DstTy); in getPtrToInt()
DInstruction.cpp147 case PtrToInt: return "ptrtoint"; in getOpcodeName()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstruction.def155 HANDLE_CAST_INST(43, PtrToInt, PtrToIntInst) // Pointer -> Integer
/external/llvm/include/llvm/Analysis/
DTargetFolder.h197 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
/external/llvm/lib/CodeGen/
DMachineFunction.cpp935 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
941 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp702 case Instruction::PtrToInt: in printCast()
733 case Instruction::PtrToInt: in printCast()
763 case Instruction::PtrToInt: in printConstant()
778 CE->getOpcode() == Instruction::PtrToInt)) { in printConstant()
1155 case Instruction::PtrToInt: in printConstExprCast()
2713 I.getOpcode() == Instruction::PtrToInt)) { in visitCastInst()

1234