/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 421 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/ |
D | cast.ll | 6 ; PtrToInt/IntToPtr Cast
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 455 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 456 friend class PtrToInt; variable
|
D | ConstantFolder.h | 184 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
D | NoFolder.h | 237 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
D | Instruction.def | 170 HANDLE_CAST_INST(45, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | AddrModeMatcher.cpp | 130 case Instruction::PtrToInt: in MightBeFoldableInst() 159 case Instruction::PtrToInt: in MatchOperationAddr()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 171 case Instruction::PtrToInt: in getIntImmCost()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ConstantFolding.cpp | 196 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()
|
D | ScalarEvolutionExpander.cpp | 69 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/ |
D | ConstantFolding.cpp | 256 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()
|
D | CostModel.cpp | 444 case Instruction::PtrToInt: in getInstructionCost()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreLowerThreadLocal.cpp | 117 case Instruction::PtrToInt: in createReplacementInstr()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | ConstantFolder.h | 177 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
D | TargetFolder.h | 189 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
D | NoFolder.h | 224 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
D | PatternMatch.h | 549 inline CastClass_match<OpTy, Instruction::PtrToInt> 551 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 2387 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/ |
D | Instructions.cpp | 2059 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()
|
D | Constants.cpp | 256 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()
|
D | Instruction.cpp | 147 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instruction.def | 155 HANDLE_CAST_INST(43, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 197 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
/external/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 935 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 941 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/ |
D | CBackend.cpp | 702 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()
|