| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | TypeMetadataUtils.cpp | 171 case Instruction::PtrToInt: in getPointerAtOffset() 205 if (!PtrExpr || PtrExpr->getOpcode() != Instruction::PtrToInt) in replaceRelativePointerUsersWithZero()
|
| H A D | ConstantFolding.cpp | 322 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 377 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1247 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1273 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1416 case Instruction::PtrToInt: in ConstantFoldCastOperand() 1464 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Operator.h | 518 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 519 friend class PtrToInt; variable
|
| H A D | NoFolder.h | 146 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | ConstantFolder.h | 209 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | Instruction.def | 193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
| H A D | VPIntrinsics.def | 415 HELPER_REGISTER_INT_CAST_VP(ptrtoint, VP_PTRTOINT, PtrToInt)
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 231 case Instruction::PtrToInt: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 484 case Instruction::PtrToInt: in lookupOrAdd()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ReturnProtectorLowering.cpp | 83 case Instruction::PtrToInt: in hasAddressTaken()
|
| H A D | StackProtector.cpp | 192 case Instruction::PtrToInt: in HasAddressTaken()
|
| H A D | MachineFunction.cpp | 1425 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 1431 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 291 case Instruction::PtrToInt: in ResolveConstantValue() 491 case Instruction::PtrToInt: in CanResolveConstant() 613 case Instruction::PtrToInt: in CanInterpret() 1203 case Instruction::PtrToInt: { in Interpret()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 217 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | TargetTransformInfoImpl.h | 545 case Instruction::PtrToInt: { in getCastInstrCost() 1101 case Instruction::PtrToInt: in getInstructionCost()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 159 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 191 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 194 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 200 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 1674 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr() 2129 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
|
| H A D | Evaluator.cpp | 88 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Instructions.cpp | 3108 case Instruction::PtrToInt: in isNoopCast() 3368 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 3390 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create() 3459 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast() 3478 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 3513 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3685 return PtrToInt; // ptr -> int in getCastOpcode() 3785 case Instruction::PtrToInt: in castIsValid() 3947 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst() 3953 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
|
| H A D | Globals.cpp | 348 case Instruction::PtrToInt: in findBaseObject()
|
| H A D | Constants.cpp | 640 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 641 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo() 1483 case Instruction::PtrToInt: in getWithOperands() 2001 case Instruction::PtrToInt: in getCast() 2212 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 3437 case Instruction::PtrToInt: in getAsInstruction()
|
| H A D | Instruction.cpp | 455 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 375 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() local 377 if (PtrToInt && in simplifyIntToPtrRoundTripCast() 379 PtrToInt->getSrcTy()->getPointerAddressSpace() && in simplifyIntToPtrRoundTripCast() 380 DL.getTypeSizeInBits(PtrToInt->getSrcTy()) == in simplifyIntToPtrRoundTripCast() 381 DL.getTypeSizeInBits(PtrToInt->getDestTy())) { in simplifyIntToPtrRoundTripCast() 382 return CastInst::CreateBitOrPointerCast(PtrToInt->getOperand(0), CastTy, in simplifyIntToPtrRoundTripCast() 383 "", PtrToInt); in simplifyIntToPtrRoundTripCast()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1833 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 2030 case Instruction::PtrToInt: { in lowerConstantForGV()
|
| /openbsd-src/gnu/llvm/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 854 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 209 case Instruction::PtrToInt: in getIntImmCostInst()
|