| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A D | InstructionsTest.cpp | 415 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 423 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 431 EXPECT_EQ(CastInst::isEliminableCastPair(CastInst::PtrToInt, in TEST() 439 CastInst::PtrToInt, in TEST() 446 CastInst::PtrToInt, in TEST() 472 CastInst::PtrToInt, in TEST()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | Operator.h | 481 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 482 friend class PtrToInt; variable
|
| H A D | ConstantFolder.h | 183 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | Instruction.def | 154 HANDLE_CAST_INST(42, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
| H A D | NoFolder.h | 236 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | PatternMatch.h | 792 inline CastClass_match<OpTy, Instruction::PtrToInt> m_PtrToInt(const OpTy &Op) { in m_PtrToInt() 793 return CastClass_match<OpTy, Instruction::PtrToInt>(Op); in m_PtrToInt()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 251 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 509 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1039 case Instruction::PtrToInt: in ConstantFoldInstOperands() 1064 if (TD && CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldInstOperands() 1139 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1165 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands()
|
| H A D | ScalarEvolutionExpander.cpp | 91 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 107 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 110 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 116 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo()
|
| H A D | CostModel.cpp | 448 case Instruction::PtrToInt: in getInstructionCost()
|
| H A D | TargetTransformInfo.cpp | 316 case Instruction::PtrToInt: { in getOperationCost()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreLowerThreadLocal.cpp | 116 case Instruction::PtrToInt: in createReplacementInstr()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2146 case Instruction::PtrToInt: in isNoopCast() 2167 if (getOpcode() == Instruction::PtrToInt) in isNoopCast() 2420 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 2442 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create() 2510 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast() 2528 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 2563 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 2796 return PtrToInt; // ptr -> int in getCastOpcode() 2901 case Instruction::PtrToInt: in castIsValid() 3078 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst() [all …]
|
| H A D | Instruction.cpp | 234 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
| H A D | Constants.cpp | 437 LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 438 RHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 1232 case Instruction::PtrToInt: in getWithOperands() 1592 case Instruction::PtrToInt: in getCast() 1792 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 2937 case Instruction::PtrToInt: in getAsInstruction()
|
| H A D | AutoUpgrade.cpp | 613 Temp = CastInst::Create(Instruction::PtrToInt, V, MidTy); in UpgradeBitCastInst()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 196 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A D | MachineFunction.cpp | 909 A = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry() 915 B = ConstantFoldInstOperands(Instruction::PtrToInt, IntTy, in CanShareConstantPoolEntry()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/R600/ |
| H A D | AMDGPUPromoteAlloca.cpp | 249 if (UseInst && UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 236 case Instruction::PtrToInt: in getIntImmCost()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/CppBackend/ |
| H A D | CPPBackend.cpp | 853 case Instruction::PtrToInt: Out << "Instruction::PtrToInt"; break; in printConstant() 1404 case Instruction::PtrToInt: in printInstruction() 1419 case Instruction::PtrToInt: Out << "PtrToIntInst"; break; in printInstruction()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 713 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1779 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 1801 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 161 I->getOpcode() == Instruction::PtrToInt || in hasTrivialKill() 1552 case Instruction::PtrToInt: { in selectOperator()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 1221 case Instruction::PtrToInt: in buildTree_rec() 1514 case Instruction::PtrToInt: in getEntryCost() 2029 case Instruction::PtrToInt: in vectorizeTree()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 649 case Instruction::PtrToInt: in X86SelectAddress() 825 case Instruction::PtrToInt: in X86SelectCallAddress() 3048 case Instruction::PtrToInt: { in fastSelectInstruction()
|