/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/ |
H A D | basetsd.d | 88 int PtrToInt(void* p) { return(cast(int) cast(INT_PTR) p); } in version() 113 int PtrToInt(const(void)* p) { return cast(int) p; } in PtrToInt() function
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | ReplaceConstant.cpp | 60 case Instruction::PtrToInt: in createReplacementInstr()
|
H A D | Instructions.cpp | 2708 case Instruction::PtrToInt: in isNoopCast() 2960 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertBefore); in Create() 2982 case PtrToInt: return new PtrToIntInst (S, Ty, Name, InsertAtEnd); in Create() 3051 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); in CreatePointerCast() 3070 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreatePointerCast() 3105 return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore); in CreateBitOrPointerCast() 3277 return PtrToInt; // ptr -> int in getCastOpcode() 3377 case Instruction::PtrToInt: in castIsValid() 3539 ) : CastInst(Ty, PtrToInt, S, Name, InsertBefore) { in PtrToIntInst() 3545 ) : CastInst(Ty, PtrToInt, S, Name, InsertAtEnd) { in PtrToIntInst()
|
H A D | Globals.cpp | 456 case Instruction::PtrToInt: in findBaseObject()
|
H A D | Constants.cpp | 679 if (LHS && RHS && LHS->getOpcode() == Instruction::PtrToInt && in getRelocationInfo() 680 RHS->getOpcode() == Instruction::PtrToInt) { in getRelocationInfo() 1544 case Instruction::PtrToInt: in getWithOperands() 2004 case Instruction::PtrToInt: in getCast() 2204 return getFoldedCast(Instruction::PtrToInt, C, DstTy, OnlyIfReduced); in getPtrToInt() 3497 case Instruction::PtrToInt: in getAsInstruction()
|
H A D | Instruction.cpp | 375 case PtrToInt: return "ptrtoint"; in getOpcodeName()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | Operator.h | 588 : public ConcreteOperator<Operator, Instruction::PtrToInt> { 589 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
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 154 Op == Instruction::PtrToInt || in InsertNoopCastOfTo() 186 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) && in InsertNoopCastOfTo() 189 if ((CI->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 195 if ((CE->getOpcode() == Instruction::PtrToInt || in InsertNoopCastOfTo() 1696 return ReuseOrCreateCast(V, S->getType(), CastInst::PtrToInt, in visitPtrToIntExpr() 2275 Cost = CastCost(Instruction::PtrToInt); in costAndCollectOperands()
|
H A D | Evaluator.cpp | 90 case Instruction::PtrToInt: in isSimpleEnoughValueToCommitHelper()
|
/netbsd-src/external/apache2/llvm/dist/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() 1000 case Instruction::PtrToInt: in getUserCost()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 325 if (CE->getOpcode() == Instruction::PtrToInt || in IsConstantOffsetFromGlobal() 385 Cast = Instruction::PtrToInt; in ConstantFoldLoadThroughBitcast() 1256 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1282 if (CE0->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCompareInstOperands() 1339 case Instruction::PtrToInt: in ConstantFoldCastOperand() 1364 if (CE->getOpcode() == Instruction::PtrToInt) { in ConstantFoldCastOperand()
|
H A D | CFLGraph.h | 524 case Instruction::PtrToInt: { in visitConstantExpr()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | StackProtector.cpp | 188 case Instruction::PtrToInt: in HasAddressTaken()
|
H A D | MachineFunction.cpp | 1186 A = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry() 1192 B = ConstantFoldCastOperand(Instruction::PtrToInt, in CanShareConstantPoolEntry()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 886 INSTKEYWORD(ptrtoint, PtrToInt); in LexIdentifier()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPromoteAlloca.cpp | 620 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 173 case Instruction::PtrToInt: in getIntImmCostInst()
|