| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Operator.h | 597 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 598 friend class PtrToInt; variable
|
| H A D | ConstantFolder.h | 220 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | NoFolder.h | 254 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | Instruction.def | 193 HANDLE_CAST_INST(47, PtrToInt, PtrToIntInst) // Pointer -> Integer
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SpeculativeExecution.cpp | 231 case Instruction::PtrToInt: in ComputeSpeculationCost()
|
| H A D | GVNSink.cpp | 477 case Instruction::PtrToInt: in lookupOrAdd()
|
| H A D | InferAddressSpaces.cpp | 245 if (!P2I || P2I->getOpcode() != Instruction::PtrToInt) in isNoopPtrIntCastPair()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 265 case Instruction::PtrToInt: in ResolveConstantValue() 464 case Instruction::PtrToInt: in CanResolveConstant() 571 case Instruction::PtrToInt: in CanInterpret() 1132 case Instruction::PtrToInt: { in Interpret()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 160 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 192 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 195 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 201 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 1710 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr() 2291 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
|
| H A D | Evaluator.cpp | 90 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 205 return CreateCast(Instruction::PtrToInt, C, DestTy); in CreatePtrToInt()
|
| H A D | TargetTransformInfoImpl.h | 491 case Instruction::PtrToInt: { in getCastInstrCost() 1003 case Instruction::PtrToInt: in getUserCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instructions.cpp | 2722 case Instruction::PtrToInt: in isNoopCast() 2980 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 3002 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create() 3071 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast() 3090 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 3125 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3297 return PtrToInt; // ptr -> int in getCastOpcode() 3397 case Instruction::PtrToInt: in castIsValid() 3559 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst() 3565 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
|
| H A D | Globals.cpp | 456 case Instruction::PtrToInt: in findBaseObject()
|
| H A D | Constants.cpp | 681 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 682 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo() 1546 case Instruction::PtrToInt: in getWithOperands() 2006 case Instruction::PtrToInt: in getCast() 2206 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 3499 case Instruction::PtrToInt: in getAsInstruction()
|
| H A D | Instruction.cpp | 396 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | StackProtector.cpp | 188 case Instruction::PtrToInt: in HasAddressTaken()
|
| H A D | MachineFunction.cpp | 1422 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 1428 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 330 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 390 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1294 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1320 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1377 case Instruction::PtrToInt: in ConstantFoldCastOperand() 1402 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
|
| H A D | CFLGraph.h | 524 case Instruction::PtrToInt: { in visitConstantExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 355 auto *PtrToInt = dyn_cast<PtrToIntInst>(IntToPtr->getOperand(0)); in simplifyIntToPtrRoundTripCast() local 357 if (PtrToInt && in simplifyIntToPtrRoundTripCast() 359 PtrToInt->getSrcTy()->getPointerAddressSpace() && in simplifyIntToPtrRoundTripCast() 360 DL.getPointerTypeSizeInBits(PtrToInt->getSrcTy()) == in simplifyIntToPtrRoundTripCast() 361 DL.getTypeSizeInBits(PtrToInt->getDestTy())) { in simplifyIntToPtrRoundTripCast() 362 return Builder.CreateBitCast(PtrToInt->getOperand(0), CastTy); in simplifyIntToPtrRoundTripCast()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1814 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 1836 if (Cexpr->getOpcode() == Instruction::PtrToInt) { in bufferLEByte() 2053 case Instruction::PtrToInt: { in lowerConstantForGV()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLLexer.cpp | 887 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 620 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZTargetTransformInfo.cpp | 173 case Instruction::PtrToInt: in getIntImmCostInst()
|