Searched defs:PtrTy (Results 1 - 25 of 27) sorted by relevance

12

/external/llvm/lib/CodeGen/
H A DStackProtector.cpp279 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); local
286 PointerType::get(PtrTy,
289 StackGuardVar = M->getOrInsertGlobal("__guard_local", PtrTy);
293 StackGuardVar = M->getOrInsertGlobal("__stack_chk_guard", PtrTy);
299 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt);
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelDAGToDAG.cpp477 EVT PtrTy = getTargetLowering()->getPointerTy(); local
478 SDValue TFI = CurDAG->getTargetFrameIndex(FI, PtrTy);
479 return CurDAG->SelectNodeTo(Node, AArch64::ADDxxi_lsl0_s, PtrTy,
480 TFI, CurDAG->getTargetConstant(0, PtrTy));
H A DAArch64ISelLowering.cpp973 EVT PtrTy = getPointerTy(); local
980 SDValue FrameIdxN = DAG.getFrameIndex(FrameIdx, PtrTy);
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp163 Type *PtrTy = Ty->getPointerTo(); local
167 AtomicLoadName, Ty, PtrTy, OrdTy, NULL));
172 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy,
197 RMWName, Ty, PtrTy, Ty, OrdTy, NULL));
203 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, NULL));
506 Type *PtrTy = Ty->getPointerTo(); local
507 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
521 Type *PtrTy = Ty->getPointerTo(); local
522 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy),
539 Type *PtrTy local
553 Type *PtrTy = Ty->getPointerTo(); local
[all...]
H A DAddressSanitizer.cpp935 PointerType *PtrTy = cast<PointerType>(G->getType()); local
936 Type *Ty = PtrTy->getElementType();
/external/llvm/lib/Target/R600/
H A DR600ISelLowering.cpp1262 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local
1269 MachinePointerInfo(UndefValue::get(PtrTy)), false,
H A DSIISelLowering.cpp113 PointerType *PtrTy = PointerType::get(VT.getTypeForEVT(*DAG.getContext()), local
121 MachinePointerInfo(UndefValue::get(PtrTy)),
/external/clang/lib/CodeGen/
H A DCGBuiltin.cpp1068 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); local
1070 PtrTy->castAs<PointerType>()->getPointeeType().isVolatileQualified();
1154 QualType PtrTy = E->getArg(0)->IgnoreImpCasts()->getType(); local
1156 PtrTy->castAs<PointerType>()->getPointeeType().isVolatileQualified();
2888 llvm::Type *PtrTy = Int8PtrTy; local
2893 Builder.CreateBitCast(Tmp, PtrTy));
2896 llvm::Type *PtrTy = Int8PtrTy; local
2900 Builder.CreateBitCast(Tmp, PtrTy));
2905 llvm::Type *PtrTy = llvm::PointerType::getUnqual(Int64Ty); local
2917 Ops[0] = Builder.CreateBitCast(Ops[0], PtrTy);
[all...]
H A DCGException.cpp997 llvm::Type *PtrTy = local
1001 llvm::Value *ExnPtrTmp = CGF.CreateTempAlloca(PtrTy, "exn.byref.tmp");
1002 llvm::Value *Casted = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy);
1047 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local
1048 llvm::Value *Cast = CGF.Builder.CreateBitCast(AdjustedExn, PtrTy);
1071 llvm::Type *PtrTy = LLVMCatchTy->getPointerTo(0); // addrspace 0 ok local
1078 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy);
1089 llvm::Value *adjustedExn = CGF.Builder.CreateBitCast(rawAdjustedExn, PtrTy);
H A DCGExprAgg.cpp569 QualType PtrTy = CGF.getContext().getPointerType(Ty); local
571 CGF.ConvertType(PtrTy));
H A DCGExpr.cpp2404 QualType PtrTy = BaseExpr->getType()->getPointeeType(); local
2405 EmitTypeCheck(TCK_MemberAccess, E->getExprLoc(), Ptr, PtrTy);
2406 BaseLV = MakeNaturalAlignAddrLValue(Ptr, PtrTy);
2449 llvm::Type *PtrTy = llvm::Type::getIntNPtrTy( local
2452 if (Addr->getType() != PtrTy)
2453 Addr = Builder.CreateBitCast(Addr, PtrTy);
H A DCGObjCGNU.cpp144 llvm::PointerType *PtrTy; member in class:__anon15214::CGObjCGNU
716 llvm::StructType *SlotStructTy = llvm::StructType::get(PtrTy,
717 PtrTy, PtrTy, IntTy, IMPTy, NULL);
729 EnterCatchFn.init(&CGM, "__cxa_begin_catch", PtrTy, PtrTy, NULL);
734 PtrTy, NULL);
738 EnterCatchFn.init(&CGM, "objc_begin_catch", IdTy, PtrTy, NULL);
743 PtrTy, NULL);
756 CxxAtomicObjectSetFn.init(&CGM, "objc_setCppObjectAtomic", VoidTy, PtrTy,
[all...]
H A DCGObjCMac.cpp4691 llvm::Type *PtrTy = CGM.Int8PtrTy; local
4696 CGM.getTypes().getDataLayout().getTypeAllocSize(PtrTy);
4835 llvm::Type *PtrTy = CGM.Int8PtrTy; local
4838 return llvm::Constant::getNullValue(PtrTy);
4856 return llvm::Constant::getNullValue(PtrTy);
4863 return llvm::Constant::getNullValue(PtrTy);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCStringChecker.cpp348 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); local
374 SVal BufStart = svalBuilder.evalCast(BufVal, PtrTy, FirstBuf->getType());
379 LastOffset, PtrTy);
394 BufStart = svalBuilder.evalCast(BufVal, PtrTy, SecondBuf->getType());
399 LastOffset, PtrTy);
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp2721 PointerType *PtrTy = dyn_cast<PointerType>(Ops[0]->getType()); local
2723 if (!PtrTy)
2732 Type *LastType = GetElementPtrInst::getIndexedType(PtrTy, Ops.slice(1));
2733 Type *GEPTy = PointerType::get(LastType, PtrTy->getAddressSpace());
2744 Type *Ty = PtrTy->getElementType();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2117 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); local
2118 if (!PtrTy)
2120 OpTy = PtrTy->getElementType();
H A DLegalizeIntegerTypes.cpp2308 Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext()); local
2340 Entry.Ty = PtrTy->getPointerTo();
H A DSelectionDAGBuilder.cpp5020 EVT PtrTy = TLI->getPointerTy(); local
5028 SDValue FIN = DAG.getFrameIndex(FI, PtrTy);
5721 llvm::PointerType *PtrTy = dyn_cast<PointerType>(OpTy); local
5722 if (!PtrTy)
5724 OpTy = PtrTy->getElementType();
/external/llvm/lib/Target/X86/
H A DX86FastISel.cpp1645 EVT PtrTy = TLI.getPointerTy(); local
1653 if (!X86FastEmitStore(PtrTy, Op1, AM)) return false;
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp505 PointerType* PtrTy = dyn_cast<PointerType>(GEP->getPointerOperandType()); local
506 if (!PtrTy)
513 if (!isa<VectorType>(PtrTy->getElementType()))
523 uint64_t GEPOffset = TD.getIndexedOffset(PtrTy,
/external/llvm/include/llvm/IR/
H A DInstructions.h816 Type *PtrTy = PointerType::get(checkGEPType( local
822 return VectorType::get(PtrTy, NumElem);
826 return PtrTy;
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c368 CAMLprim value llvm_address_space(LLVMTypeRef PtrTy) { argument
369 return Val_int(LLVMGetPointerAddressSpace(PtrTy));
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp1554 IntegerType *PtrTy = Type::getIntNTy(*DAG.getContext(), PtrSize); local
1561 Entry.Ty = PtrTy;
1564 TargetLowering::CallLoweringInfo CLI(DAG.getEntryNode(), PtrTy,
3361 EVT PtrTy = getPointerTy(); local
3363 SDValue FIN = DAG.getFrameIndex(FI, PtrTy);
3377 SDValue StorePtr = DAG.getNode(ISD::ADD, DL, PtrTy, FIN,
3378 DAG.getConstant(Offset, PtrTy));
3398 EVT PtrTy = getPointerTy(), RegTy = MVT::getIntegerVT(RegSize * 8); local
3407 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg,
3408 DAG.getConstant(Offset, PtrTy));
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3244 const PointerType *PtrTy = cast<PointerType>(Ty); local
3245 if (PtrTy->getElementType()->isAggregateType()) {
3274 bool IsInAddressSpaceZero = PtrTy->getAddressSpace() == 0;
3292 int64_t Size = DL->getTypeAllocSize(PtrTy->getElementType());
4577 Type *PtrTy = ToVectorTy(Ptr->getType(), VF);
4580 Cost += TTI.getVectorInstrCost(Instruction::ExtractElement, PtrTy, i);
4590 Cost += VF * TTI.getAddressComputationCost(PtrTy, IsComplexComputation);
/external/clang/lib/AST/
H A DASTContext.cpp4193 QualType PtrTy = getPointerType(PrettyArrayType->getElementType()); local
4196 return getQualifiedType(PtrTy, PrettyArrayType->getIndexTypeQualifiers());

Completed in 603 milliseconds

12