Searched refs:GetElementPtrInst (Results 1 - 25 of 55) sorted by relevance

123

/macosx-10.10.1/llvmCore-3425.0.34/unittests/VMCore/
H A DInstructionsTest.cpp165 GetElementPtrInst *Gep0 = GetElementPtrInst::Create(PtrVecA, C2xi32a);
166 GetElementPtrInst *Gep1 = GetElementPtrInst::Create(PtrVecA, C2xi32b);
167 GetElementPtrInst *Gep2 = GetElementPtrInst::Create(PtrVecB, C2xi32a);
168 GetElementPtrInst *Gep3 = GetElementPtrInst::Create(PtrVecB, C2xi32b);
196 GetElementPtrInst *GepII0 = GetElementPtrInst
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DPHITransAddr.cpp27 isa<GetElementPtrInst>(Inst))
39 // if (isa<BitCastInst>(PtrInst) || isa<GetElementPtrInst>(PtrInst))
217 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
243 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(*UI))
400 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
410 GetElementPtrInst *Result =
411 GetElementPtrInst
[all...]
H A DCodeMetrics.cpp63 if (const GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I))
H A DInlineCost.cpp96 bool isGEPOffsetConstant(GetElementPtrInst &GEP);
115 bool visitGetElementPtr(GetElementPtrInst &I);
230 bool CallAnalyzer::isGEPOffsetConstant(GetElementPtrInst &GEP) {
310 bool CallAnalyzer::visitGetElementPtr(GetElementPtrInst &I) {
H A DLoads.cpp42 isa<PHINode>(A) || isa<GetElementPtrInst>(A))
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/
H A DShadowStackGC.cpp66 static GetElementPtrInst *CreateGEP(LLVMContext &Context,
69 static GetElementPtrInst *CreateGEP(LLVMContext &Context,
348 GetElementPtrInst *
356 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
358 return dyn_cast<GetElementPtrInst>(Val);
361 GetElementPtrInst *
368 assert(isa<GetElementPtrInst>(Val) && "Unexpected folded constant");
370 return dyn_cast<GetElementPtrInst>(Val);
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Transforms/Utils/
H A DCloning.cpp129 GetElementPtrInst *GEP = GetElementPtrInst::Create(V, ops);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Transforms/
H A DScalar.h22 class GetElementPtrInst;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp131 GetElementPtrInst *FirstInst =cast<GetElementPtrInst>(PN.getIncomingValue(0));
148 GetElementPtrInst *GEP= dyn_cast<GetElementPtrInst>(PN.getIncomingValue(i));
221 GetElementPtrInst *InGEP =cast<GetElementPtrInst>(PN.getIncomingValue(i));
231 GetElementPtrInst *NewGEP =
232 GetElementPtrInst::Create(Base, makeArrayRef(FixedOperands).slice(1));
279 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(
[all...]
H A DInstCombineLoadStoreAlloca.cpp69 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) {
207 GetElementPtrInst::CreateInBounds(New, Idx, New->getName()+".sub");
388 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Op)) {
570 isa<GetElementPtrInst>(A))
607 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Ptr)) {
H A DInstCombine.h142 Instruction *FoldCmpLoadFromIndexedGlobal(GetElementPtrInst *GEP,
188 Instruction *visitGetElementPtrInst(GetElementPtrInst &GEP);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/IPO/
H A DArgumentPromotion.cpp349 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(V)) {
387 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) {
552 assert(isa<LoadInst>(User) || isa<GetElementPtrInst>(User));
578 Params.push_back(GetElementPtrInst::getIndexedType(I->getType(), *SI));
659 Value *Idx = GetElementPtrInst::Create(*AI, Idxs,
690 V = GetElementPtrInst::Create(V, Ops, V->getName()+".idx", Call);
786 GetElementPtrInst::Create(TheAlloca, Idxs,
821 GetElementPtrInst *GE
[all...]
H A DGlobalOpt.cpp259 } else if (isa<GetElementPtrInst>(I)) {
364 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) {
499 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(U)) {
560 GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I);
580 if (!isa<GetElementPtrInst>(U) &&
745 isa<GetElementPtrInst>(GEP)) && "NonGEP CE's are not SRAable!");
764 GetElementPtrInst *GEP
[all...]
H A DMergeFunctions.cpp182 bool isEquivalentGEP(const GetElementPtrInst *GEP1,
183 const GetElementPtrInst *GEP2) {
426 if (const GetElementPtrInst *GEP1 = dyn_cast<GetElementPtrInst>(F1I)) {
427 const GetElementPtrInst *GEP2 = dyn_cast<GetElementPtrInst>(F2I);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DOperator.h24 class GetElementPtrInst;
258 friend class GetElementPtrInst;
H A DInstructions.h698 // GetElementPtrInst Class
705 assert(Ty && "Invalid GetElementPtrInst indices for type!");
709 /// GetElementPtrInst - an instruction for type-safe pointer arithmetic to
712 class GetElementPtrInst : public Instruction { class in namespace:llvm
713 GetElementPtrInst(const GetElementPtrInst &GEPI);
720 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
723 inline GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList,
727 virtual GetElementPtrInst *clone_impl() const;
729 static GetElementPtrInst *Creat
866 GetElementPtrInst::GetElementPtrInst(Value *Ptr, function in class:llvm::GetElementPtrInst
877 GetElementPtrInst::GetElementPtrInst(Value *Ptr, function in class:llvm::GetElementPtrInst
[all...]
H A DIRBuilder.h866 return Insert(GetElementPtrInst::Create(Ptr, IdxList), Name);
879 return Insert(GetElementPtrInst::CreateInBounds(Ptr, IdxList), Name);
885 return Insert(GetElementPtrInst::Create(Ptr, Idx), Name);
891 return Insert(GetElementPtrInst::CreateInBounds(Ptr, Idx), Name);
899 return Insert(GetElementPtrInst::Create(Ptr, Idx), Name);
908 return Insert(GetElementPtrInst::CreateInBounds(Ptr, Idx), Name);
920 return Insert(GetElementPtrInst::Create(Ptr, Idxs), Name);
932 return Insert(GetElementPtrInst::CreateInBounds(Ptr, Idxs), Name);
940 return Insert(GetElementPtrInst::Create(Ptr, Idx), Name);
949 return Insert(GetElementPtrInst
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DCodeExtractor.cpp365 GetElementPtrInst *GEP =
366 GetElementPtrInst::Create(AI, Idx, "gep_" + inputs[i]->getName(), TI);
467 GetElementPtrInst *GEP =
468 GetElementPtrInst::Create(Struct, Idx,
493 GetElementPtrInst *GEP
494 = GetElementPtrInst::Create(Struct, Idx,
608 GetElementPtrInst *GEP =
609 GetElementPtrInst::Create(OAI, Idx,
H A DLowerInvoke.cpp440 OldJmpBufPtr = GetElementPtrInst::Create(JmpBuf, Idx, "OldBuf",
487 Value *JmpBufPtr = GetElementPtrInst::Create(JmpBuf, Idx, "TheJmpBuf",
541 Idx[0] = GetElementPtrInst::Create(BufPtr, Idx, "JmpBuf", UnwindBlock);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp156 void isSafeGEP(GetElementPtrInst *GEPI, uint64_t &Offset, AllocaInfo &Info);
172 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset,
503 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) {
608 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(User)) {
1606 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(User)) {
1673 } else if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(Use
[all...]
H A DEarlyCSE.cpp65 isa<GetElementPtrInst>(Inst) || isa<CmpInst>(Inst) ||
114 isa<BinaryOperator>(Inst) || isa<GetElementPtrInst>(Inst) ||
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DNoFolder.h192 return GetElementPtrInst::Create(C, IdxList);
207 return GetElementPtrInst::CreateInBounds(C, IdxList);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp180 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Addr))
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h152 void visitGetElementPtrInst(GetElementPtrInst &I);
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DInstructions.cpp1307 // GetElementPtrInst Implementation
1310 void GetElementPtrInst::init(Value *Ptr, ArrayRef<Value *> IdxList,
1318 GetElementPtrInst::GetElementPtrInst(const GetElementPtrInst &GEPI) function in class:GetElementPtrInst
1320 OperandTraits<GetElementPtrInst>::op_end(this)
1371 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<Value *> IdxList) {
1375 Type *GetElementPtrInst::getIndexedType(Type *Ptr,
1380 Type *GetElementPtrInst::getIndexedType(Type *Ptr, ArrayRef<uint64_t> IdxList) {
1384 unsigned GetElementPtrInst
[all...]

Completed in 249 milliseconds

123